Struct google_api_proto::google::cloud::compute::v1::NetworkAttachmentConnectedEndpoint
source · pub struct NetworkAttachmentConnectedEndpoint {
pub ip_address: Option<String>,
pub ipv6_address: Option<String>,
pub project_id_or_num: Option<String>,
pub secondary_ip_cidr_ranges: Vec<String>,
pub status: Option<String>,
pub subnetwork: Option<String>,
pub subnetwork_cidr_range: Option<String>,
}
Expand description
[Output Only] A connection connected to this network attachment.
Fields§
§ip_address: Option<String>
The IPv4 address assigned to the producer instance network interface. This value will be a range in case of Serverless.
ipv6_address: Option<String>
The IPv6 address assigned to the producer instance network interface. This is only assigned when the stack types of both the instance network interface and the consumer subnet are IPv4_IPv6.
project_id_or_num: Option<String>
The project id or number of the interface to which the IP was assigned.
secondary_ip_cidr_ranges: Vec<String>
Alias IP ranges from the same subnetwork.
status: Option<String>
The status of a connected endpoint to this network attachment. Check the Status enum for the list of possible values.
subnetwork: Option<String>
The subnetwork used to assign the IP to the producer instance network interface.
subnetwork_cidr_range: Option<String>
[Output Only] The CIDR range of the subnet from which the IPv4 internal IP was allocated from.
Implementations§
source§impl NetworkAttachmentConnectedEndpoint
impl NetworkAttachmentConnectedEndpoint
sourcepub fn status(&self) -> &str
pub fn status(&self) -> &str
Returns the value of status
, or the default value if status
is unset.
sourcepub fn subnetwork(&self) -> &str
pub fn subnetwork(&self) -> &str
Returns the value of subnetwork
, or the default value if subnetwork
is unset.
sourcepub fn ipv6_address(&self) -> &str
pub fn ipv6_address(&self) -> &str
Returns the value of ipv6_address
, or the default value if ipv6_address
is unset.
sourcepub fn project_id_or_num(&self) -> &str
pub fn project_id_or_num(&self) -> &str
Returns the value of project_id_or_num
, or the default value if project_id_or_num
is unset.
sourcepub fn subnetwork_cidr_range(&self) -> &str
pub fn subnetwork_cidr_range(&self) -> &str
Returns the value of subnetwork_cidr_range
, or the default value if subnetwork_cidr_range
is unset.
sourcepub fn ip_address(&self) -> &str
pub fn ip_address(&self) -> &str
Returns the value of ip_address
, or the default value if ip_address
is unset.
Trait Implementations§
source§impl Clone for NetworkAttachmentConnectedEndpoint
impl Clone for NetworkAttachmentConnectedEndpoint
source§fn clone(&self) -> NetworkAttachmentConnectedEndpoint
fn clone(&self) -> NetworkAttachmentConnectedEndpoint
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Message for NetworkAttachmentConnectedEndpoint
impl Message for NetworkAttachmentConnectedEndpoint
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for NetworkAttachmentConnectedEndpoint
impl PartialEq for NetworkAttachmentConnectedEndpoint
source§fn eq(&self, other: &NetworkAttachmentConnectedEndpoint) -> bool
fn eq(&self, other: &NetworkAttachmentConnectedEndpoint) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for NetworkAttachmentConnectedEndpoint
Auto Trait Implementations§
impl Freeze for NetworkAttachmentConnectedEndpoint
impl RefUnwindSafe for NetworkAttachmentConnectedEndpoint
impl Send for NetworkAttachmentConnectedEndpoint
impl Sync for NetworkAttachmentConnectedEndpoint
impl Unpin for NetworkAttachmentConnectedEndpoint
impl UnwindSafe for NetworkAttachmentConnectedEndpoint
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