Google Anthos Multi Cloud V1 Client - Class GetAttachedClusterRequest (0.4.4)

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

Request message for AttachedClusters.GetAttachedCluster method.

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

Namespace

Google \ Cloud \ GkeMultiCloud \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

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

getName

Required. The name of the AttachedCluster resource to describe.

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

Returns
TypeDescription
string

setName

Required. The name of the AttachedCluster resource to describe.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. The name of the AttachedCluster resource to describe.

AttachedCluster names are formatted as projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>.

See Resource Names for more details on Google Cloud Platform resource names. Please see Google\Cloud\GkeMultiCloud\V1\AttachedClustersClient::attachedClusterName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\GkeMultiCloud\V1\GetAttachedClusterRequest