Google Anthos Multi Cloud V1 Client - Class AwsServicesAuthentication (0.1.4)

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

Authentication configuration for the management of AWS resources.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ role_arn string

Required. The Amazon Resource Name (ARN) of the role that the Anthos Multi-Cloud API will assume when managing AWS resources on your account.

↳ role_session_name string

Optional. An identifier for the assumed role session. When unspecified, it defaults to multicloud-service-agent.

getRoleArn

Required. The Amazon Resource Name (ARN) of the role that the Anthos Multi-Cloud API will assume when managing AWS resources on your account.

Generated from protobuf field string role_arn = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
string

setRoleArn

Required. The Amazon Resource Name (ARN) of the role that the Anthos Multi-Cloud API will assume when managing AWS resources on your account.

Generated from protobuf field string role_arn = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getRoleSessionName

Optional. An identifier for the assumed role session.

When unspecified, it defaults to multicloud-service-agent.

Generated from protobuf field string role_session_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
string

setRoleSessionName

Optional. An identifier for the assumed role session.

When unspecified, it defaults to multicloud-service-agent.

Generated from protobuf field string role_session_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
var string
Returns
TypeDescription
$this