- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization Scopes
- Try it!
Updates a specific model resource.
Currently the only supported fields to update are description
and defaultVersion.name
.
HTTP request
PATCH https://{endpoint}/v1/{name=projects/*/models/*}
Where {endpoint}
is one of the supported service endpoints.
The URLs use gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. The project name. Authorization requires the following IAM permission on the specified resource
|
Query parameters
Parameters | |
---|---|
updateMask |
Required. Specifies the path, relative to For example, to change the description of a model to "foo" and set its default version to "version_1", the Currently the supported update masks are A comma-separated list of fully qualified names of fields. Example: |
Request body
The request body contains an instance of Model
.
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.