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

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

↳ content
string

Uncompressed raw byte content for test cases.

getParent

Required. The agent to import test cases to.

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

Returns
Type
Description
string

setParent

Required. The agent to import test cases to.

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

Parameter
Name
Description
var
string
Returns
Type
Description
$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
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 .

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getContent

Uncompressed raw byte content for test cases.

Returns
Type
Description
string

hasContent

setContent

Uncompressed raw byte content for test cases.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getSource

Returns
Type
Description
string
Design a Mobile Site
View Site in Mobile | Classic
Share by: