Reference documentation and code samples for the Google Cloud Vmware Engine V1 Client class Subnet.
Subnet in a private cloud. Either management
subnets (such as vMotion) that
are read-only, or userDefined
, which can also be updated.
Generated from protobuf message google.cloud.vmwareengine.v1.Subnet
Namespace
Google \ Cloud \ VmwareEngine \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. The resource name of this subnet. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names
. For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/subnets/my-subnet
↳ ip_cidr_range
string
The IP address range of the subnet in CIDR format '10.0.0.0/24'.
↳ gateway_ip
string
The IP address of the gateway of this subnet. Must fall within the IP prefix defined above.
↳ type
string
Output only. The type of the subnet. For example "management" or "userDefined".
↳ state
int
Output only. The state of the resource.
getName
Output only. The resource name of this subnet.
Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names
.
For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/subnets/my-subnet
string
setName
Output only. The resource name of this subnet.
Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names
.
For example: projects/my-project/locations/us-central1-a/privateClouds/my-cloud/subnets/my-subnet
var
string
$this
getIpCidrRange
The IP address range of the subnet in CIDR format '10.0.0.0/24'.
string
setIpCidrRange
The IP address range of the subnet in CIDR format '10.0.0.0/24'.
var
string
$this
getGatewayIp
The IP address of the gateway of this subnet.
Must fall within the IP prefix defined above.
string
setGatewayIp
The IP address of the gateway of this subnet.
Must fall within the IP prefix defined above.
var
string
$this
getType
Output only. The type of the subnet. For example "management" or "userDefined".
string
setType
Output only. The type of the subnet. For example "management" or "userDefined".
var
string
$this
getState
Output only. The state of the resource.
int
setState
Output only. The state of the resource.
var
int
$this