projects

PATCH /v1/projects/{projectsId}/locations/{locationsId}/autoLabelingRules/{autoLabelingRulesId}

Updates an auto labeling 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
autoLabelingRulesIdstring required

Query parameters

updateMaskstring google-fieldmask

Optional. The list of fields to be updated.

Request body

activeboolean

Whether the rule is active.

createTimestring google-datetime

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

descriptionstring

The description of the rule.

displayNamestring

The user-provided display name of the rule.

labelKeystring

The label key. This is also the {auto_labeling_rule} in the resource name. Only settable if label_key_type is LABEL_KEY_TYPE_CUSTOM.

labelKeyType'LABEL_KEY_TYPE_UNSPECIFIED' | 'LABEL_KEY_TYPE_CUSTOM'

The type of the label key.

namestring

Identifier. The resource name of the auto-labeling rule. Format: projects/{project}/locations/{location}/autoLabelingRules/{auto_labeling_rule}

updateTimestring google-datetime

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

Response

Successful response

activeboolean

Whether the rule is active.

createTimestring google-datetime

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

descriptionstring

The description of the rule.

displayNamestring

The user-provided display name of the rule.

labelKeystring

The label key. This is also the {auto_labeling_rule} in the resource name. Only settable if label_key_type is LABEL_KEY_TYPE_CUSTOM.

labelKeyType'LABEL_KEY_TYPE_UNSPECIFIED' | 'LABEL_KEY_TYPE_CUSTOM'

The type of the label key.

namestring

Identifier. The resource name of the auto-labeling rule. Format: projects/{project}/locations/{location}/autoLabelingRules/{auto_labeling_rule}

updateTimestring google-datetime

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

Changes

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