v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1380629577.7 KB
projects

Creates a analysis rule.

post/v1/{+parent}/analysisRules

Path parameters

parentstring required

Required. The parent resource of the analysis rule. Required. The location to create a analysis rule for. Format: projects//locations/ or projects//locations/

Request body

analysisPercentagenumber double

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.

updateTimestring google-datetime

Output only. The most recent time at which this analysis rule was updated.

conversationFilterstring

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.

namestring

Identifier. The resource name of the analysis rule. Format: projects/{project}/locations/{location}/analysisRules/{analysis_rule}

createTimestring google-datetime

Output only. The time at which this analysis rule was created.

displayNamestring

Display Name of the analysis rule.

activeboolean

If true, apply this rule to conversations. Otherwise, this rule is inactive and saved as a draft.

Response

Successful response