Skip to main content

locations

Creates, updates, deletes, gets or lists a locations resource.

Overview

Namelocations
TypeResource
Idgoogle.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:

NameAccessible byRequired ParamsOptional ParamsDescription
bulk_delete_feedback_labelsdeleteprojectsId, locationsIdDelete feedback labels in bulk using a filter.
bulk_download_feedback_labelsexecprojectsId, locationsIdDownload feedback labels in bulk from an external source. Currently supports exporting Quality AI example conversations with transcripts and question bodies.
query_performance_overviewexecprojectsId, locationsIdGenerates 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_labelsexecprojectsId, locationsIdUpload feedback labels from an external source in bulk. Currently supports labeling Quality AI example conversations.
query_metricsexecprojectsId, locationsIdQuery metrics.

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.

NameDatatypeDescription
locationsIdstring
projectsIdstring

DELETE examples

Delete feedback labels in bulk using a filter.

DELETE FROM google.contactcenterinsights.locations
WHERE projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
;

Lifecycle Methods

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=
'{
"maxDownloadCount": {{ maxDownloadCount }},
"feedbackLabelType": "{{ feedbackLabelType }}",
"parent": "{{ parent }}",
"sheetsDestination": "{{ sheetsDestination }}",
"filter": "{{ filter }}",
"conversationFilter": "{{ conversationFilter }}",
"gcsDestination": "{{ gcsDestination }}",
"templateQaScorecardId": "{{ templateQaScorecardId }}"
}'
;