Generated from protobuf messagegoogle.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
TheGoogle Cloud StorageURI to export the test cases to. The format of this URI must begs://<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, seeDialogflow access control.
↳ data_format
int
The data format of the exported test cases. If not specified,BLOBis assumed.
↳ filter
string
The filter expression used to filter exported test cases, seeAPI Filtering. The expression is case insensitive and supports the following syntax: name =
getParent
Required. The agent where to export test cases from.
TheGoogle Cloud StorageURI to
export the test cases to. The format of this URI must begs://<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, seeDialogflow access
control.
Returns
Type
Description
string
hasGcsUri
setGcsUri
TheGoogle Cloud StorageURI to
export the test cases to. The format of this URI must begs://<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, seeDialogflow access
control.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getDataFormat
The data format of the exported test cases. If not specified,BLOBis
assumed.
Returns
Type
Description
int
setDataFormat
The data format of the exported test cases. If not specified,BLOBis
assumed.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getFilter
The filter expression used to filter exported test cases, seeAPI Filtering. 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, seeAPI Filtering. 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".
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Dialogflow Cx V3 Client - Class ExportTestCasesRequest (0.8.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.8.1 (latest)](/php/docs/reference/cloud-dialogflow-cx/latest/V3.ExportTestCasesRequest)\n- [0.8.0](/php/docs/reference/cloud-dialogflow-cx/0.8.0/V3.ExportTestCasesRequest)\n- [0.7.2](/php/docs/reference/cloud-dialogflow-cx/0.7.2/V3.ExportTestCasesRequest)\n- [0.6.0](/php/docs/reference/cloud-dialogflow-cx/0.6.0/V3.ExportTestCasesRequest)\n- [0.5.2](/php/docs/reference/cloud-dialogflow-cx/0.5.2/V3.ExportTestCasesRequest)\n- [0.4.1](/php/docs/reference/cloud-dialogflow-cx/0.4.1/V3.ExportTestCasesRequest)\n- [0.3.4](/php/docs/reference/cloud-dialogflow-cx/0.3.4/V3.ExportTestCasesRequest)\n- [0.2.1](/php/docs/reference/cloud-dialogflow-cx/0.2.1/V3.ExportTestCasesRequest)\n- [0.1.1](/php/docs/reference/cloud-dialogflow-cx/0.1.1/V3.ExportTestCasesRequest) \nReference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class ExportTestCasesRequest.\n\nThe request message for\n[TestCases.ExportTestCases](/php/docs/reference/cloud-dialogflow-cx/latest/V3.Client.TestCasesClient#_Google_Cloud_Dialogflow_Cx_V3_Client_TestCasesClient__exportTestCases__).\n\nGenerated from protobuf message `google.cloud.dialogflow.cx.v3.ExportTestCasesRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dialogflow \\\\ Cx \\\\ V3\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. The agent where to export test cases from.\n\nFormat: `projects/\u003cProjectID\u003e/locations/\u003cLocationID\u003e/agents/\u003cAgentID\u003e`.\n\n### setParent\n\nRequired. The agent where to export test cases from.\n\nFormat: `projects/\u003cProjectID\u003e/locations/\u003cLocationID\u003e/agents/\u003cAgentID\u003e`.\n\n### getGcsUri\n\nThe [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to\nexport the test cases to. The format of this URI must be\n`gs://\u003cbucket-name\u003e/\u003cobject-name\u003e`. If unspecified, the serialized test\ncases is returned inline.\n\nDialogflow performs a write operation for the Cloud Storage object\non the caller's behalf, so your request authentication must\nhave write permissions for the object. For more information, see\n[Dialogflow access\ncontrol](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).\n\n### hasGcsUri\n\n### setGcsUri\n\nThe [Google Cloud Storage](https://cloud.google.com/storage/docs/) URI to\nexport the test cases to. The format of this URI must be\n`gs://\u003cbucket-name\u003e/\u003cobject-name\u003e`. If unspecified, the serialized test\ncases is returned inline.\n\nDialogflow performs a write operation for the Cloud Storage object\non the caller's behalf, so your request authentication must\nhave write permissions for the object. For more information, see\n[Dialogflow access\ncontrol](https://cloud.google.com/dialogflow/cx/docs/concept/access-control#storage).\n\n### getDataFormat\n\nThe data format of the exported test cases. If not specified, `BLOB` is\nassumed.\n\n### setDataFormat\n\nThe data format of the exported test cases. If not specified, `BLOB` is\nassumed.\n\n### getFilter\n\nThe filter expression used to filter exported test cases, see\n[API Filtering](https://aip.dev/160). The expression is case insensitive\nand supports the following syntax:\nname =\n\n\n- \"name = t1 OR name = t2\" matches the test case with the exact resource name \"t1\" or \"t2\".\n\n### setFilter\n\nThe filter expression used to filter exported test cases, see\n[API Filtering](https://aip.dev/160). The expression is case insensitive\nand supports the following syntax:\nname =\n\n\n- \"name = t1 OR name = t2\" matches the test case with the exact resource name \"t1\" or \"t2\".\n\n### getDestination"]]