0.6.0 (latest) 0.5.0 0.4.4 0.3.0 0.2.0 0.1.1 Reference documentation and code samples for the Google Cloud Ces V1 Client class CreateAppVersionRequest.

Request message for
[AgentService.CreateAppVersion](https://docs.cloud.google.com/php/docs/reference/cloud-ces/latest/V1.Client.AgentServiceClient.md.txt#_Google_Cloud_Ces_V1_Client_AgentServiceClient__createAppVersion__)

Generated from protobuf message `google.cloud.ces.v1.CreateAppVersionRequest`

## Namespace

Google \\ Cloud \\ Ces \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The resource name of the app to create an app version in. |
| `↳ app_version_id` | `string` Optional. The ID to use for the app version, which will become the final component of the app version's resource name. If not provided, a unique ID will be automatically assigned for the app version. |
| `↳ app_version` | `AppVersion` Required. The app version to create. |

### getParent

Required. The resource name of the app to create an app version in.

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

### setParent

Required. The resource name of the app to create an app version in.

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

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

### getAppVersionId

Optional. The ID to use for the app version, which will become the final
component of the app version's resource name. If not provided, a unique ID
will be automatically assigned for the app version.

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

### setAppVersionId

Optional. The ID to use for the app version, which will become the final
component of the app version's resource name. If not provided, a unique ID
will be automatically assigned for the app version.

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

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

### getAppVersion

Required. The app version to create.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `AppVersion|null` |   |

### hasAppVersion

### clearAppVersion

### setAppVersion

Required. The app version to create.

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

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The resource name of the app to create an app version in. Please see AgentServiceClient::appName() for help formatting this field. |
| `appVersion` | `AppVersion` Required. The app version to create. |
| `appVersionId` | `string` Optional. The ID to use for the app version, which will become the final component of the app version's resource name. If not provided, a unique ID will be automatically assigned for the app version. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `CreateAppVersionRequest` |   |

### static::buildFromParentAppVersion

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `string` Required. The resource name of the app to create an app version in. Please see AgentServiceClient::appName() for help formatting this field. |
| `appVersion` | `AppVersion` Required. The app version to create. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `CreateAppVersionRequest` |   |