[[["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-04 UTC."],[],[],null,["# Google BigQuery Connection V1 Client - Class AwsAccessRole (2.0.5)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.5 (latest)](/php/docs/reference/cloud-bigquery-connection/latest/V1.AwsAccessRole)\n- [2.0.4](/php/docs/reference/cloud-bigquery-connection/2.0.4/V1.AwsAccessRole)\n- [1.5.5](/php/docs/reference/cloud-bigquery-connection/1.5.5/V1.AwsAccessRole)\n- [1.4.1](/php/docs/reference/cloud-bigquery-connection/1.4.1/V1.AwsAccessRole)\n- [1.3.1](/php/docs/reference/cloud-bigquery-connection/1.3.1/V1.AwsAccessRole)\n- [1.2.2](/php/docs/reference/cloud-bigquery-connection/1.2.2/V1.AwsAccessRole)\n- [1.1.0](/php/docs/reference/cloud-bigquery-connection/1.1.0/V1.AwsAccessRole)\n- [1.0.3](/php/docs/reference/cloud-bigquery-connection/1.0.3/V1.AwsAccessRole) \nReference documentation and code samples for the Google BigQuery Connection V1 Client class AwsAccessRole.\n\nAuthentication method for Amazon Web Services (AWS) that uses Google owned\nGoogle service account to assume into customer's AWS IAM Role.\n\nGenerated from protobuf message `google.cloud.bigquery.connection.v1.AwsAccessRole`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ BigQuery \\\\ Connection \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getIamRoleId\n\nThe user's AWS IAM Role that trusts the Google-owned AWS IAM user\nConnection.\n\n### setIamRoleId\n\nThe user's AWS IAM Role that trusts the Google-owned AWS IAM user\nConnection.\n\n### getIdentity\n\nA unique Google-owned and Google-generated identity for the Connection.\n\nThis identity will be used to access the user's AWS IAM Role.\n\n### setIdentity\n\nA unique Google-owned and Google-generated identity for the Connection.\n\nThis identity will be used to access the user's AWS IAM Role."]]