Method: projects.locations.models.patch
Stay organized with collections
Save and categorize content based on your preferences.
HTTP request
PATCH https://automl.googleapis.com/v1/{model.name}
Path parameters
Parameters |
model.name |
string
Output only. Resource name of the model. Format: projects/{project_id}/locations/{locationId}/models/{modelId}
|
Query parameters
Parameters |
updateMask |
string (FieldMask format)
Required. The update mask applies to the resource. A comma-separated list of fully qualified names of fields. Example: "user.displayName,photo" .
|
Request body
The request body contains an instance of Model
.
Response body
If successful, the response body contains an instance of Model
.
Authorization Scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2019-12-17 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2019-12-17 UTC."],[[["This webpage details how to update a model using the AutoML API via a PATCH HTTP request to a specific URL endpoint."],["The request requires a `model.name` path parameter in the URL, specifying the resource name of the model you wish to update."],["The `updateMask` query parameter is mandatory and defines the fields of the model to be updated, utilizing a FieldMask format."],["The request body must include a `Model` instance containing the updated model data, and a successful response will also return a `Model` instance."],["Authorization to perform this operation requires the `https://www.googleapis.com/auth/cloud-platform` OAuth scope."]]],[]]