# BigQuery Connection V1 API - Class Google::Cloud::Bigquery::Connection::V1::AwsProperties (v1.7.0)

1.7.0 (latest) 1.6.0 1.5.0 1.4.1 1.3.0 1.2.1 1.1.0 1.0.1 0.18.0 0.17.2 0.16.0 0.15.1 0.14.0 0.13.0 0.12.0 0.11.0 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.3 Reference documentation and code samples for the BigQuery Connection V1 API class Google::Cloud::Bigquery::Connection::V1::AwsProperties.

Connection properties specific to Amazon Web Services (AWS).

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #access_role

    def access_role() -> ::Google::Cloud::Bigquery::Connection::V1::AwsAccessRole

**Returns**

- ([::Google::Cloud::Bigquery::Connection::V1::AwsAccessRole](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-connection-v1/latest/Google-Cloud-Bigquery-Connection-V1-AwsAccessRole)) --- Authentication using Google owned service account to assume into customer's AWS IAM Role.


  Note: The following fields are mutually exclusive: `access_role`, `cross_account_role`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #access_role=

    def access_role=(value) -> ::Google::Cloud::Bigquery::Connection::V1::AwsAccessRole

**Parameter**

- **value** ([::Google::Cloud::Bigquery::Connection::V1::AwsAccessRole](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-connection-v1/latest/Google-Cloud-Bigquery-Connection-V1-AwsAccessRole)) --- Authentication using Google owned service account to assume into customer's AWS IAM Role.


  Note: The following fields are mutually exclusive: `access_role`, `cross_account_role`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Bigquery::Connection::V1::AwsAccessRole](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-connection-v1/latest/Google-Cloud-Bigquery-Connection-V1-AwsAccessRole)) --- Authentication using Google owned service account to assume into customer's AWS IAM Role.


  Note: The following fields are mutually exclusive: `access_role`, `cross_account_role`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #cross_account_role

    def cross_account_role() -> ::Google::Cloud::Bigquery::Connection::V1::AwsCrossAccountRole

**Returns**

- ([::Google::Cloud::Bigquery::Connection::V1::AwsCrossAccountRole](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-connection-v1/latest/Google-Cloud-Bigquery-Connection-V1-AwsCrossAccountRole)) --- Authentication using Google owned AWS IAM user's access key to assume into customer's AWS IAM Role. Deprecated, do not use.


  Note: The following fields are mutually exclusive: `cross_account_role`, `access_role`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #cross_account_role=

    def cross_account_role=(value) -> ::Google::Cloud::Bigquery::Connection::V1::AwsCrossAccountRole

**Parameter**

- **value** ([::Google::Cloud::Bigquery::Connection::V1::AwsCrossAccountRole](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-connection-v1/latest/Google-Cloud-Bigquery-Connection-V1-AwsCrossAccountRole)) --- Authentication using Google owned AWS IAM user's access key to assume into customer's AWS IAM Role. Deprecated, do not use.


  Note: The following fields are mutually exclusive: `cross_account_role`, `access_role`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Bigquery::Connection::V1::AwsCrossAccountRole](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-bigquery-connection-v1/latest/Google-Cloud-Bigquery-Connection-V1-AwsCrossAccountRole)) --- Authentication using Google owned AWS IAM user's access key to assume into customer's AWS IAM Role. Deprecated, do not use.


  Note: The following fields are mutually exclusive: `cross_account_role`, `access_role`. If a field in that set is populated, all other fields in the set will automatically be cleared.