Method: projects.locations.customClasses.patch

更新自定义类。

HTTP 请求

PATCH https://speech.googleapis.com/v1p1beta1/{customClass.name=projects/*/locations/*/customClasses/*}

网址采用 gRPC 转码语法。

路径参数

参数
customClass.name

string

自定义类的资源名称。

查询参数

参数
updateMask

string (FieldMask format)

要更新的字段的列表。

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

请求正文

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

响应正文

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

授权范围

需要以下 OAuth 范围:

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

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