Google Cloud Vmware Engine V1 Client - Class GetClusterRequest (1.1.2)

Reference documentation and code samples for the Google Cloud Vmware Engine V1 Client class GetClusterRequest.

Request message for VmwareEngine.GetCluster

Generated from protobuf message google.cloud.vmwareengine.v1.GetClusterRequest

Namespace

Google \ Cloud \ VmwareEngine \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The cluster resource name 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/clusters/my-cluster

getName

Required. The cluster resource name 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/clusters/my-cluster

Returns
Type Description
string

setName

Required. The cluster resource name 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/clusters/my-cluster

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The cluster resource name 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/clusters/my-cluster Please see VmwareEngineClient::clusterName() for help formatting this field.

Returns
Type Description
GetClusterRequest