Google Cloud Dialogflow V2 Client - Class ListCompanionAgentsResponse (2.8.0)

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

Response message for ListCompanionAgents.

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

Namespace

Google \ Cloud \ Dialogflow \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ companion_agents array<CompanionAgent>

The list of companion agents.

↳ next_page_token string

Token to retrieve the next page of results, or empty if there are no more results in the list.

getCompanionAgents

The list of companion agents.

Returns
Type Description
Google\Protobuf\RepeatedField<CompanionAgent>

setCompanionAgents

The list of companion agents.

Parameter
Name Description
var array<CompanionAgent>
Returns
Type Description
$this

getNextPageToken

Token to retrieve the next page of results, or empty if there are no more results in the list.

Returns
Type Description
string

setNextPageToken

Token to retrieve the next page of results, or empty if there are no more results in the list.

Parameter
Name Description
var string
Returns
Type Description
$this