Compute V1 Client - Class PublicDelegatedPrefixPublicDelegatedSubPrefix (1.5.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

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.

Generated from protobuf field optional string delegatee_project = 414860634;

Returns
TypeDescription
string

hasDelegateeProject

clearDelegateeProject

setDelegateeProject

Name of the project scoping this PublicDelegatedSubPrefix.

Generated from protobuf field optional string delegatee_project = 414860634;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDescription

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

Generated from protobuf field optional string description = 422937596;

Returns
TypeDescription
string

hasDescription

clearDescription

setDescription

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

Generated from protobuf field optional string description = 422937596;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getIpCidrRange

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

Generated from protobuf field optional string ip_cidr_range = 98117322;

Returns
TypeDescription
string

hasIpCidrRange

clearIpCidrRange

setIpCidrRange

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

Generated from protobuf field optional string ip_cidr_range = 98117322;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getIsAddress

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

Generated from protobuf field optional bool is_address = 352617951;

Returns
TypeDescription
bool

hasIsAddress

clearIsAddress

setIsAddress

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

Generated from protobuf field optional bool is_address = 352617951;

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getName

The name of the sub public delegated prefix.

Generated from protobuf field optional string name = 3373707;

Returns
TypeDescription
string

hasName

clearName

setName

The name of the sub public delegated prefix.

Generated from protobuf field optional string name = 3373707;

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.

Generated from protobuf field optional string region = 138946292;

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.

Generated from protobuf field optional string region = 138946292;

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.

Generated from protobuf field optional string status = 181260274;

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.

Generated from protobuf field optional string status = 181260274;

Parameter
NameDescription
var string
Returns
TypeDescription
$this