# Google Cloud BigQuery Data Exchange V1beta1 Client - Class UpdateDataExchangeRequest (0.6.3)

0.6.3 (latest) 0.6.2 0.5.2 0.4.7 0.3.3 0.2.6

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Cloud BigQuery Data Exchange V1beta1 Client class UpdateDataExchangeRequest.

Message for updating a data exchange.

Generated from protobuf message `google.cloud.bigquery.dataexchange.v1beta1.UpdateDataExchangeRequest`

## Namespace

Google \\ Cloud \\ BigQuery \\ DataExchange \\ V1beta1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ update_mask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` Required. Field mask specifies the fields to update in the data exchange resource. The fields specified in the `updateMask` are relative to the resource and are not a full request. |
| `↳ data_exchange` | `https://docs.cloud.google.com/php/docs/reference/cloud-bigquery-data-exchange/latest/V1beta1.DataExchange` Required. The data exchange to update. |

### getUpdateMask

Required. Field mask specifies the fields to update in the data exchange
resource. The fields specified in the
`updateMask` are relative to the resource and are not a full request.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask|null` |   |

### hasUpdateMask

### clearUpdateMask

### setUpdateMask

Required. Field mask specifies the fields to update in the data exchange
resource. The fields specified in the
`updateMask` are relative to the resource and are not a full request.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` |

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

### getDataExchange

Required. The data exchange to update.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-bigquery-data-exchange/latest/V1beta1.DataExchange|null` |   |

### hasDataExchange

### clearDataExchange

### setDataExchange

Required. The data exchange to update.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-bigquery-data-exchange/latest/V1beta1.DataExchange` |

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `dataExchange` | `https://docs.cloud.google.com/php/docs/reference/cloud-bigquery-data-exchange/latest/V1beta1.DataExchange` Required. The data exchange to update. |
| `updateMask` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/FieldMask` Required. Field mask specifies the fields to update in the data exchange resource. The fields specified in the `updateMask` are relative to the resource and are not a full request. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-bigquery-data-exchange/latest/V1beta1.UpdateDataExchangeRequest` |   |