Google Cloud Dialogflow Cx V3 Client - Class BatchDeleteTestCasesRequest (0.4.0)

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

The request message for TestCases.BatchDeleteTestCases.

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

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

↳ names array

Required. Format of test case names: projects/<Project ID>/locations/ <Location ID>/agents/<AgentID>/testCases/<TestCase ID>.

getParent

Required. The agent to delete test cases from.

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

Returns
Type Description
string

setParent

Required. The agent to delete test cases from.

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

Parameter
Name Description
var string
Returns
Type Description
$this

getNames

Required. Format of test case names: projects/<Project ID>/locations/ <Location ID>/agents/<AgentID>/testCases/<TestCase ID>.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setNames

Required. Format of test case names: projects/<Project ID>/locations/ <Location ID>/agents/<AgentID>/testCases/<TestCase ID>.

Parameter
Name Description
var string[]
Returns
Type Description
$this

static::build

Parameter
Name Description
parent string

Required. The agent to delete test cases from. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>. Please see Google\Cloud\Dialogflow\Cx\V3\TestCasesClient::agentName() for help formatting this field.

Returns
Type Description
Google\Cloud\Dialogflow\Cx\V3\BatchDeleteTestCasesRequest