locations
Creates, updates, deletes, gets or lists a locations
resource.
Overview
Name | locations |
Type | Resource |
Id | google.contactcenterinsights.locations |
Fields
The following fields are returned by SELECT
queries:
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource.
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
bulk_delete_feedback_labels | delete | projectsId , locationsId | Delete feedback labels in bulk using a filter. | |
query_metrics | exec | projectsId , locationsId | Query metrics. | |
query_performance_overview | exec | projectsId , locationsId | Generates a summary of predefined performance metrics for a set of conversations. Conversations can be specified by specifying a time window and an agent id, for now. The summary includes a comparison of metrics computed for conversations in the previous time period, and also a comparison with peers in the same time period. | |
bulk_upload_feedback_labels | exec | projectsId , locationsId | Upload feedback labels from an external source in bulk. Currently supports labeling Quality AI example conversations. | |
bulk_download_feedback_labels | exec | projectsId , locationsId | Download feedback labels in bulk from an external source. Currently supports exporting Quality AI example conversations with transcripts and question bodies. |
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 |
---|---|---|
locationsId | string | |
projectsId | string |
DELETE
examples
- bulk_delete_feedback_labels
Delete feedback labels in bulk using a filter.
DELETE FROM google.contactcenterinsights.locations
WHERE projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required;
Lifecycle Methods
- query_metrics
- query_performance_overview
- bulk_upload_feedback_labels
- bulk_download_feedback_labels
Query metrics.
EXEC google.contactcenterinsights.locations.query_metrics
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required
@@json=
'{
"filter": "{{ filter }}",
"timeGranularity": "{{ timeGranularity }}",
"dimensions": "{{ dimensions }}",
"measureMask": "{{ measureMask }}"
}';
Generates a summary of predefined performance metrics for a set of conversations. Conversations can be specified by specifying a time window and an agent id, for now. The summary includes a comparison of metrics computed for conversations in the previous time period, and also a comparison with peers in the same time period.
EXEC google.contactcenterinsights.locations.query_performance_overview
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required
@@json=
'{
"agentPerformanceSource": "{{ agentPerformanceSource }}",
"filter": "{{ filter }}",
"queryInterval": "{{ queryInterval }}",
"comparisonQueryInterval": "{{ comparisonQueryInterval }}"
}';
Upload feedback labels from an external source in bulk. Currently supports labeling Quality AI example conversations.
EXEC google.contactcenterinsights.locations.bulk_upload_feedback_labels
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required
@@json=
'{
"gcsSource": "{{ gcsSource }}",
"sheetsSource": "{{ sheetsSource }}",
"validateOnly": {{ validateOnly }}
}';
Download feedback labels in bulk from an external source. Currently supports exporting Quality AI example conversations with transcripts and question bodies.
EXEC google.contactcenterinsights.locations.bulk_download_feedback_labels
@projectsId='{{ projectsId }}' --required,
@locationsId='{{ locationsId }}' --required
@@json=
'{
"gcsDestination": "{{ gcsDestination }}",
"sheetsDestination": "{{ sheetsDestination }}",
"parent": "{{ parent }}",
"filter": "{{ filter }}",
"maxDownloadCount": {{ maxDownloadCount }},
"feedbackLabelType": "{{ feedbackLabelType }}",
"conversationFilter": "{{ conversationFilter }}",
"templateQaScorecardId": "{{ templateQaScorecardId }}"
}';