Compute V1 Client - Class PublicDelegatedPrefixPublicDelegatedSubPrefix (1.25.0)

Reference documentation and code samples for the Compute V1 Client class PublicDelegatedPrefixPublicDelegatedSubPrefix.

Represents a sub PublicDelegatedPrefix.

Generated from protobuf message google.cloud.compute.v1.PublicDelegatedPrefixPublicDelegatedSubPrefix

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ allocatable_prefix_lengthint

The allocatable prefix length supported by this PublicDelegatedSubPrefix.

↳ delegatee_projectstring

Name of the project scoping this PublicDelegatedSubPrefix.

↳ descriptionstring

An optional description of this resource. Provide this property when you create the resource.

↳ ip_cidr_rangestring

The IP address range, in CIDR format, represented by this sub public delegated prefix.

↳ is_addressbool

Whether the sub prefix is delegated to create Address resources in the delegatee project.

↳ modestring

The PublicDelegatedSubPrefix mode for IPv6 only. Check the Mode enum for the list of possible values.

↳ namestring

The name of the sub public delegated prefix.

↳ regionstring

[Output Only] The region of the sub public delegated prefix if it is regional. If absent, the sub prefix is global.

↳ statusstring

[Output Only] The status of the sub public delegated prefix. Check the Status enum for the list of possible values.

getAllocatablePrefixLength

The allocatable prefix length supported by this PublicDelegatedSubPrefix.

Returns
TypeDescription
int

hasAllocatablePrefixLength

clearAllocatablePrefixLength

setAllocatablePrefixLength

The allocatable prefix length supported by this PublicDelegatedSubPrefix.

Parameter
NameDescription
varint
Returns
TypeDescription
$this

getDelegateeProject

Name of the project scoping this PublicDelegatedSubPrefix.

Returns
TypeDescription
string

hasDelegateeProject

clearDelegateeProject

setDelegateeProject

Name of the project scoping this PublicDelegatedSubPrefix.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getDescription

An optional description of this resource. Provide this property when you create the resource.

Returns
TypeDescription
string

hasDescription

clearDescription

setDescription

An optional description of this resource. Provide this property when you create the resource.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getIpCidrRange

The IP address range, in CIDR format, represented by this sub public delegated prefix.

Returns
TypeDescription
string

hasIpCidrRange

clearIpCidrRange

setIpCidrRange

The IP address range, in CIDR format, represented by this sub public delegated prefix.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getIsAddress

Whether the sub prefix is delegated to create Address resources in the delegatee project.

Returns
TypeDescription
bool

hasIsAddress

clearIsAddress

setIsAddress

Whether the sub prefix is delegated to create Address resources in the delegatee project.

Parameter
NameDescription
varbool
Returns
TypeDescription
$this

getMode

The PublicDelegatedSubPrefix mode for IPv6 only.

Check the Mode enum for the list of possible values.

Returns
TypeDescription
string

hasMode

clearMode

setMode

The PublicDelegatedSubPrefix mode for IPv6 only.

Check the Mode enum for the list of possible values.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getName

The name of the sub public delegated prefix.

Returns
TypeDescription
string

hasName

clearName

setName

The name of the sub public delegated prefix.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getRegion

[Output Only] The region of the sub public delegated prefix if it is regional. If absent, the sub prefix is global.

Returns
TypeDescription
string

hasRegion

clearRegion

setRegion

[Output Only] The region of the sub public delegated prefix if it is regional. If absent, the sub prefix is global.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this

getStatus

[Output Only] The status of the sub public delegated prefix.

Check the Status enum for the list of possible values.

Returns
TypeDescription
string

hasStatus

clearStatus

setStatus

[Output Only] The status of the sub public delegated prefix.

Check the Status enum for the list of possible values.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this