- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
Updates the CustomClass
.
HTTP request
PATCH https://{endpoint}/v2/{customClass.name=projects/*/locations/*/customClasses/*}
Where {endpoint}
is one of the supported service endpoints.
The URLs use gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
custom |
Output only. Identifier. The resource name of the CustomClass. Format: |
Query parameters
Parameters | |
---|---|
update |
The list of fields to be updated. If empty, all fields are considered for update. This is a comma-separated list of fully qualified names of fields. Example: |
validate |
If set, validate the request and preview the updated CustomClass, but do not actually update it. |
Request body
The request body contains an instance of CustomClass
.
Response body
If successful, the response body contains an instance of Operation
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the name
resource:
speech.customClasses.update
For more information, see the IAM documentation.