Google Cloud Dialogflow V2 Client - Class ListCompanionAgentsRequest (2.8.0)

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

Request message for ListCompanionAgents.

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

Namespace

Google \ Cloud \ Dialogflow \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent resource name to list the companion agents for. Format: projects/{project}/locations/{location}

↳ page_size int

Optional. Maximum number of companion agents to return in a single page. By default 100 and at most 1000.

↳ page_token string

Optional. The page token, received from a previous call.

getParent

Required. The parent resource name to list the companion agents for.

Format: projects/{project}/locations/{location}

Returns
Type Description
string

setParent

Required. The parent resource name to list the companion agents for.

Format: projects/{project}/locations/{location}

Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

Optional. Maximum number of companion agents to return in a single page.

By default 100 and at most 1000.

Returns
Type Description
int

setPageSize

Optional. Maximum number of companion agents to return in a single page.

By default 100 and at most 1000.

Parameter
Name Description
var int
Returns
Type Description
$this

getPageToken

Optional. The page token, received from a previous call.

Returns
Type Description
string

setPageToken

Optional. The page token, received from a previous call.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
parent string

Required. The parent resource name to list the companion agents for. Format: projects/{project}/locations/{location} Please see CompanionAgentsClient::locationName() for help formatting this field.

Returns
Type Description
ListCompanionAgentsRequest