Struct googapis::google::cloud::compute::v1::PublicDelegatedPrefixPublicDelegatedSubPrefix [−][src]
pub struct PublicDelegatedPrefixPublicDelegatedSubPrefix {
pub delegatee_project: Option<String>,
pub description: Option<String>,
pub ip_cidr_range: Option<String>,
pub is_address: Option<bool>,
pub name: Option<String>,
pub region: Option<String>,
pub status: Option<String>,
}
Expand description
Represents a sub PublicDelegatedPrefix.
Fields
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 IPv4 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.
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
Returns the value of ip_cidr_range
, or the default value if ip_cidr_range
is unset.
Returns the value of region
, or the default value if region
is unset.
Returns the value of status
, or the default value if status
is unset.
Returns the value of is_address
, or the default value if is_address
is unset.
Returns the value of delegatee_project
, or the default value if delegatee_project
is unset.
Returns the value of description
, or the default value if description
is unset.
Trait Implementations
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Returns the encoded length of the message without a length delimiter.
Encodes the message to a buffer. Read more
Encodes the message to a newly allocated buffer.
Encodes the message with a length-delimiter to a buffer. Read more
Encodes the message with a length-delimiter to a newly allocated buffer.
Decodes an instance of the message from a buffer. Read more
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
Decodes a length-delimited instance of the message from the buffer.
Decodes an instance of the message from a buffer, and merges it into self
. Read more
Decodes a length-delimited instance of the message from buffer, and
merges it into self
. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more