Google BigQuery Connection V1 Client - Class AwsCrossAccountRole (1.5.0)

Reference documentation and code samples for the Google BigQuery Connection V1 Client class AwsCrossAccountRole.

Authentication method for Amazon Web Services (AWS) that uses Google owned AWS IAM user's access key to assume into customer's AWS IAM Role.

Generated from protobuf message google.cloud.bigquery.connection.v1.AwsCrossAccountRole

Namespace

Google \ Cloud \ BigQuery \ Connection \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ iam_role_id string

The user’s AWS IAM Role that trusts the Google-owned AWS IAM user Connection.

↳ iam_user_id string

Output only. Google-owned AWS IAM User for a Connection.

↳ external_id string

Output only. A Google-generated id for representing Connection’s identity in AWS. External Id is also used for preventing the Confused Deputy Problem. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user_externalid.html

getIamRoleId

The user’s AWS IAM Role that trusts the Google-owned AWS IAM user Connection.

Returns
TypeDescription
string

setIamRoleId

The user’s AWS IAM Role that trusts the Google-owned AWS IAM user Connection.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getIamUserId

Output only. Google-owned AWS IAM User for a Connection.

Returns
TypeDescription
string

setIamUserId

Output only. Google-owned AWS IAM User for a Connection.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getExternalId

Output only. A Google-generated id for representing Connection’s identity in AWS. External Id is also used for preventing the Confused Deputy Problem. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user_externalid.html

Returns
TypeDescription
string

setExternalId

Output only. A Google-generated id for representing Connection’s identity in AWS. External Id is also used for preventing the Confused Deputy Problem. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user_externalid.html

Parameter
NameDescription
var string
Returns
TypeDescription
$this