[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-27 UTC."],[],[],null,["# Method: contexts.patch\n\n**Full name**: projects.locations.metadataStores.contexts.patch\n\nUpdates a stored Context. \n\n### Endpoint\n\npatch `https:``/``/{service-endpoint}``/v1beta1``/{context.name}` \n`PATCH https://{service-endpoint}/v1beta1/{context.name}`\n\nWhere `{service-endpoint}` is one of the [supported service endpoints](/vertex-ai/docs/reference/rest#rest_endpoints).\n\n### Path parameters\n\n`context.name` `string` \nImmutable. The resource name of the Context.\n\n### Query parameters\n\n`updateMask` `string (`[FieldMask](https://protobuf.dev/reference/protobuf/google.protobuf/#field-mask)` format)` \nOptional. A FieldMask indicating which fields should be updated.\n\nThis is a comma-separated list of fully qualified names of fields. Example: `\"user.displayName,photo\"`.\n`allowMissing` `boolean` \nIf set to true, and the [Context](/vertex-ai/docs/reference/rest/v1beta1/projects.locations.metadataStores.contexts#Context) is not found, a new [Context](/vertex-ai/docs/reference/rest/v1beta1/projects.locations.metadataStores.contexts#Context) is created.\n\n### Request body\n\nThe request body contains an instance of [Context](/vertex-ai/docs/reference/rest/v1beta1/projects.locations.metadataStores.contexts#Context). \n\n### Response body\n\nIf successful, the response body contains an instance of [Context](/vertex-ai/docs/reference/rest/v1beta1/projects.locations.metadataStores.contexts#Context)."]]