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 ExportAppRequest.

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

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

## Namespace

Google \\ Cloud \\ Ces \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. The resource name of the app to export. |
| `↳ export_format` | `int` Required. The format to export the app in. |
| `↳ gcs_uri` | `string` Optional. The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to which to export the app. The format of this URI must be `gs://<bucket-name>/<object-name>`. The exported app archive will be written directly to the specified GCS object. |
| `↳ app_version` | `string` Optional. The resource name of the app version to export. Format: `projects/{project}/locations/{location}/apps/{app}/versions/{version}`. |

### getName

Required. The resource name of the app to export.

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

### setName

Required. The resource name of the app to export.

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

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

### getExportFormat

Required. The format to export the app in.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [ExportFormat](https://docs.cloud.google.com/php/docs/reference/cloud-ces/latest/V1.ExportAppRequest.ExportFormat.md.txt). |

### setExportFormat

Required. The format to export the app in.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [ExportFormat](https://docs.cloud.google.com/php/docs/reference/cloud-ces/latest/V1.ExportAppRequest.ExportFormat.md.txt). |

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

### getGcsUri

Optional. The [Google Cloud
Storage](https://cloud.google.com/storage/docs/) URI to which to export the
app. The format of this URI must be `gs://<bucket-name>/<object-name>`. The
exported app archive will be written directly to the specified GCS object.

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

### setGcsUri

Optional. The [Google Cloud
Storage](https://cloud.google.com/storage/docs/) URI to which to export the
app. The format of this URI must be `gs://<bucket-name>/<object-name>`. The
exported app archive will be written directly to the specified GCS object.

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

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

### getAppVersion

Optional. The resource name of the app version to export.

Format:
`projects/{project}/locations/{location}/apps/{app}/versions/{version}`.

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

### setAppVersion

Optional. The resource name of the app version to export.

Format:
`projects/{project}/locations/{location}/apps/{app}/versions/{version}`.

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

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

### static::build

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The resource name of the app to export. Please see AgentServiceClient::appName() for help formatting this field. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `ExportAppRequest` |   |