# Google Cloud Dialogflow Cx V3 Client - Class ExportTestCasesRequest (0.11.1)

0.11.1 (latest) 0.11.0 0.10.2 0.9.2 0.8.1 0.7.2 0.6.0 0.5.2 0.4.1 0.3.4 0.2.1 0.1.1 Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class ExportTestCasesRequest.

The request message for
[TestCases.ExportTestCases](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.Client.TestCasesClient#_Google_Cloud_Dialogflow_Cx_V3_Client_TestCasesClient__exportTestCases__).

Generated from protobuf message `google.cloud.dialogflow.cx.v3.ExportTestCasesRequest`

## Namespace

Google \\ Cloud \\ Dialogflow \\ Cx \\ V3

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The agent where to export test cases from. Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`. |
| `↳ gcs_uri` | `string` The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to export the test cases to. The format of this URI must be `gs://<bucket-name>/<object-name>`. If unspecified, the serialized test cases is returned inline. Dialogflow performs a write operation for the Cloud Storage object on the caller's behalf, so your request authentication must have write permissions for the object. For more information, see [Dialogflow access control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage). |
| `↳ data_format` | `int` The data format of the exported test cases. If not specified, `BLOB` is assumed. |
| `↳ filter` | `string` The filter expression used to filter exported test cases, see [API Filtering](https://aip.dev/160). The expression is case insensitive and supports the following syntax: name = |

### getParent

Required. The agent where to export test cases from.

Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.

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

### setParent

Required. The agent where to export test cases from.

Format: `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>`.

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

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

### getGcsUri

The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
export the test cases to. The format of this URI must be
`gs://<bucket-name>/<object-name>`. If unspecified, the serialized test
cases is returned inline.

Dialogflow performs a write operation for the Cloud Storage object
on the caller's behalf, so your request authentication must
have write permissions for the object. For more information, see
[Dialogflow access
control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).

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

### hasGcsUri

### setGcsUri

The [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to
export the test cases to. The format of this URI must be
`gs://<bucket-name>/<object-name>`. If unspecified, the serialized test
cases is returned inline.

Dialogflow performs a write operation for the Cloud Storage object
on the caller's behalf, so your request authentication must
have write permissions for the object. For more information, see
[Dialogflow access
control](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).

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

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

### getDataFormat

The data format of the exported test cases. If not specified, `BLOB` is
assumed.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [DataFormat](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.ExportTestCasesRequest.DataFormat). |

### setDataFormat

The data format of the exported test cases. If not specified, `BLOB` is
assumed.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [DataFormat](https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow-cx/latest/V3.ExportTestCasesRequest.DataFormat). |

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

### getFilter

The filter expression used to filter exported test cases, see
[API Filtering](https://aip.dev/160). The expression is case insensitive
and supports the following syntax:
name =


- "name = t1 OR name = t2" matches the test case with the exact resource name "t1" or "t2".

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

### setFilter

The filter expression used to filter exported test cases, see
[API Filtering](https://aip.dev/160). The expression is case insensitive
and supports the following syntax:
name =


- "name = t1 OR name = t2" matches the test case with the exact resource name "t1" or "t2".

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

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

### getDestination

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