- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Lists views.
HTTP request
GET https://{endpoint}/v1/{parent=projects/*/locations/*}/views
Where {endpoint}
is one of the supported service endpoints.
The URLs use gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The parent resource of the views. |
Query parameters
Parameters | |
---|---|
pageSize |
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 |
pageToken |
The value returned by the last |
Request body
The request body must be empty.
Response body
The response of listing views.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"views": [
{
object ( |
Fields | |
---|---|
views[] |
The views that match the request. |
nextPageToken |
A token, which can be sent as |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent
resource:
contactcenterinsights.views.list
For more information, see the IAM documentation.