Method: projects.locations.metadataStores.contexts.patch

Updates a stored Context.

HTTP request

PATCH https://{service-endpoint}/v1beta1/{context.name}

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

Path parameters

Parameters
context.name

string

Output only. The resource name of the Context.

Query parameters

Parameters
updateMask

string (FieldMask format)

Required. A FieldMask indicating which fields should be updated. Functionality of this field is not yet supported.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

allowMissing

boolean

If set to true, and the Context is not found, a new Context is created.

Request body

The request body contains an instance of Context.

Response body

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

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.contexts.update

For more information, see the IAM documentation.