Class PublicAdvertisedPrefix (1.16.1)

PublicAdvertisedPrefix(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
byoip_api_version str
[Output Only] The version of BYOIP API. Check the ByoipApiVersion enum for the list of possible values. This field is a member of oneof_ _byoip_api_version.
creation_timestamp str
[Output Only] Creation timestamp in RFC3339 text format. This field is a member of oneof_ _creation_timestamp.
description str
An optional description of this resource. Provide this property when you create the resource. This field is a member of oneof_ _description.
dns_verification_ip str
The address to be used for reverse DNS verification. This field is a member of oneof_ _dns_verification_ip.
fingerprint str
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. This field is a member of oneof_ _fingerprint.
id int
[Output Only] The unique identifier for the resource type. The server generates this identifier. This field is a member of oneof_ _id.
ip_cidr_range str
The address range, in CIDR format, represented by this public advertised prefix. This field is a member of oneof_ _ip_cidr_range.
kind str
[Output Only] Type of the resource. Always compute#publicAdvertisedPrefix for public advertised prefixes. This field is a member of oneof_ _kind.
name str
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. This field is a member of oneof_ _name.
pdp_scope str
Specifies how child public delegated prefix will be scoped. It could be one of following values: - REGIONAL: The public delegated prefix is regional only. The provisioning will take a few minutes. - GLOBAL: The public delegated prefix is global only. The provisioning will take 4 weeks. - GLOBAL_AND_REGIONAL [output only]: The public delegated prefixes is BYOIP V1 legacy prefix. This is output only value and no longer supported in BYOIP V2. Check the PdpScope enum for the list of possible values. This field is a member of oneof_ _pdp_scope.
public_delegated_prefixs MutableSequence[google.cloud.compute_v1.types.PublicAdvertisedPrefixPublicDelegatedPrefix]
[Output Only] The list of public delegated prefixes that exist for this public advertised prefix.
self_link str
[Output Only] Server-defined URL for the resource. This field is a member of oneof_ _self_link.
shared_secret str
[Output Only] The shared secret to be used for reverse DNS verification. This field is a member of oneof_ _shared_secret.
status str
The status of the public advertised prefix. Possible values include: - INITIAL: RPKI validation is complete. - PTR_CONFIGURED: User has configured the PTR. - VALIDATED: Reverse DNS lookup is successful. - REVERSE_DNS_LOOKUP_FAILED: Reverse DNS lookup failed. - PREFIX_CONFIGURATION_IN_PROGRESS: The prefix is being configured. - PREFIX_CONFIGURATION_COMPLETE: The prefix is fully configured. - PREFIX_REMOVAL_IN_PROGRESS: The prefix is being removed. Check the Status enum for the list of possible values. This field is a member of oneof_ _status.

Classes

ByoipApiVersion

ByoipApiVersion(value)

[Output Only] The version of BYOIP API.

Values: UNDEFINED_BYOIP_API_VERSION (0): A value indicating that the enum field is not set. V1 (2715): This public advertised prefix can be used to create both regional and global public delegated prefixes. It usually takes 4 weeks to create or delete a public delegated prefix. The BGP status cannot be changed. V2 (2716): This public advertised prefix can only be used to create regional public delegated prefixes. Public delegated prefix creation and deletion takes minutes and the BGP status can be modified.

PdpScope

PdpScope(value)

Specifies how child public delegated prefix will be scoped. It could be one of following values: - REGIONAL: The public delegated prefix is regional only. The provisioning will take a few minutes. - GLOBAL: The public delegated prefix is global only. The provisioning will take 4 weeks. - GLOBAL_AND_REGIONAL [output only]: The public delegated prefixes is BYOIP V1 legacy prefix. This is output only value and no longer supported in BYOIP V2.

Values: UNDEFINED_PDP_SCOPE (0): A value indicating that the enum field is not set. GLOBAL (494663587): The public delegated prefix is global only. The provisioning will take 4 weeks. GLOBAL_AND_REGIONAL (318053059): The public delegated prefixes is BYOIP V1 legacy prefix. This is output only value and no longer supported in BYOIP V2. REGIONAL (92288543): The public delegated prefix is regional only. The provisioning will take a few minutes.

Status

Status(value)

The status of the public advertised prefix. Possible values include:

  • INITIAL: RPKI validation is complete. - PTR_CONFIGURED: User has configured the PTR. - VALIDATED: Reverse DNS lookup is successful. - REVERSE_DNS_LOOKUP_FAILED: Reverse DNS lookup failed. - PREFIX_CONFIGURATION_IN_PROGRESS: The prefix is being configured. - PREFIX_CONFIGURATION_COMPLETE: The prefix is fully configured. - PREFIX_REMOVAL_IN_PROGRESS: The prefix is being removed.

Values: UNDEFINED_STATUS (0): A value indicating that the enum field is not set. ANNOUNCED_TO_INTERNET (177880897): The prefix is announced to Internet. INITIAL (518841124): RPKI validation is complete. PREFIX_CONFIGURATION_COMPLETE (480889551): The prefix is fully configured. PREFIX_CONFIGURATION_IN_PROGRESS (378550961): The prefix is being configured. PREFIX_REMOVAL_IN_PROGRESS (284375783): The prefix is being removed. PTR_CONFIGURED (513497167): User has configured the PTR. READY_TO_ANNOUNCE (64641265): The prefix is currently withdrawn but ready to be announced. REVERSE_DNS_LOOKUP_FAILED (295755183): Reverse DNS lookup failed. VALIDATED (66197998): Reverse DNS lookup is successful.