Method: projects.locations.consumerEnforcementActions.patch

更新现有的 ConsumerEnforcementAction 资源。

HTTP 请求

PATCH https://commerceproducer.googleapis.com/v1beta/{consumerEnforcementAction.name=projects/*/locations/*/consumerEnforcementActions/*}

网址采用 gRPC 转码语法。

路径参数

参数
consumerEnforcementAction.name

string

标识符。ConsumerEnforcementAction 资源的名称。

格式:projects/{project}/locations/{location}/consumerEnforcementActions/{consumerEnforcementAction}

查询参数

参数
updateMask

string (FieldMask format)

可选。字段掩码,用于指定更新将在 ConsumerEnforcementAction 资源中覆盖的字段。

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

请求正文

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

响应正文

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

授权范围

需要以下 OAuth 范围:

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

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