Stay organized with collections
Save and categorize content based on your preferences.
Full name: projects.locations.datasets.consentStores.consents.patch
Updates the latest revision of the specified Consent by committing a new revision with the changes. A FAILED_PRECONDITION error occurs if the latest revision of the specified Consent is in the REJECTED or REVOKED state.
Identifier. Resource name of the Consent, of the form projects/{projectId}/locations/{locationId}/datasets/{datasetId}/consentStores/{consentStoreId}/consents/{consentId}. 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-01-28 UTC."],[[["This webpage documents the `projects.locations.datasets.consentStores.consents.patch` method, used to update a Consent resource within the Google Cloud Healthcare API."],["The method commits a new revision to an existing Consent, updating its properties, but it will fail if the Consent's latest revision is `REJECTED` or `REVOKED`."],["The resource name of the Consent is specified in the URL's path parameters, while the fields to be updated are specified by the `updateMask` query parameter."],["Only `userId`, `policies`, `consentArtifact`, and `metadata` fields can be updated, and the request body must include an instance of the `Consent` object with the new information."],["Successfull responses return an instance of the `Consent` resource, and access requires either the `https://www.googleapis.com/auth/cloud-healthcare` or `https://www.googleapis.com/auth/cloud-platform` OAuth scope."]]],[]]