Required. The resource name of the Consent to retrieve, of the form projects/{projectId}/locations/{locationId}/datasets/{datasetId}/consentStores/{consentStoreId}/consents/{consent_id}.
In order to retrieve a previous revision of the Consent, also provide the revision ID: projects/{projectId}/locations/{locationId}/datasets/{datasetId}/consentStores/{consentStoreId}/consents/{consent_id}@{revisionId}
Authorization requires the following IAM permission on the specified resource name:
healthcare.consents.get
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of Consent.
[[["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-07-23 UTC."],[[["\u003cp\u003eThis webpage details the \u003ccode\u003eprojects.locations.datasets.consentStores.consents.get\u003c/code\u003e method, used to retrieve a specific or latest revision of a Consent resource.\u003c/p\u003e\n"],["\u003cp\u003eThe method uses a \u003ccode\u003eGET\u003c/code\u003e request via a URL following gRPC Transcoding syntax, including parameters like \u003ccode\u003ename\u003c/code\u003e to specify the target Consent's location and ID.\u003c/p\u003e\n"],["\u003cp\u003eRetrieving a previous version requires the specific \u003ccode\u003erevisionId\u003c/code\u003e to be provided as part of the name in the URL.\u003c/p\u003e\n"],["\u003cp\u003eA successful request returns an instance of a Consent resource in the response body, and requires the \u003ccode\u003ehealthcare.consents.get\u003c/code\u003e IAM permission for authorization.\u003c/p\u003e\n"],["\u003cp\u003eAuthentication for this method requires either the \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,[]]