Enum google_api_proto::google::cloud::compute::v1::interconnect_attachment_configuration_constraints::BgpMd5
source · #[repr(i32)]pub enum BgpMd5 {
UndefinedBgpMd5 = 0,
Md5Optional = 532_156_673,
Md5Required = 218_034_496,
Md5Unsupported = 86_962_388,
}
Expand description
[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.
Variants§
UndefinedBgpMd5 = 0
A value indicating that the enum field is not set.
Md5Optional = 532_156_673
MD5_OPTIONAL: BGP MD5 authentication is supported and can optionally be configured.
Md5Required = 218_034_496
MD5_REQUIRED: BGP MD5 authentication must be configured.
Md5Unsupported = 86_962_388
MD5_UNSUPPORTED: BGP MD5 authentication must not be configured
Implementations§
source§impl BgpMd5
impl BgpMd5
sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
source§impl Ord for BgpMd5
impl Ord for BgpMd5
source§impl PartialEq for BgpMd5
impl PartialEq for BgpMd5
source§impl PartialOrd for BgpMd5
impl PartialOrd for BgpMd5
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
self
and other
) and is used by the <=
operator. Read moresource§impl TryFrom<i32> for BgpMd5
impl TryFrom<i32> for BgpMd5
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
impl Copy for BgpMd5
impl Eq for BgpMd5
impl StructuralPartialEq for BgpMd5
Auto Trait Implementations§
impl Freeze for BgpMd5
impl RefUnwindSafe for BgpMd5
impl Send for BgpMd5
impl Sync for BgpMd5
impl Unpin for BgpMd5
impl UnwindSafe for BgpMd5
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§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