authorized_view_sets
Creates, updates, deletes, gets or lists an authorized_view_sets
resource.
Overview
Name | authorized_view_sets |
Type | Resource |
Id | google.contactcenterinsights.authorized_view_sets |
Fields
The following fields are returned by SELECT
queries:
- get
- list
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Identifier. The resource name of the AuthorizedViewSet. Format: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set} |
createTime | string (google-datetime) | Output only. Create time. |
displayName | string | Display Name. Limit 64 characters. |
updateTime | string (google-datetime) | Output only. Update time. |
Successful response
Name | Datatype | Description |
---|---|---|
name | string | Identifier. The resource name of the AuthorizedViewSet. Format: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set} |
createTime | string (google-datetime) | Output only. Create time. |
displayName | string | Display Name. Limit 64 characters. |
updateTime | string (google-datetime) | Output only. Update time. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
get | select | projectsId , locationsId , authorizedViewSetsId | Get AuthorizedViewSet | |
list | select | projectsId , locationsId | pageSize , pageToken , filter , orderBy | List AuthorizedViewSets |
create | insert | projectsId , locationsId | authorizedViewSetId | Create AuthorizedViewSet |
patch | update | projectsId , locationsId , authorizedViewSetsId | updateMask | Updates an AuthorizedViewSet. |
delete | delete | projectsId , locationsId , authorizedViewSetsId | force | Deletes an AuthorizedViewSet. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
authorizedViewSetsId | string | |
locationsId | string | |
projectsId | string | |
authorizedViewSetId | string | |
filter | string | |
force | boolean | |
orderBy | string | |
pageSize | integer (int32) | |
pageToken | string | |
updateMask | string (google-fieldmask) |
SELECT
examples
- get
- list
Get AuthorizedViewSet
SELECT
name,
createTime,
displayName,
updateTime
FROM google.contactcenterinsights.authorized_view_sets
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND authorizedViewSetsId = '{{ authorizedViewSetsId }}' -- required;
List AuthorizedViewSets
SELECT
name,
createTime,
displayName,
updateTime
FROM google.contactcenterinsights.authorized_view_sets
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
AND filter = '{{ filter }}'
AND orderBy = '{{ orderBy }}';
INSERT
examples
- create
- Manifest
Create AuthorizedViewSet
INSERT INTO google.contactcenterinsights.authorized_view_sets (
data__name,
data__displayName,
projectsId,
locationsId,
authorizedViewSetId
)
SELECT
'{{ name }}',
'{{ displayName }}',
'{{ projectsId }}',
'{{ locationsId }}',
'{{ authorizedViewSetId }}'
RETURNING
name,
createTime,
displayName,
updateTime
;
# Description fields are for documentation purposes
- name: authorized_view_sets
props:
- name: projectsId
value: string
description: Required parameter for the authorized_view_sets resource.
- name: locationsId
value: string
description: Required parameter for the authorized_view_sets resource.
- name: name
value: string
description: >
Identifier. The resource name of the AuthorizedViewSet. Format: projects/{project}/locations/{location}/authorizedViewSets/{authorized_view_set}
- name: displayName
value: string
description: >
Display Name. Limit 64 characters.
- name: authorizedViewSetId
value: string
UPDATE
examples
- patch
Updates an AuthorizedViewSet.
UPDATE google.contactcenterinsights.authorized_view_sets
SET
data__name = '{{ name }}',
data__displayName = '{{ displayName }}'
WHERE
projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND authorizedViewSetsId = '{{ authorizedViewSetsId }}' --required
AND updateMask = '{{ updateMask}}'
RETURNING
name,
createTime,
displayName,
updateTime;
DELETE
examples
- delete
Deletes an AuthorizedViewSet.
DELETE FROM google.contactcenterinsights.authorized_view_sets
WHERE projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND authorizedViewSetsId = '{{ authorizedViewSetsId }}' --required
AND force = '{{ force }}';