Method: projects.locations.autoLabelingRules.patch

更新自动标签规则。

HTTP 请求

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

其中 {endpoint} 是受支持的服务端点之一。

网址使用 gRPC 转码语法。

路径参数

参数
autoLabelingRule.name

string

标识符。自动标签规则的资源名称。格式:projects/{project}/locations/{location}/autoLabelingRules/{autoLabelingRule}

查询参数

参数
updateMask

string (FieldMask format)

可选。要更新的字段的列表。

这是完全限定字段名称的逗号分隔列表。示例:"user.displayName,photo"。

请求正文

请求正文包含一个 AutoLabelingRule 实例。

响应正文

如果成功,则响应正文包含一个 AutoLabelingRule 实例。

授权范围

需要以下 OAuth 范围:

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

如需了解详情,请参阅 Authentication Overview。