Method: projects.locations.views.list

Lists views.

HTTP request

GET https://contactcenterinsights.googleapis.com/v1/{parent=projects/*/locations/*}/views

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent resource of the views.

Query parameters

Parameters
pageSize

integer

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 nextPageToken in the response indicates that more data is available.

pageToken

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.

Request body

The request body must be empty.

Response body

If successful, the response body contains data with the following structure:

The response of listing views.

JSON representation
{
  "views": [
    {
      object (View)
    }
  ],
  "nextPageToken": string
}
Fields
views[]

object (View)

The views that match the request.

nextPageToken

string

A token, which can be sent as pageToken to retrieve the next page. If this field is omitted, there are no subsequent pages.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.