Reference documentation and code samples for the Google Cloud Container V1 Client class UsableSubnetwork.
UsableSubnetwork resource returns the subnetwork name, its associated network and the primary CIDR range.
Generated from protobuf message google.container.v1.UsableSubnetwork
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ subnetwork
string
Subnetwork Name. Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
↳ network
string
Network Name. Example: projects/my-project/global/networks/my-network
↳ ip_cidr_range
string
The range of internal addresses that are owned by this subnetwork.
↳ secondary_ip_ranges
↳ status_message
string
A human readable status message representing the reasons for cases where the caller cannot use the secondary ranges under the subnet. For example if the secondary_ip_ranges is empty due to a permission issue, an insufficient permission message will be given by status_message.
getSubnetwork
Subnetwork Name.
Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
string
setSubnetwork
Subnetwork Name.
Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
var
string
$this
getNetwork
Network Name.
Example: projects/my-project/global/networks/my-network
string
setNetwork
Network Name.
Example: projects/my-project/global/networks/my-network
var
string
$this
getIpCidrRange
The range of internal addresses that are owned by this subnetwork.
string
setIpCidrRange
The range of internal addresses that are owned by this subnetwork.
var
string
$this
getSecondaryIpRanges
Secondary IP ranges.
setSecondaryIpRanges
Secondary IP ranges.
$this
getStatusMessage
A human readable status message representing the reasons for cases where the caller cannot use the secondary ranges under the subnet. For example if the secondary_ip_ranges is empty due to a permission issue, an insufficient permission message will be given by status_message.
string
setStatusMessage
A human readable status message representing the reasons for cases where the caller cannot use the secondary ranges under the subnet. For example if the secondary_ip_ranges is empty due to a permission issue, an insufficient permission message will be given by status_message.
var
string
$this