Reference documentation and code samples for the BigQuery Connection V1 API class Google::Cloud::Bigquery::Connection::V1::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.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#external_id
defexternal_id()->::String
Returns
(::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
#iam_role_id
defiam_role_id()->::String
Returns
(::String) — The user’s AWS IAM Role that trusts the Google-owned AWS IAM user
Connection.
#iam_role_id=
defiam_role_id=(value)->::String
Parameter
value (::String) — The user’s AWS IAM Role that trusts the Google-owned AWS IAM user
Connection.
Returns
(::String) — The user’s AWS IAM Role that trusts the Google-owned AWS IAM user
Connection.
#iam_user_id
defiam_user_id()->::String
Returns
(::String) — Output only. Google-owned AWS IAM User for a Connection.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# BigQuery Connection V1 API - Class Google::Cloud::Bigquery::Connection::V1::AwsCrossAccountRole (v1.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.0 (latest)](/ruby/docs/reference/google-cloud-bigquery-connection-v1/latest/Google-Cloud-Bigquery-Connection-V1-AwsCrossAccountRole)\n- [1.2.1](/ruby/docs/reference/google-cloud-bigquery-connection-v1/1.2.1/Google-Cloud-Bigquery-Connection-V1-AwsCrossAccountRole)\n- [1.1.0](/ruby/docs/reference/google-cloud-bigquery-connection-v1/1.1.0/Google-Cloud-Bigquery-Connection-V1-AwsCrossAccountRole)\n- [1.0.1](/ruby/docs/reference/google-cloud-bigquery-connection-v1/1.0.1/Google-Cloud-Bigquery-Connection-V1-AwsCrossAccountRole)\n- [0.18.0](/ruby/docs/reference/google-cloud-bigquery-connection-v1/0.18.0/Google-Cloud-Bigquery-Connection-V1-AwsCrossAccountRole)\n- [0.17.2](/ruby/docs/reference/google-cloud-bigquery-connection-v1/0.17.2/Google-Cloud-Bigquery-Connection-V1-AwsCrossAccountRole)\n- [0.16.0](/ruby/docs/reference/google-cloud-bigquery-connection-v1/0.16.0/Google-Cloud-Bigquery-Connection-V1-AwsCrossAccountRole)\n- [0.15.1](/ruby/docs/reference/google-cloud-bigquery-connection-v1/0.15.1/Google-Cloud-Bigquery-Connection-V1-AwsCrossAccountRole)\n- [0.14.0](/ruby/docs/reference/google-cloud-bigquery-connection-v1/0.14.0/Google-Cloud-Bigquery-Connection-V1-AwsCrossAccountRole)\n- [0.13.0](/ruby/docs/reference/google-cloud-bigquery-connection-v1/0.13.0/Google-Cloud-Bigquery-Connection-V1-AwsCrossAccountRole)\n- [0.12.0](/ruby/docs/reference/google-cloud-bigquery-connection-v1/0.12.0/Google-Cloud-Bigquery-Connection-V1-AwsCrossAccountRole)\n- [0.11.0](/ruby/docs/reference/google-cloud-bigquery-connection-v1/0.11.0/Google-Cloud-Bigquery-Connection-V1-AwsCrossAccountRole)\n- [0.10.0](/ruby/docs/reference/google-cloud-bigquery-connection-v1/0.10.0/Google-Cloud-Bigquery-Connection-V1-AwsCrossAccountRole)\n- [0.9.0](/ruby/docs/reference/google-cloud-bigquery-connection-v1/0.9.0/Google-Cloud-Bigquery-Connection-V1-AwsCrossAccountRole)\n- [0.8.0](/ruby/docs/reference/google-cloud-bigquery-connection-v1/0.8.0/Google-Cloud-Bigquery-Connection-V1-AwsCrossAccountRole)\n- [0.7.0](/ruby/docs/reference/google-cloud-bigquery-connection-v1/0.7.0/Google-Cloud-Bigquery-Connection-V1-AwsCrossAccountRole)\n- [0.6.0](/ruby/docs/reference/google-cloud-bigquery-connection-v1/0.6.0/Google-Cloud-Bigquery-Connection-V1-AwsCrossAccountRole)\n- [0.5.3](/ruby/docs/reference/google-cloud-bigquery-connection-v1/0.5.3/Google-Cloud-Bigquery-Connection-V1-AwsCrossAccountRole) \nReference documentation and code samples for the BigQuery Connection V1 API class Google::Cloud::Bigquery::Connection::V1::AwsCrossAccountRole.\n\nAuthentication method for Amazon Web Services (AWS) that uses Google owned\nAWS IAM user's access key to assume into customer's AWS IAM Role. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #external_id\n\n def external_id() -\u003e ::String\n\n**Returns**\n\n- (::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\n\n### #iam_role_id\n\n def iam_role_id() -\u003e ::String\n\n**Returns**\n\n- (::String) --- The user's AWS IAM Role that trusts the Google-owned AWS IAM user Connection.\n\n### #iam_role_id=\n\n def iam_role_id=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- The user's AWS IAM Role that trusts the Google-owned AWS IAM user Connection. \n**Returns**\n\n- (::String) --- The user's AWS IAM Role that trusts the Google-owned AWS IAM user Connection.\n\n### #iam_user_id\n\n def iam_user_id() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Output only. Google-owned AWS IAM User for a Connection."]]