projects

POST /v1/projects/{projectsId}/locations/{locationsId}/assessmentRules

Creates an assessment rule.

Request

  • Base URL
    https://contactcenterinsights.googleapis.com
  • Auth
    OAuth 2 and OAuth 2
    Implicit: https://accounts.google.com/o/oauth2/auth
    Scopes: https://www.googleapis.com/auth/cloud-platform
    Authorization code: https://accounts.google.com/o/oauth2/auth
    Token URL: https://accounts.google.com/o/oauth2/token scopes: https://www.googleapis.com/auth/cloud-platform

Path parameters

projectsIdstring required
locationsIdstring required

Query parameters

assessmentRuleIdstring

Optional. A unique ID for the new AssessmentRule. This ID will become the final component of the AssessmentRule's resource name. If no ID is specified, a server-generated ID will be used. This value should be 4-64 characters and must match the regular expression ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$.

Request body

activeboolean

If true, apply this rule to conversations. Otherwise, this rule is inactive.

createTimestring google-datetime

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

displayNamestring

Display Name of the assessment rule.

namestring

Identifier. The resource name of the assessment rule. Format: projects/{project}/locations/{location}/assessmentRules/{assessment_rule}

satisfiesPziboolean

Output only. Whether this resource is zone isolated.

satisfiesPzsboolean

Output only. Whether this resource is zone separated.

updateTimestring google-datetime

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

Response

Successful response

activeboolean

If true, apply this rule to conversations. Otherwise, this rule is inactive.

createTimestring google-datetime

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

displayNamestring

Display Name of the assessment rule.

namestring

Identifier. The resource name of the assessment rule. Format: projects/{project}/locations/{location}/assessmentRules/{assessment_rule}

satisfiesPziboolean

Output only. Whether this resource is zone isolated.

satisfiesPzsboolean

Output only. Whether this resource is zone separated.

updateTimestring google-datetime

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

Changes

No recorded changes to this operation across all 6 revisions of this API.