Google Cloud Vmware Engine V1 Client - Class GetSubnetRequest (0.3.3)

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 \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

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

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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

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 Please see Google\Cloud\VmwareEngine\V1\VmwareEngineClient::subnetName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\VmwareEngine\V1\GetSubnetRequest