Google Cloud Dialogflow V2 Client - Class GetAgentRequest (1.2.0)

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

The request message for Agents.GetAgent.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

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

getParent

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

Format: projects/<Project ID>.

Returns
TypeDescription
string

setParent

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

Format: projects/<Project ID>.

Parameter
NameDescription
var string
Returns
TypeDescription
$this