Method: projects.locations.autoLabelingRules.patch

Updates an auto labeling rule.

HTTP request

PATCH https://{endpoint}/v1alpha1/{autoLabelingRule.name=projects/*/locations/*/autoLabelingRules/*}

Where {endpoint} is one of the supported service endpoints.

The URLs use gRPC Transcoding syntax.

Path parameters

Parameters
autoLabelingRule.name

string

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

Query parameters

Parameters
updateMask

string (FieldMask format)

Optional. The list of fields to be updated.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of AutoLabelingRule.

Response body

If successful, the response body contains an instance of AutoLabelingRule.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.