Enum google_api_proto::google::cloud::vmwareengine::v1::management_dns_zone_binding::BindNetwork
source · pub enum BindNetwork {
VpcNetwork(String),
VmwareEngineNetwork(String),
}
Expand description
Required. The relative resource name of the network to bind to the management DNS zone. This network can be a consumer VPC network or a VMware engine network.
Variants§
VpcNetwork(String)
Network to bind is a standard consumer VPC.
Specify the name in the following form for consumer
VPC network: projects/{project}/global/networks/{network_id}
.
{project}
can either be a project number or a project ID.
VmwareEngineNetwork(String)
Network to bind is a VMware Engine network.
Specify the name in the following form for VMware engine network:
projects/{project}/locations/global/vmwareEngineNetworks/{vmware_engine_network_id}
.
{project}
can either be a project number or a project ID.
Implementations§
source§impl BindNetwork
impl BindNetwork
sourcepub fn merge(
field: &mut Option<BindNetwork>,
tag: u32,
wire_type: WireType,
buf: &mut impl Buf,
ctx: DecodeContext,
) -> Result<(), DecodeError>
pub fn merge( field: &mut Option<BindNetwork>, tag: u32, wire_type: WireType, buf: &mut impl Buf, ctx: DecodeContext, ) -> Result<(), DecodeError>
Decodes an instance of the message from a buffer, and merges it into self.
sourcepub fn encoded_len(&self) -> usize
pub fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Trait Implementations§
source§impl Clone for BindNetwork
impl Clone for BindNetwork
source§fn clone(&self) -> BindNetwork
fn clone(&self) -> BindNetwork
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BindNetwork
impl Debug for BindNetwork
source§impl PartialEq for BindNetwork
impl PartialEq for BindNetwork
source§fn eq(&self, other: &BindNetwork) -> bool
fn eq(&self, other: &BindNetwork) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BindNetwork
Auto Trait Implementations§
impl Freeze for BindNetwork
impl RefUnwindSafe for BindNetwork
impl Send for BindNetwork
impl Sync for BindNetwork
impl Unpin for BindNetwork
impl UnwindSafe for BindNetwork
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