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

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

setParent

Required. The parent resource of the views.

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

static::build

Parameter
NameDescription
parent string

Required. The parent resource of the views. Please see Google\Cloud\ContactCenterInsights\V1\ContactCenterInsightsClient::locationName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\ContactCenterInsights\V1\ListViewsRequest