Struct google_api_proto::google::cloud::compute::v1::InterconnectAttachmentConfigurationConstraints
source · pub struct InterconnectAttachmentConfigurationConstraints {
pub bgp_md5: Option<String>,
pub bgp_peer_asn_ranges: Vec<InterconnectAttachmentConfigurationConstraintsBgpPeerAsnRange>,
}
Expand description
Fields§
§bgp_md5: Option<String>
[Output Only] Whether the attachment’s BGP session requires/allows/disallows BGP MD5 authentication. This can take one of the following values: MD5_OPTIONAL, MD5_REQUIRED, MD5_UNSUPPORTED. For example, a Cross-Cloud Interconnect connection to a remote cloud provider that requires BGP MD5 authentication has the interconnectRemoteLocation attachment_configuration_constraints.bgp_md5 field set to MD5_REQUIRED, and that property is propagated to the attachment. Similarly, if BGP MD5 is MD5_UNSUPPORTED, an error is returned if MD5 is requested. Check the BgpMd5 enum for the list of possible values.
bgp_peer_asn_ranges: Vec<InterconnectAttachmentConfigurationConstraintsBgpPeerAsnRange>
[Output Only] List of ASN ranges that the remote location is known to support. Formatted as an array of inclusive ranges {min: min-value, max: max-value}. For example, [{min: 123, max: 123}, {min: 64512, max: 65534}] allows the peer ASN to be 123 or anything in the range 64512-65534. This field is only advisory. Although the API accepts other ranges, these are the ranges that we recommend.
Implementations§
Trait Implementations§
source§impl Clone for InterconnectAttachmentConfigurationConstraints
impl Clone for InterconnectAttachmentConfigurationConstraints
source§fn clone(&self) -> InterconnectAttachmentConfigurationConstraints
fn clone(&self) -> InterconnectAttachmentConfigurationConstraints
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Message for InterconnectAttachmentConfigurationConstraints
impl Message for InterconnectAttachmentConfigurationConstraints
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for InterconnectAttachmentConfigurationConstraints
impl PartialEq for InterconnectAttachmentConfigurationConstraints
source§fn eq(&self, other: &InterconnectAttachmentConfigurationConstraints) -> bool
fn eq(&self, other: &InterconnectAttachmentConfigurationConstraints) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InterconnectAttachmentConfigurationConstraints
Auto Trait Implementations§
impl Freeze for InterconnectAttachmentConfigurationConstraints
impl RefUnwindSafe for InterconnectAttachmentConfigurationConstraints
impl Send for InterconnectAttachmentConfigurationConstraints
impl Sync for InterconnectAttachmentConfigurationConstraints
impl Unpin for InterconnectAttachmentConfigurationConstraints
impl UnwindSafe for InterconnectAttachmentConfigurationConstraints
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request