Method: models.patch Stay organized with collections Save and categorize content based on your preferences.
Full name: projects.locations.models.patch
Updates a Model.
Endpoint
patchhttps://{service-endpoint}/v1/{model.name} PATCH https://{service-endpoint}/v1/{model.name}
Where{service-endpoint} is one of thesupported service endpoints.
Path parameters
model.namestringThe resource name of the Model.
Query parameters
updateMaskstring (FieldMask format)Required. The update mask applies to the resource. For theFieldMask definition, seegoogle.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 ofModel.
Response body
If successful, the response body contains an instance ofModel.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-27 UTC.