v1

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

Creates an assessment rule.

post/v1/{+parent}/assessmentRules

Path parameters

parentstring required

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

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

namestring

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

createTimestring google-datetime

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

updateTimestring google-datetime

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

activeboolean

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

displayNamestring

Display Name of the assessment rule.

Response

Successful response