Identifier. Resource name of the consent store, of the form projects/{projectId}/locations/{locationId}/datasets/{datasetId}/consentStores/{consentStoreId}. Cannot be changed after creation.
[[["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."],[[["\u003cp\u003eThis webpage documents the \u003ccode\u003eprojects.locations.datasets.consentStores.patch\u003c/code\u003e method, which is used to update an existing consent store resource.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003econsentStore.name\u003c/code\u003e path parameter, a unique identifier for the consent store, is required and cannot be changed after creation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eupdateMask\u003c/code\u003e query parameter is required, specifying which fields (\u003ccode\u003elabels\u003c/code\u003e, \u003ccode\u003edefaultConsentTtl\u003c/code\u003e, and \u003ccode\u003eenableConsentCreateOnUpdate\u003c/code\u003e) of the consent store are to be updated.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must contain a \u003ccode\u003eConsentStore\u003c/code\u003e instance with the desired updated values, and a successful update will return the modified \u003ccode\u003eConsentStore\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eTo make an update request, you need either \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-healthcare\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,["# Method: consentStores.patch\n\n**Full name**: projects.locations.datasets.consentStores.patch\n\nUpdates the specified [consent store](/healthcare-api/docs/reference/rest/v1/projects.locations.datasets.consentStores#ConsentStore).\n\n### HTTP request\n\n`PATCH https://healthcare.googleapis.com/v1/{consentStore.name=projects/*/locations/*/datasets/*/consentStores/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\n\n### Request body\n\nThe request body contains an instance of [ConsentStore](/healthcare-api/docs/reference/rest/v1/projects.locations.datasets.consentStores#ConsentStore).\n\n### Response body\n\nIf successful, the response body contains an instance of [ConsentStore](/healthcare-api/docs/reference/rest/v1/projects.locations.datasets.consentStores#ConsentStore).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/cloud-healthcare`\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]