Google Cloud Dialogflow Cx V3 Client - Class ExportTestCasesRequest (0.2.1)

Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class ExportTestCasesRequest.

The request message for TestCases.ExportTestCases.

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

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The agent where to export test cases from. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

↳ gcs_uri string

The Google Cloud Storage 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.

↳ 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. The expression is case insensitive and supports the following syntax: name =

getParent

Required. The agent where to export test cases from.

Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

Returns
TypeDescription
string

setParent

Required. The agent where to export test cases from.

Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getGcsUri

The Google Cloud Storage 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.

Returns
TypeDescription
string

hasGcsUri

setGcsUri

The Google Cloud Storage 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.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDataFormat

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

Returns
TypeDescription
int

setDataFormat

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

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getFilter

The filter expression used to filter exported test cases, see API 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
TypeDescription
string

setFilter

The filter expression used to filter exported test cases, see API 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".
Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDestination

Returns
TypeDescription
string