Google Anthos Multi Cloud V1 Client - Class GenerateAwsAccessTokenRequest (0.2.3)

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

Request message for AwsClusters.GenerateAwsAccessToken method.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ aws_cluster string

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

getAwsCluster

Required. The name of the AwsCluster resource to authenticate to.

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

Returns
TypeDescription
string

setAwsCluster

Required. The name of the AwsCluster resource to authenticate to.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this