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

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
NameDescription
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
TypeDescription
string

setParent

Required. The agent to delete test cases from.

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getNames

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

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setNames

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

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
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
TypeDescription
Google\Cloud\Dialogflow\Cx\V3\BatchDeleteTestCasesRequest