Struct google_api_proto::google::cloud::compute::v1::PublicDelegatedPrefixPublicDelegatedSubPrefix
source · pub struct PublicDelegatedPrefixPublicDelegatedSubPrefix {
pub allocatable_prefix_length: Option<i32>,
pub delegatee_project: Option<String>,
pub description: Option<String>,
pub ip_cidr_range: Option<String>,
pub is_address: Option<bool>,
pub mode: Option<String>,
pub name: Option<String>,
pub region: Option<String>,
pub status: Option<String>,
}
Expand description
Represents a sub PublicDelegatedPrefix.
Fields§
§allocatable_prefix_length: Option<i32>
The allocatable prefix length supported by this PublicDelegatedSubPrefix.
delegatee_project: Option<String>
Name of the project scoping this PublicDelegatedSubPrefix.
description: Option<String>
An optional description of this resource. Provide this property when you create the resource.
ip_cidr_range: Option<String>
The IP address range, in CIDR format, represented by this sub public delegated prefix.
is_address: Option<bool>
Whether the sub prefix is delegated to create Address resources in the delegatee project.
mode: Option<String>
The PublicDelegatedSubPrefix mode for IPv6 only. Check the Mode enum for the list of possible values.
name: Option<String>
The name of the sub public delegated prefix.
region: Option<String>
[Output Only] The region of the sub public delegated prefix if it is regional. If absent, the sub prefix is global.
status: Option<String>
[Output Only] The status of the sub public delegated prefix. Check the Status enum for the list of possible values.
Implementations§
source§impl PublicDelegatedPrefixPublicDelegatedSubPrefix
impl PublicDelegatedPrefixPublicDelegatedSubPrefix
sourcepub fn allocatable_prefix_length(&self) -> i32
pub fn allocatable_prefix_length(&self) -> i32
Returns the value of allocatable_prefix_length
, or the default value if allocatable_prefix_length
is unset.
sourcepub fn ip_cidr_range(&self) -> &str
pub fn ip_cidr_range(&self) -> &str
Returns the value of ip_cidr_range
, or the default value if ip_cidr_range
is unset.
sourcepub fn region(&self) -> &str
pub fn region(&self) -> &str
Returns the value of region
, or the default value if region
is unset.
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 is_address(&self) -> bool
pub fn is_address(&self) -> bool
Returns the value of is_address
, or the default value if is_address
is unset.
sourcepub fn delegatee_project(&self) -> &str
pub fn delegatee_project(&self) -> &str
Returns the value of delegatee_project
, or the default value if delegatee_project
is unset.
sourcepub fn description(&self) -> &str
pub fn description(&self) -> &str
Returns the value of description
, or the default value if description
is unset.
Trait Implementations§
source§impl Clone for PublicDelegatedPrefixPublicDelegatedSubPrefix
impl Clone for PublicDelegatedPrefixPublicDelegatedSubPrefix
source§fn clone(&self) -> PublicDelegatedPrefixPublicDelegatedSubPrefix
fn clone(&self) -> PublicDelegatedPrefixPublicDelegatedSubPrefix
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Message for PublicDelegatedPrefixPublicDelegatedSubPrefix
impl Message for PublicDelegatedPrefixPublicDelegatedSubPrefix
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 PublicDelegatedPrefixPublicDelegatedSubPrefix
impl PartialEq for PublicDelegatedPrefixPublicDelegatedSubPrefix
source§fn eq(&self, other: &PublicDelegatedPrefixPublicDelegatedSubPrefix) -> bool
fn eq(&self, other: &PublicDelegatedPrefixPublicDelegatedSubPrefix) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PublicDelegatedPrefixPublicDelegatedSubPrefix
Auto Trait Implementations§
impl Freeze for PublicDelegatedPrefixPublicDelegatedSubPrefix
impl RefUnwindSafe for PublicDelegatedPrefixPublicDelegatedSubPrefix
impl Send for PublicDelegatedPrefixPublicDelegatedSubPrefix
impl Sync for PublicDelegatedPrefixPublicDelegatedSubPrefix
impl Unpin for PublicDelegatedPrefixPublicDelegatedSubPrefix
impl UnwindSafe for PublicDelegatedPrefixPublicDelegatedSubPrefix
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