Method: projects.locations.models.patch

Updates a Model.

HTTP request

PATCH https://{service-endpoint}/v1/{model.name}

Where {service-endpoint} is one of the supported service endpoints.

Path parameters

Parameters
model.name

string

The resource name of the Model.

Query parameters

Parameters
updateMask

string (FieldMask format)

Required. The update mask applies to the resource. For the FieldMask definition, see google.protobuf.FieldMask.

This is 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.

IAM Permissions

Requires the following IAM permission on the name resource:

  • aiplatform.models.update

For more information, see the IAM documentation.