2.2.3 (latest) 2.1.3 2.0.4 1.3.5 1.2.2 1.1.1 1.0.6 Reference documentation and code samples for the Google Cloud Appengine Admin V1 Client class UpdateVersionRequest.

Request message for `Versions.UpdateVersion`.

Generated from protobuf message `google.appengine.v1.UpdateVersionRequest`

## Namespace

Google \\ Cloud \\ AppEngine \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Name of the resource to update. Example: `apps/myapp/services/default/versions/1`. |
| `↳ version` | `https://docs.cloud.google.com/php/docs/reference/cloud-appengine-admin/latest/V1.Version` A Version containing the updated resource. Only fields set in the field mask will be updated. |
| `↳ update_mask` | `Google\Protobuf\FieldMask` Standard field mask for the set of fields to be updated. |

### getName

Name of the resource to update. Example:
`apps/myapp/services/default/versions/1`.

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

### setName

Name of the resource to update. Example:
`apps/myapp/services/default/versions/1`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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

### getVersion

A Version containing the updated resource. Only fields set in the field
mask will be updated.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-appengine-admin/latest/V1.Version|null` |   |

### hasVersion

### clearVersion

### setVersion

A Version containing the updated resource. Only fields set in the field
mask will be updated.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-appengine-admin/latest/V1.Version` |

| **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` |   |