Google Anthos Multi Cloud V1 Client - Class GenerateAwsAccessTokenRequest (0.1.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

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.

Generated from protobuf field string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

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.

Generated from protobuf field string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Parameter
NameDescription
var string
Returns
TypeDescription
$this