correlation_config
Creates, updates, deletes, gets or lists a correlation_config resource.
Overview
| Name | correlation_config |
| Type | Resource |
| Id | google.contactcenterinsights.correlation_config |
Fields
The following fields are returned by SELECT queries:
- get_correlation_config
| Name | Datatype | Description |
|---|---|---|
name | string | Immutable. Identifier. The resource name of the correlation config. Format: projects/{project}/locations/{location}/correlationConfig |
createTime | string (google-datetime) | Output only. The time at which the correlation config was created. |
fullConversationConfig | object | The correlation type config for full conversations. (id: GoogleCloudContactcenterinsightsV1CorrelationTypeConfig) |
updateTime | string (google-datetime) | Output only. The time at which the correlation config was last updated. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_correlation_config | select | projectsId, locationsId | Gets correlation config. | |
update_correlation_config | update | projectsId, locationsId | updateMask | Updates 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.
| Name | Datatype | Description |
|---|---|---|
locationsId | string | |
projectsId | string | |
updateMask | string (google-fieldmask) |
SELECT examples
- get_correlation_config
Gets correlation config.
SELECT
name,
createTime,
fullConversationConfig,
updateTime
FROM google.contactcenterinsights.correlation_config
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
;
UPDATE examples
- update_correlation_config
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;