Skip to main content

correlation_config

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

Overview

Namecorrelation_config
TypeResource
Idgoogle.contactcenterinsights.correlation_config

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringImmutable. Identifier. The resource name of the correlation config. Format: projects/{project}/locations/{location}/correlationConfig
createTimestring (google-datetime)Output only. The time at which the correlation config was created.
fullConversationConfigobjectThe correlation type config for full conversations. (id: GoogleCloudContactcenterinsightsV1CorrelationTypeConfig)
updateTimestring (google-datetime)Output only. The time at which the correlation config was last updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_correlation_configselectprojectsId, locationsIdGets correlation config.
update_correlation_configupdateprojectsId, locationsIdupdateMaskUpdates correlation config.

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
updateMaskstring (google-fieldmask)

SELECT examples

Gets correlation config.

SELECT
name,
createTime,
fullConversationConfig,
updateTime
FROM google.contactcenterinsights.correlation_config
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
;

UPDATE examples

Updates correlation config.

UPDATE google.contactcenterinsights.correlation_config
SET
data__name = '{{ name }}',
data__fullConversationConfig = '{{ fullConversationConfig }}'
WHERE
projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND updateMask = '{{ updateMask}}'
RETURNING
name,
createTime,
fullConversationConfig,
updateTime;