v1

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

Updates an auto labeling rule.

patch/v1/{+name}

Path parameters

namestring required

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

Query parameters

updateMaskstring

Optional. The list of fields to be updated.

conversationAutoLabelingUpdateConfig.allowAutoLabelingUpdateboolean

Optional. If set to true, the conversation will be updated with auto labeling results.

updateMaskstring

The list of fields to be updated. All possible fields can be updated by passing *, or a subset of the following updateable fields can be provided: * agent_id * language_code * labels * metadata * quality_metadata * call_metadata * start_time * expire_time or ttl * data_source.gcs_source.audio_uri or * data_source.dialogflow_source.audio_uri * data_source.screen_recordings

Request body

labelKeyType'LABEL_KEY_TYPE_UNSPECIFIED' | 'LABEL_KEY_TYPE_CUSTOM'

The type of the label key.

updateTimestring google-datetime

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

createTimestring google-datetime

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

activeboolean

Whether the rule is active.

descriptionstring

The description 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.

namestring

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

displayNamestring

The user-provided display name of the rule.

Response

Successful response