Google Cloud Dialogflow Cx V3 Client - Class ImportTestCasesRequest (0.1.0)

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

The request message for TestCases.ImportTestCases.

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

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 to import test cases to. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

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

↳ content string

Uncompressed raw byte content for test cases.

getParent

Required. The agent to import test cases to.

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

Returns
TypeDescription
string

setParent

Required. The agent to import test cases to.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getGcsUri

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getContent

Uncompressed raw byte content for test cases.

Returns
TypeDescription
string

hasContent

setContent

Uncompressed raw byte content for test cases.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSource

Returns
TypeDescription
string