Reference documentation and code samples for the Google Cloud Vmware Engine V1 Client class GetSubnetRequest.
Request message for VmwareEngine.GetSubnet
Generated from protobuf message google.cloud.vmwareengine.v1.GetSubnetRequest
Namespace
Google \ Cloud \ VmwareEngine \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description | 
| data | arrayOptional. Data for populating the Message object. | 
| ↳ name | stringRequired. The resource name of the subnet to retrieve. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example:  | 
getName
Required. The resource name of the subnet to retrieve.
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
| Returns | |
|---|---|
| Type | Description | 
| string | |
setName
Required. The resource name of the subnet to retrieve.
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
| Parameter | |
|---|---|
| Name | Description | 
| var | string | 
| Returns | |
|---|---|
| Type | Description | 
| $this | |
static::build
| Parameter | |
|---|---|
| Name | Description | 
| name | stringRequired. The resource name of the subnet to retrieve.
Resource names are schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names.
For example:
 | 
| Returns | |
|---|---|
| Type | Description | 
| GetSubnetRequest | |