# Google BigQuery Connection V1 Client - Class AwsProperties (2.1.3)

2.1.3 (latest) 2.1.2 2.0.5 1.5.5 1.4.1 1.3.1 1.2.2 1.1.0 1.0.3 Reference documentation and code samples for the Google BigQuery Connection V1 Client class AwsProperties.

Connection properties specific to Amazon Web Services (AWS).

Generated from protobuf message `google.cloud.bigquery.connection.v1.AwsProperties`

## Namespace

Google \\ Cloud \\ BigQuery \\ Connection \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ cross_account_role` | `https://docs.cloud.google.com/php/docs/reference/cloud-bigquery-connection/latest/V1.AwsCrossAccountRole` Authentication using Google owned AWS IAM user's access key to assume into customer's AWS IAM Role. Deprecated, do not use. |
| `↳ access_role` | `https://docs.cloud.google.com/php/docs/reference/cloud-bigquery-connection/latest/V1.AwsAccessRole` Authentication using Google owned service account to assume into customer's AWS IAM Role. |

### getCrossAccountRole

Authentication using Google owned AWS IAM user's access key to assume
into customer's AWS IAM Role.

Deprecated, do not use.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-bigquery-connection/latest/V1.AwsCrossAccountRole|null` |   |

### hasCrossAccountRole

### setCrossAccountRole

Authentication using Google owned AWS IAM user's access key to assume
into customer's AWS IAM Role.

Deprecated, do not use.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-bigquery-connection/latest/V1.AwsCrossAccountRole` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getAccessRole

Authentication using Google owned service account to assume into
customer's AWS IAM Role.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-bigquery-connection/latest/V1.AwsAccessRole|null` |   |

### hasAccessRole

### setAccessRole

Authentication using Google owned service account to assume into
customer's AWS IAM Role.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-bigquery-connection/latest/V1.AwsAccessRole` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getAuthenticationMethod

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |