Enum google_api_proto::google::cloud::networkmanagement::v1beta1::deliver_info::Target
source · #[repr(i32)]pub enum Target {
Show 15 variants
Unspecified = 0,
Instance = 1,
Internet = 2,
GoogleApi = 3,
GkeMaster = 4,
CloudSqlInstance = 5,
PscPublishedService = 6,
PscGoogleApi = 7,
PscVpcSc = 8,
ServerlessNeg = 9,
StorageBucket = 10,
PrivateNetwork = 11,
CloudFunction = 12,
AppEngineVersion = 13,
CloudRunRevision = 14,
}
Expand description
Deliver target types:
Variants§
Unspecified = 0
Target not specified.
Instance = 1
Target is a Compute Engine instance.
Internet = 2
Target is the internet.
GoogleApi = 3
Target is a Google API.
GkeMaster = 4
Target is a Google Kubernetes Engine cluster master.
CloudSqlInstance = 5
Target is a Cloud SQL instance.
PscPublishedService = 6
Target is a published service that uses Private Service Connect.
PscGoogleApi = 7
Target is all Google APIs that use Private Service Connect.
PscVpcSc = 8
Target is a VPC-SC that uses Private Service Connect.
ServerlessNeg = 9
Target is a serverless network endpoint group.
StorageBucket = 10
Target is a Cloud Storage bucket.
PrivateNetwork = 11
Target is a private network. Used only for return traces.
CloudFunction = 12
Target is a Cloud Function. Used only for return traces.
AppEngineVersion = 13
Target is a App Engine service version. Used only for return traces.
CloudRunRevision = 14
Target is a Cloud Run revision. Used only for return traces.
Implementations§
source§impl Target
impl Target
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 Target
impl Ord for Target
source§impl PartialEq for Target
impl PartialEq for Target
source§impl PartialOrd for Target
impl PartialOrd for Target
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 Target
impl TryFrom<i32> for Target
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
impl Copy for Target
impl Eq for Target
impl StructuralPartialEq for Target
Auto Trait Implementations§
impl Freeze for Target
impl RefUnwindSafe for Target
impl Send for Target
impl Sync for Target
impl Unpin for Target
impl UnwindSafe for Target
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