CorrelationConfig

A configuration that defines how to correlate conversations for a given a given project.

JSON representation
{
  "name": string,
  "createTime": string,
  "updateTime": string,
  "fullConversationConfig": {
    object (CorrelationTypeConfig)
  }
}
Fields
name

string

Immutable. Identifier. The resource name of the correlation config. Format: projects/{project}/locations/{location}/correlationConfig

createTime

string (Timestamp format)

Output only. The time at which the correlation config was created.

Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

updateTime

string (Timestamp format)

Output only. The time at which the correlation config was last updated.

Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

fullConversationConfig

object (CorrelationTypeConfig)

The correlation type config for full conversations.

CorrelationTypeConfig

A list of correlation rules for a given correlation type.

JSON representation
{
  "correlationRules": [
    {
      object (CorrelationRule)
    }
  ]
}
Fields
correlationRules[]

object (CorrelationRule)

A list of correlation rules to be evaluated for correlation.

CorrelationRule

A correlation rule that defines how to join conversations for a given correlation type.

JSON representation
{
  "ruleId": string,
  "active": boolean,
  "joinKeyExpression": string,
  "constraintExpression": string
}
Fields
ruleId

string

Required. The unique identifier of the rule.

active

boolean

Optional. Whether the config is active to be evaluated.

joinKeyExpression

string

Optional. A cel expression (go/cel) to be evaluated as a string value. This string value will be used as the join key for the correlation.

constraintExpression

string

Optional. A cel expression (go/cel) to be evaluated as a boolean value. Two variables conversationA and conversationB will be available for evaluation. This expression should evaluate to true if conversationA and conversationB should be joined. This is used as an extra constraint on top of the joinKeyExpression to further refine the group of conversations that are joined together and will be evaluated in both directions. for two conversations c1 and c2 and the result will be OR'd. We will evaluate: f(c1, c2) OR f(c2, c1)