Google Cloud Dialogflow V2 Client - Class DeleteAgentRequest (1.7.2)

Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class DeleteAgentRequest.

The request message for Agents.DeleteAgent.

Generated from protobuf message google.cloud.dialogflow.v2.DeleteAgentRequest

Namespace

Google \ Cloud \ Dialogflow \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The project that the agent to delete is associated with. Format: projects/<Project ID>.

getParent

Required. The project that the agent to delete is associated with.

Format: projects/<Project ID>.

Returns
TypeDescription
string

setParent

Required. The project that the agent to delete is associated with.

Format: projects/<Project ID>.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
parent string

Required. The project that the agent to delete is associated with. Format: projects/<Project ID>. Please see Google\Cloud\Dialogflow\V2\AgentsClient::projectName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\Dialogflow\V2\DeleteAgentRequest