Google Cloud Contact Center Insights V1 Client - Class ListQaQuestionsRequest (2.2.0)

Reference documentation and code samples for the Google Cloud Contact Center Insights V1 Client class ListQaQuestionsRequest.

Request to list QaQuestions.

Generated from protobuf message google.cloud.contactcenterinsights.v1.ListQaQuestionsRequest

Namespace

Google \ Cloud \ ContactCenterInsights \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent resource of the questions.

↳ page_size int

Optional. The maximum number of questions to return in the response. If the value is zero, the service will select a default size. A call might return fewer objects than requested. A non-empty next_page_token in the response indicates that more data is available.

↳ page_token string

Optional. The value returned by the last ListQaQuestionsResponse. This value indicates that this is a continuation of a prior ListQaQuestions call and that the system should return the next page of data.

getParent

Required. The parent resource of the questions.

Returns
Type Description
string

setParent

Required. The parent resource of the questions.

Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

Optional. The maximum number of questions to return in the response. If the value is zero, the service will select a default size. A call might return fewer objects than requested. A non-empty next_page_token in the response indicates that more data is available.

Returns
Type Description
int

setPageSize

Optional. The maximum number of questions to return in the response. If the value is zero, the service will select a default size. A call might return fewer objects than requested. A non-empty next_page_token in the response indicates that more data is available.

Parameter
Name Description
var int
Returns
Type Description
$this

getPageToken

Optional. The value returned by the last ListQaQuestionsResponse. This value indicates that this is a continuation of a prior ListQaQuestions call and that the system should return the next page of data.

Returns
Type Description
string

setPageToken

Optional. The value returned by the last ListQaQuestionsResponse. This value indicates that this is a continuation of a prior ListQaQuestions call and that the system should return the next page of data.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
parent string

Required. The parent resource of the questions. Please see ContactCenterInsightsClient::qaScorecardRevisionName() for help formatting this field.

Returns
Type Description
ListQaQuestionsRequest