Enum google_api_proto::google::cloud::networkmanagement::v1::google_service_info::GoogleServiceType
source · #[repr(i32)]pub enum GoogleServiceType {
Unspecified = 0,
Iap = 1,
GfeProxyOrHealthCheckProber = 2,
CloudDns = 3,
GoogleApi = 4,
GoogleApiPsc = 5,
GoogleApiVpcSc = 6,
}
Expand description
Recognized type of a Google Service.
Variants§
Unspecified = 0
Unspecified Google Service.
Iap = 1
Identity aware proxy. https://cloud.google.com/iap/docs/using-tcp-forwarding
GfeProxyOrHealthCheckProber = 2
One of two services sharing IP ranges:
- Load Balancer proxy
- Centralized Health Check prober https://cloud.google.com/load-balancing/docs/firewall-rules
CloudDns = 3
Connectivity from Cloud DNS to forwarding targets or alternate name servers that use private routing. https://cloud.google.com/dns/docs/zones/forwarding-zones#firewall-rules https://cloud.google.com/dns/docs/policies#firewall-rules
GoogleApi = 4
private.googleapis.com and restricted.googleapis.com
GoogleApiPsc = 5
Google API via Private Service Connect. https://cloud.google.com/vpc/docs/configure-private-service-connect-apis
GoogleApiVpcSc = 6
Google API via VPC Service Controls. https://cloud.google.com/vpc/docs/configure-private-service-connect-apis
Implementations§
source§impl GoogleServiceType
impl GoogleServiceType
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 Clone for GoogleServiceType
impl Clone for GoogleServiceType
source§fn clone(&self) -> GoogleServiceType
fn clone(&self) -> GoogleServiceType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GoogleServiceType
impl Debug for GoogleServiceType
source§impl Default for GoogleServiceType
impl Default for GoogleServiceType
source§fn default() -> GoogleServiceType
fn default() -> GoogleServiceType
source§impl From<GoogleServiceType> for i32
impl From<GoogleServiceType> for i32
source§fn from(value: GoogleServiceType) -> i32
fn from(value: GoogleServiceType) -> i32
source§impl Hash for GoogleServiceType
impl Hash for GoogleServiceType
source§impl Ord for GoogleServiceType
impl Ord for GoogleServiceType
source§fn cmp(&self, other: &GoogleServiceType) -> Ordering
fn cmp(&self, other: &GoogleServiceType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
source§impl PartialEq for GoogleServiceType
impl PartialEq for GoogleServiceType
source§fn eq(&self, other: &GoogleServiceType) -> bool
fn eq(&self, other: &GoogleServiceType) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for GoogleServiceType
impl PartialOrd for GoogleServiceType
source§fn partial_cmp(&self, other: &GoogleServiceType) -> Option<Ordering>
fn partial_cmp(&self, other: &GoogleServiceType) -> Option<Ordering>
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 GoogleServiceType
impl TryFrom<i32> for GoogleServiceType
§type Error = DecodeError
type Error = DecodeError
source§fn try_from(value: i32) -> Result<GoogleServiceType, DecodeError>
fn try_from(value: i32) -> Result<GoogleServiceType, DecodeError>
impl Copy for GoogleServiceType
impl Eq for GoogleServiceType
impl StructuralPartialEq for GoogleServiceType
Auto Trait Implementations§
impl Freeze for GoogleServiceType
impl RefUnwindSafe for GoogleServiceType
impl Send for GoogleServiceType
impl Sync for GoogleServiceType
impl Unpin for GoogleServiceType
impl UnwindSafe for GoogleServiceType
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