Compute V1 Client - Class PublicDelegatedPrefixPublicDelegatedSubPrefix (1.17.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
Name Description
data array

Optional. Data for populating the Message object.

↳ allocatable_prefix_length int

The allocatable prefix length supported by this PublicDelegatedSubPrefix.

↳ delegatee_project string

Name of the project scoping this PublicDelegatedSubPrefix.

↳ description string

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

↳ ip_cidr_range string

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

↳ is_address bool

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

↳ mode string

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

↳ name string

The name of the sub public delegated prefix.

↳ region string

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

↳ status string

[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
Type Description
int

hasAllocatablePrefixLength

clearAllocatablePrefixLength

setAllocatablePrefixLength

The allocatable prefix length supported by this PublicDelegatedSubPrefix.

Parameter
Name Description
var int
Returns
Type Description
$this

getDelegateeProject

Name of the project scoping this PublicDelegatedSubPrefix.

Returns
Type Description
string

hasDelegateeProject

clearDelegateeProject

setDelegateeProject

Name of the project scoping this PublicDelegatedSubPrefix.

Parameter
Name Description
var string
Returns
Type Description
$this

getDescription

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

Returns
Type Description
string

hasDescription

clearDescription

setDescription

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

Parameter
Name Description
var string
Returns
Type Description
$this

getIpCidrRange

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

Returns
Type Description
string

hasIpCidrRange

clearIpCidrRange

setIpCidrRange

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

Parameter
Name Description
var string
Returns
Type Description
$this

getIsAddress

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

Returns
Type Description
bool

hasIsAddress

clearIsAddress

setIsAddress

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

Parameter
Name Description
var bool
Returns
Type Description
$this

getMode

The PublicDelegatedSubPrefix mode for IPv6 only.

Check the Mode enum for the list of possible values.

Returns
Type Description
string

hasMode

clearMode

setMode

The PublicDelegatedSubPrefix mode for IPv6 only.

Check the Mode enum for the list of possible values.

Parameter
Name Description
var string
Returns
Type Description
$this

getName

The name of the sub public delegated prefix.

Returns
Type Description
string

hasName

clearName

setName

The name of the sub public delegated prefix.

Parameter
Name Description
var string
Returns
Type Description
$this

getRegion

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

Returns
Type Description
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
Name Description
var string
Returns
Type Description
$this

getStatus

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

Check the Status enum for the list of possible values.

Returns
Type Description
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
Name Description
var string
Returns
Type Description
$this