2.11.0 (latest) 2.10.3 2.7.0 2.6.2 2.5.0 2.4.0 2.3.0 2.2.1 2.1.2 2.0.2 1.3.5 1.2.3 1.1.2 1.0.3 Reference documentation and code samples for the Google BigQuery Reservation V1 Client class UpdateReservationRequest.

The request for
[ReservationService.UpdateReservation](https://docs.cloud.google.com/php/docs/reference/cloud-bigquery-reservation/latest/V1.Client.ReservationServiceClient#_Google_Cloud_BigQuery_Reservation_V1_Client_ReservationServiceClient__updateReservation__).

Generated from protobuf message `google.cloud.bigquery.reservation.v1.UpdateReservationRequest`

## Namespace

Google \\ Cloud \\ BigQuery \\ Reservation \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ reservation` | `https://docs.cloud.google.com/php/docs/reference/cloud-bigquery-reservation/latest/V1.Reservation` Content of the reservation to update. |
| `↳ update_mask` | `Google\Protobuf\FieldMask` Standard field mask for the set of fields to be updated. |

### getReservation

Content of the reservation to update.

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

### hasReservation

### clearReservation

### setReservation

Content of the reservation to update.

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

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

### getUpdateMask

Standard field mask for the set of fields to be updated.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Protobuf\FieldMask|null` |   |

### hasUpdateMask

### clearUpdateMask

### setUpdateMask

Standard field mask for the set of fields to be updated.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Protobuf\FieldMask` |

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `reservation` | `https://docs.cloud.google.com/php/docs/reference/cloud-bigquery-reservation/latest/V1.Reservation` Content of the reservation to update. |
| `updateMask` | `Google\Protobuf\FieldMask` Standard field mask for the set of fields to be updated. |

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