Google Cloud Dialogflow V2 Client - Class ListAnswerRecordsRequest (1.7.2)

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
NameDescription
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
TypeDescription
string

setParent

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

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

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

Returns
TypeDescription
string

setPageToken

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
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
TypeDescription
Google\Cloud\Dialogflow\V2\ListAnswerRecordsRequest