Struct googapis::google::cloud::compute::v1::PublicAdvertisedPrefix [−][src]
pub struct PublicAdvertisedPrefix {
pub creation_timestamp: Option<String>,
pub description: Option<String>,
pub dns_verification_ip: Option<String>,
pub fingerprint: Option<String>,
pub id: Option<u64>,
pub ip_cidr_range: Option<String>,
pub kind: Option<String>,
pub name: Option<String>,
pub public_delegated_prefixs: Vec<PublicAdvertisedPrefixPublicDelegatedPrefix>,
pub self_link: Option<String>,
pub shared_secret: Option<String>,
pub status: Option<String>,
}
Expand description
A public advertised prefix represents an aggregated IP prefix or netblock which customers bring to cloud. The IP prefix is a single unit of route advertisement and is announced globally to the internet.
Fields
creation_timestamp: Option<String>
[Output Only] Creation timestamp in RFC3339 text format.
description: Option<String>
An optional description of this resource. Provide this property when you create the resource.
dns_verification_ip: Option<String>
The IPv4 address to be used for reverse DNS verification.
fingerprint: Option<String>
Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a new PublicAdvertisedPrefix. An up-to-date fingerprint must be provided in order to update the PublicAdvertisedPrefix, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a PublicAdvertisedPrefix.
id: Option<u64>
[Output Only] The unique identifier for the resource type. The server generates this identifier.
ip_cidr_range: Option<String>
The IPv4 address range, in CIDR format, represented by this public advertised prefix.
kind: Option<String>
[Output Only] Type of the resource. Always compute#publicAdvertisedPrefix for public advertised prefixes.
name: Option<String>
Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression \[a-z]([-a-z0-9]*[a-z0-9\])?
which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
public_delegated_prefixs: Vec<PublicAdvertisedPrefixPublicDelegatedPrefix>
[Output Only] The list of public delegated prefixes that exist for this public advertised prefix.
self_link: Option<String>
[Output Only] Server-defined URL for the resource.
[Output Only] The shared secret to be used for reverse DNS verification.
status: Option<String>
The status of the public advertised prefix. Check the Status enum for the list of possible values.
Implementations
Returns the value of creation_timestamp
, or the default value if creation_timestamp
is unset.
Returns the value of ip_cidr_range
, or the default value if ip_cidr_range
is unset.
Returns the value of status
, or the default value if status
is unset.
Returns the value of fingerprint
, or the default value if fingerprint
is unset.
Returns the value of dns_verification_ip
, or the default value if dns_verification_ip
is unset.
Returns the value of shared_secret
, or the default value if shared_secret
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
impl RefUnwindSafe for PublicAdvertisedPrefix
impl Send for PublicAdvertisedPrefix
impl Sync for PublicAdvertisedPrefix
impl Unpin for PublicAdvertisedPrefix
impl UnwindSafe for PublicAdvertisedPrefix
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