Google Cloud Dialogflow V2 Client - Class ListGeneratorsRequest (1.15.1)

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

Request message of ListGenerators.

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

Namespace

Google \ Cloud \ Dialogflow \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The project/location to list generators for. Format: projects/<Project ID>/locations/<Location ID>

↳ page_size int

Optional. Maximum number of conversation models to return in a single page. Default to 10.

↳ page_token string

Optional. The next_page_token value returned from a previous list request.

getParent

Required. The project/location to list generators for. Format: projects/<Project ID>/locations/<Location ID>

Returns
Type Description
string

setParent

Required. The project/location to list generators for. Format: projects/<Project ID>/locations/<Location ID>

Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

Optional. Maximum number of conversation models to return in a single page.

Default to 10.

Returns
Type Description
int

setPageSize

Optional. Maximum number of conversation models to return in a single page.

Default to 10.

Parameter
Name Description
var int
Returns
Type Description
$this

getPageToken

Optional. The next_page_token value returned from a previous list request.

Returns
Type Description
string

setPageToken

Optional. The next_page_token value returned from a previous list request.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
parent string

Required. The project/location to list generators for. Format: projects/<Project ID>/locations/<Location ID> Please see Google\Cloud\Dialogflow\V2\GeneratorsClient::projectName() for help formatting this field.

Returns
Type Description
Google\Cloud\Dialogflow\V2\ListGeneratorsRequest