Compute V1 Client - Class PublicDelegatedPrefixPublicDelegatedSubPrefix (1.8.3)

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ 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 IPv4 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.

↳ 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.

getDelegateeProject

Name of the project scoping this PublicDelegatedSubPrefix.

Returns
TypeDescription
string

hasDelegateeProject

clearDelegateeProject

setDelegateeProject

Name of the project scoping this PublicDelegatedSubPrefix.

Parameter
NameDescription
var string
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
var string
Returns
TypeDescription
$this

getIpCidrRange

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

Returns
TypeDescription
string

hasIpCidrRange

clearIpCidrRange

setIpCidrRange

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

Parameter
NameDescription
var string
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
var bool
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
var string
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
var string
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
var string
Returns
TypeDescription
$this