Method: projects.locations.models.patch

Updates a model.

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.