Method: projects.locations.extensions.patch

Updates an Extension.

HTTP request

PATCH http://{service-endpoint}/v1beta1/{extension.name}

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

Path parameters

Parameters
extension.name

string

Identifier. The resource name of the Extension.

Query parameters

Parameters
updateMask

string (FieldMask format)

Required. Mask specifying which fields to update. Supported fields:

  • displayName
  • description
  • toolUseExamples

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 Extension.

Response body

If successful, the response body contains an instance of Extension.

Authorization scopes

Requires the following OAuth scope:

  • http://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.extensions.update

For more information, see the IAM documentation.