Reference documentation and code samples for the Google Cloud Edge Network V1 Client class Subnet.
Message describing Subnet object
Generated from protobuf message google.cloud.edgenetwork.v1.Subnet
Namespace
Google \ Cloud \ EdgeNetwork \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The canonical resource name of the subnet.
↳ create_time
↳ update_time
↳ labels
↳ description
string
Optional. A free-text description of the resource. Max length 1024 characters.
↳ network
string
Required. The network that this subnetwork belongs to.
↳ ipv4_cidr
array
The ranges of ipv4 addresses that are owned by this subnetwork.
↳ ipv6_cidr
array
The ranges of ipv6 addresses that are owned by this subnetwork.
↳ vlan_id
int
Optional. VLAN id provided by user. If not specified we assign one automatically.
↳ bonding_type
int
Optional. A bonding type in the subnet creation specifies whether a VLAN being created will be present on Bonded or Non-Bonded or Both port types. In addition, this flag is to be used to set the specific network configuration which clusters can then use for their workloads based on the bonding choice.
↳ state
int
Output only. Current stage of the resource to the device by config push.
getName
Required. The canonical resource name of the subnet.
string
setName
Required. The canonical resource name of the subnet.
var
string
$this
getCreateTime
Output only. The time when the subnet was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The time when the subnet was created.
$this
getUpdateTime
Output only. The time when the subnet was last updated.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The time when the subnet was last updated.
$this
getLabels
Labels associated with this resource.
setLabels
Labels associated with this resource.
$this
getDescription
Optional. A free-text description of the resource. Max length 1024 characters.
string
setDescription
Optional. A free-text description of the resource. Max length 1024 characters.
var
string
$this
getNetwork
Required. The network that this subnetwork belongs to.
string
setNetwork
Required. The network that this subnetwork belongs to.
var
string
$this
getIpv4Cidr
The ranges of ipv4 addresses that are owned by this subnetwork.
setIpv4Cidr
The ranges of ipv4 addresses that are owned by this subnetwork.
var
string[]
$this
getIpv6Cidr
The ranges of ipv6 addresses that are owned by this subnetwork.
setIpv6Cidr
The ranges of ipv6 addresses that are owned by this subnetwork.
var
string[]
$this
getVlanId
Optional. VLAN id provided by user. If not specified we assign one automatically.
int
setVlanId
Optional. VLAN id provided by user. If not specified we assign one automatically.
var
int
$this
getBondingType
Optional. A bonding type in the subnet creation specifies whether a VLAN being created will be present on Bonded or Non-Bonded or Both port types.
In addition, this flag is to be used to set the specific network configuration which clusters can then use for their workloads based on the bonding choice.
int
setBondingType
Optional. A bonding type in the subnet creation specifies whether a VLAN being created will be present on Bonded or Non-Bonded or Both port types.
In addition, this flag is to be used to set the specific network configuration which clusters can then use for their workloads based on the bonding choice.
var
int
$this
getState
Output only. Current stage of the resource to the device by config push.
int
setState
Output only. Current stage of the resource to the device by config push.
var
int
$this