Google Anthos Multi Cloud V1 Client - Class GetAwsClusterRequest (0.3.0)

Reference documentation and code samples for the Google Anthos Multi Cloud V1 Client class GetAwsClusterRequest.

Request message for AwsClusters.GetAwsCluster method.

Generated from protobuf message google.cloud.gkemulticloud.v1.GetAwsClusterRequest

Methods

build

Parameter
NameDescription
name string

Required. The name of the AwsCluster resource to describe.

AwsCluster names are formatted as projects/<project-id>/locations/<region>/awsClusters/<cluster-id>.

See Resource Names for more details on Google Cloud Platform resource names. Please see {@see \Google\Cloud\GkeMultiCloud\V1\AwsClustersClient::awsClusterName()} for help formatting this field.

Returns
TypeDescription
Google\Cloud\GkeMultiCloud\V1\GetAwsClusterRequest

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the AwsCluster resource to describe. AwsCluster names are formatted as projects/<project-id>/locations/<region>/awsClusters/<cluster-id>. See Resource Names for more details on Google Cloud Platform resource names.

getName

Required. The name of the AwsCluster resource to describe.

AwsCluster names are formatted as projects/<project-id>/locations/<region>/awsClusters/<cluster-id>. See Resource Names for more details on Google Cloud Platform resource names.

Returns
TypeDescription
string

setName

Required. The name of the AwsCluster resource to describe.

AwsCluster names are formatted as projects/<project-id>/locations/<region>/awsClusters/<cluster-id>. See Resource Names for more details on Google Cloud Platform resource names.

Parameter
NameDescription
var string
Returns
TypeDescription
$this