Google Cloud Contact Center Insights V1 Client - Class ListViewsRequest (2.1.0)

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

The request to list views.

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

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 views.

↳ page_size int

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

↳ page_token string

The value returned by the last ListViewsResponse; indicates that this is a continuation of a prior ListViews call and the system should return the next page of data.

getParent

Required. The parent resource of the views.

Returns
Type Description
string

setParent

Required. The parent resource of the views.

Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

The maximum number of views to return in the response. If this value is zero, the service will select a default size. A call may 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

The maximum number of views to return in the response. If this value is zero, the service will select a default size. A call may 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

The value returned by the last ListViewsResponse; indicates that this is a continuation of a prior ListViews call and the system should return the next page of data.

Returns
Type Description
string

setPageToken

The value returned by the last ListViewsResponse; indicates that this is a continuation of a prior ListViews call and 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 views. Please see Google\Cloud\ContactCenterInsights\V1\ContactCenterInsightsClient::locationName() for help formatting this field.

Returns
Type Description
Google\Cloud\ContactCenterInsights\V1\ListViewsRequest