Resource: AnalysisRule
The CCAI Insights project wide analysis rule. This rule will be applied to all conversations that match the filter defined in the rule. For a conversation matches the filter, the annotators specified in the rule will be run. If a conversation matches multiple rules, a union of all the annotators will be run. One project can have multiple analysis rules.
JSON representation |
---|
{
"name": string,
"createTime": string,
"updateTime": string,
"conversationFilter": string,
"annotatorSelector": {
object ( |
Fields | |
---|---|
name |
Identifier. The resource name of the analysis rule. Format: projects/{project}/locations/{location}/analysisRules/{analysisRule} |
createTime |
Output only. The time at which this analysis rule was created. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
updateTime |
Output only. The most recent time at which this analysis rule was updated. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
conversationFilter |
Filter for the conversations that should apply this analysis rule. An empty filter means this analysis rule applies to all conversations. Refer to https://cloud.google.com/contact-center/insights/docs/filtering for details. |
annotatorSelector |
Selector of annotators to run and the phrase matchers to use for conversations that matches the conversationFilter. If not specified, NO annotators will be run. |
analysisPercentage |
Percentage of conversations that we should apply this analysis setting automatically, between [0, 1]. For example, 0.1 means 10%. Conversations are sampled in a determenestic way. The original runtime_percentage & upload percentage will be replaced by defining filters on the conversation. |
active |
If true, apply this rule to conversations. Otherwise, this rule is inactive and saved as a draft. |
displayName |
Display Name of the analysis rule. |
Methods |
|
---|---|
|
Creates a analysis rule. |
|
Deletes a analysis rule. |
|
Get a analysis rule. |
|
Lists analysis rules. |
|
Updates a analysis rule. |