Generated from protobuf message google.cloud.dialogflow.cx.v3.ImportTestCasesRequest
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 to import test cases to. Format: projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>.
↳ gcs_uri
string
The Google Cloud Storage URI to import test cases from. The format of this URI must be gs://<bucket-name>/<object-name>. Dialogflow performs a read operation for the Cloud Storage object on the caller's behalf, so your request authentication must have read permissions for the object. For more information, see Dialogflow access control.
The Google Cloud Storage URI
to import test cases from. The format of this URI must be
gs://<bucket-name>/<object-name>.
Dialogflow performs a read operation for the Cloud Storage object
on the caller's behalf, so your request authentication must
have read permissions for the object. For more information, see
Dialogflow access
control.
Returns
Type
Description
string
hasGcsUri
setGcsUri
The Google Cloud Storage URI
to import test cases from. The format of this URI must be
gs://<bucket-name>/<object-name>.
Dialogflow performs a read operation for the Cloud Storage object
on the caller's behalf, so your request authentication must
have read permissions for the object. For more information, see
Dialogflow access
control.
[[["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 ImportTestCasesRequest (0.8.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.8.1 (latest)](/php/docs/reference/cloud-dialogflow-cx/latest/V3.ImportTestCasesRequest)\n- [0.8.0](/php/docs/reference/cloud-dialogflow-cx/0.8.0/V3.ImportTestCasesRequest)\n- [0.7.2](/php/docs/reference/cloud-dialogflow-cx/0.7.2/V3.ImportTestCasesRequest)\n- [0.6.0](/php/docs/reference/cloud-dialogflow-cx/0.6.0/V3.ImportTestCasesRequest)\n- [0.5.2](/php/docs/reference/cloud-dialogflow-cx/0.5.2/V3.ImportTestCasesRequest)\n- [0.4.1](/php/docs/reference/cloud-dialogflow-cx/0.4.1/V3.ImportTestCasesRequest)\n- [0.3.4](/php/docs/reference/cloud-dialogflow-cx/0.3.4/V3.ImportTestCasesRequest)\n- [0.2.1](/php/docs/reference/cloud-dialogflow-cx/0.2.1/V3.ImportTestCasesRequest)\n- [0.1.1](/php/docs/reference/cloud-dialogflow-cx/0.1.1/V3.ImportTestCasesRequest) \nReference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class ImportTestCasesRequest.\n\nThe request message for\n[TestCases.ImportTestCases](/php/docs/reference/cloud-dialogflow-cx/latest/V3.Client.TestCasesClient#_Google_Cloud_Dialogflow_Cx_V3_Client_TestCasesClient__importTestCases__).\n\nGenerated from protobuf message `google.cloud.dialogflow.cx.v3.ImportTestCasesRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Dialogflow \\\\ Cx \\\\ V3\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getParent\n\nRequired. The agent to import test cases to.\n\nFormat: `projects/\u003cProjectID\u003e/locations/\u003cLocationID\u003e/agents/\u003cAgentID\u003e`.\n\n### setParent\n\nRequired. The agent to import test cases to.\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\nto import test cases from. The format of this URI must be\n`gs://\u003cbucket-name\u003e/\u003cobject-name\u003e`.\n\nDialogflow performs a read operation for the Cloud Storage object\non the caller's behalf, so your request authentication must\nhave read 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\nto import test cases from. The format of this URI must be\n`gs://\u003cbucket-name\u003e/\u003cobject-name\u003e`.\n\nDialogflow performs a read operation for the Cloud Storage object\non the caller's behalf, so your request authentication must\nhave read 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### getContent\n\nUncompressed raw byte content for test cases.\n\n### hasContent\n\n### setContent\n\nUncompressed raw byte content for test cases.\n\n### getSource"]]