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

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

Namespace

Google \ Cloud \ GkeMultiCloud \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
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
Name Description
var string
Returns
Type Description
$this