Google Cloud Dialogflow Cx V3 Client - Class ListSessionEntityTypesRequest (0.4.1)

Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class ListSessionEntityTypesRequest.

The request message for SessionEntityTypes.ListSessionEntityTypes.

Generated from protobuf message google.cloud.dialogflow.cx.v3.ListSessionEntityTypesRequest

Namespace

Google \ Cloud \ Dialogflow \ Cx \ V3

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The session to list all session entity types from. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/sessions/<Session ID> or projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>. If Environment ID is not specified, we assume default 'draft' environment.

↳ page_size int

The maximum number of items to return in a single page. By default 100 and at most 1000.

↳ page_token string

The next_page_token value returned from a previous list request.

getParent

Required. The session to list all session entity types from.

Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/sessions/<Session ID> or projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>. If Environment ID is not specified, we assume default 'draft' environment.

Returns
Type Description
string

setParent

Required. The session to list all session entity types from.

Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/sessions/<Session ID> or projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>. If Environment ID is not specified, we assume default 'draft' environment.

Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

The maximum number of items to return in a single page. By default 100 and at most 1000.

Returns
Type Description
int

setPageSize

The maximum number of items to return in a single page. By default 100 and at most 1000.

Parameter
Name Description
var int
Returns
Type Description
$this

getPageToken

The next_page_token value returned from a previous list request.

Returns
Type Description
string

setPageToken

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 session to list all session entity types from. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/sessions/<Session ID> or projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>/environments/<Environment ID>/sessions/<Session ID>. If Environment ID is not specified, we assume default 'draft' environment. Please see Google\Cloud\Dialogflow\Cx\V3\SessionEntityTypesClient::sessionName() for help formatting this field.

Returns
Type Description
Google\Cloud\Dialogflow\Cx\V3\ListSessionEntityTypesRequest