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 | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ aws_cluster |
string
Required. The name of the AwsCluster resource to authenticate to. |
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 | |
---|---|
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.
Generated from protobuf field string aws_cluster = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |