Skip to main content

issues

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

Overview

Nameissues
TypeResource
Idgoogle.contactcenterinsights.issues

Fields

NameDatatypeDescription
namestringImmutable. The resource name of the issue. Format: projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue}
createTimestringOutput only. The time at which this issue was created.
displayDescriptionstringRepresentative description of the issue.
displayNamestringThe representative name for the issue.
sampleUtterancesarrayOutput only. Resource names of the sample representative utterances that match to this issue.
updateTimestringOutput only. The most recent time that this issue was updated.

Methods

NameAccessible byRequired ParamsDescription
getSELECTissueModelsId, issuesId, locationsId, projectsIdGets an issue.
listSELECTissueModelsId, locationsId, projectsIdLists issues.
deleteDELETEissueModelsId, issuesId, locationsId, projectsIdDeletes an issue.
patchUPDATEissueModelsId, issuesId, locationsId, projectsIdUpdates an issue.

SELECT examples

Lists issues.

SELECT
name,
createTime,
displayDescription,
displayName,
sampleUtterances,
updateTime
FROM google.contactcenterinsights.issues
WHERE issueModelsId = '{{ issueModelsId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';

UPDATE example

Updates a issues resource.

/*+ update */
UPDATE google.contactcenterinsights.issues
SET
name = '{{ name }}',
displayDescription = '{{ displayDescription }}',
displayName = '{{ displayName }}'
WHERE
issueModelsId = '{{ issueModelsId }}'
AND issuesId = '{{ issuesId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';

DELETE example

Deletes the specified issues resource.

/*+ delete */
DELETE FROM google.contactcenterinsights.issues
WHERE issueModelsId = '{{ issueModelsId }}'
AND issuesId = '{{ issuesId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';