Enum google_api_proto::google::cloud::dataproc::v1::gce_cluster_config::PrivateIpv6GoogleAccess
source · #[repr(i32)]pub enum PrivateIpv6GoogleAccess {
Unspecified = 0,
InheritFromSubnetwork = 1,
Outbound = 2,
Bidirectional = 3,
}
Expand description
PrivateIpv6GoogleAccess
controls whether and how Dataproc cluster nodes
can communicate with Google Services through gRPC over IPv6.
These values are directly mapped to corresponding values in the
Compute Engine Instance
fields.
Variants§
Unspecified = 0
If unspecified, Compute Engine default behavior will apply, which is the same as [INHERIT_FROM_SUBNETWORK][google.cloud.dataproc.v1.GceClusterConfig.PrivateIpv6GoogleAccess.INHERIT_FROM_SUBNETWORK].
InheritFromSubnetwork = 1
Private access to and from Google Services configuration inherited from the subnetwork configuration. This is the default Compute Engine behavior.
Outbound = 2
Enables outbound private IPv6 access to Google Services from the Dataproc cluster.
Bidirectional = 3
Enables bidirectional private IPv6 access between Google Services and the Dataproc cluster.
Implementations§
source§impl PrivateIpv6GoogleAccess
impl PrivateIpv6GoogleAccess
sourcepub fn is_valid(value: i32) -> bool
pub fn is_valid(value: i32) -> bool
Returns true
if value
is a variant of PrivateIpv6GoogleAccess
.
sourcepub fn from_i32(value: i32) -> Option<PrivateIpv6GoogleAccess>
👎Deprecated: Use the TryFrom<i32> implementation instead
pub fn from_i32(value: i32) -> Option<PrivateIpv6GoogleAccess>
Converts an i32
to a PrivateIpv6GoogleAccess
, or None
if value
is not a valid variant.
source§impl PrivateIpv6GoogleAccess
impl PrivateIpv6GoogleAccess
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 PrivateIpv6GoogleAccess
impl Clone for PrivateIpv6GoogleAccess
source§fn clone(&self) -> PrivateIpv6GoogleAccess
fn clone(&self) -> PrivateIpv6GoogleAccess
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PrivateIpv6GoogleAccess
impl Debug for PrivateIpv6GoogleAccess
source§impl Default for PrivateIpv6GoogleAccess
impl Default for PrivateIpv6GoogleAccess
source§fn default() -> PrivateIpv6GoogleAccess
fn default() -> PrivateIpv6GoogleAccess
source§impl From<PrivateIpv6GoogleAccess> for i32
impl From<PrivateIpv6GoogleAccess> for i32
source§fn from(value: PrivateIpv6GoogleAccess) -> i32
fn from(value: PrivateIpv6GoogleAccess) -> i32
source§impl Hash for PrivateIpv6GoogleAccess
impl Hash for PrivateIpv6GoogleAccess
source§impl Ord for PrivateIpv6GoogleAccess
impl Ord for PrivateIpv6GoogleAccess
source§fn cmp(&self, other: &PrivateIpv6GoogleAccess) -> Ordering
fn cmp(&self, other: &PrivateIpv6GoogleAccess) -> 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 PrivateIpv6GoogleAccess
impl PartialEq for PrivateIpv6GoogleAccess
source§fn eq(&self, other: &PrivateIpv6GoogleAccess) -> bool
fn eq(&self, other: &PrivateIpv6GoogleAccess) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for PrivateIpv6GoogleAccess
impl PartialOrd for PrivateIpv6GoogleAccess
source§fn partial_cmp(&self, other: &PrivateIpv6GoogleAccess) -> Option<Ordering>
fn partial_cmp(&self, other: &PrivateIpv6GoogleAccess) -> 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 PrivateIpv6GoogleAccess
impl TryFrom<i32> for PrivateIpv6GoogleAccess
§type Error = UnknownEnumValue
type Error = UnknownEnumValue
source§fn try_from(value: i32) -> Result<PrivateIpv6GoogleAccess, UnknownEnumValue>
fn try_from(value: i32) -> Result<PrivateIpv6GoogleAccess, UnknownEnumValue>
impl Copy for PrivateIpv6GoogleAccess
impl Eq for PrivateIpv6GoogleAccess
impl StructuralPartialEq for PrivateIpv6GoogleAccess
Auto Trait Implementations§
impl Freeze for PrivateIpv6GoogleAccess
impl RefUnwindSafe for PrivateIpv6GoogleAccess
impl Send for PrivateIpv6GoogleAccess
impl Sync for PrivateIpv6GoogleAccess
impl Unpin for PrivateIpv6GoogleAccess
impl UnwindSafe for PrivateIpv6GoogleAccess
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