Google Cloud Dialogflow V2 Client - Class ListAnswerRecordsRequest (1.12.3)

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

Request message for AnswerRecords.ListAnswerRecords.

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

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 to list all answer records for in reverse chronological order. Format: projects/<Project ID>/locations/<Location ID>.

↳ filter string

Optional. Filters to restrict results to specific answer records. Marked deprecated as it hasn't been, and isn't currently, supported. For more information about filtering, see API Filtering.

↳ page_size int

Optional. The maximum number of records to return in a single page. The server may return fewer records than this. If unspecified, we use 10. The maximum is 100.

↳ page_token string

Optional. The ListAnswerRecordsResponse.next_page_token value returned from a previous list request used to continue listing on the next page.

getParent

Required. The project to list all answer records for in reverse chronological order. Format: projects/<Project ID>/locations/<Location ID>.

Returns
Type Description
string

setParent

Required. The project to list all answer records for in reverse chronological order. Format: projects/<Project ID>/locations/<Location ID>.

Parameter
Name Description
var string
Returns
Type Description
$this

getFilter

Optional. Filters to restrict results to specific answer records.

Marked deprecated as it hasn't been, and isn't currently, supported. For more information about filtering, see API Filtering.

Returns
Type Description
string

setFilter

Optional. Filters to restrict results to specific answer records.

Marked deprecated as it hasn't been, and isn't currently, supported. For more information about filtering, see API Filtering.

Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

Optional. The maximum number of records to return in a single page.

The server may return fewer records than this. If unspecified, we use 10. The maximum is 100.

Returns
Type Description
int

setPageSize

Optional. The maximum number of records to return in a single page.

The server may return fewer records than this. If unspecified, we use 10. The maximum is 100.

Parameter
Name Description
var int
Returns
Type Description
$this

getPageToken

Optional. The ListAnswerRecordsResponse.next_page_token value returned from a previous list request used to continue listing on the next page.

Returns
Type Description
string

setPageToken

Optional. The ListAnswerRecordsResponse.next_page_token value returned from a previous list request used to continue listing on the next page.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
parent string

Required. The project to list all answer records for in reverse chronological order. Format: projects/<Project ID>/locations/<Location ID>. Please see Google\Cloud\Dialogflow\V2\AnswerRecordsClient::projectName() for help formatting this field.

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