Google Cloud Dialogflow V2 Client - Class GetCompanionAgentRequest (2.8.0)

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

Request message for GetCompanionAgent.

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

Namespace

Google \ Cloud \ Dialogflow \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. The unique resource identifier of the CompanionAgent to get all information for. Format: projects/{project}/locations/{location}/companionAgents/{companion_agent}. Contains the information about the {project}, {location}, and {companion_agent}.

getName

Required. The unique resource identifier of the CompanionAgent to get all information for. Format: projects/{project}/locations/{location}/companionAgents/{companion_agent}.

Contains the information about the {project}, {location}, and {companion_agent}.

Returns
Type Description
string

setName

Required. The unique resource identifier of the CompanionAgent to get all information for. Format: projects/{project}/locations/{location}/companionAgents/{companion_agent}.

Contains the information about the {project}, {location}, and {companion_agent}.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name string

Required. The unique resource identifier of the CompanionAgent to get all information for. Format: projects/{project}/locations/{location}/companionAgents/{companion_agent}. Contains the information about the {project}, {location}, and {companion_agent}. Please see CompanionAgentsClient::companionAgentName() for help formatting this field.

Returns
Type Description
GetCompanionAgentRequest