Required. The resource name of the Consent to retrieve, of the form projects/{projectId}/locations/{locationId}/datasets/{datasetId}/consentStores/{consentStoreId}/consents/{consentId}.
In order to retrieve a previous revision of the Consent, also provide the revision ID: projects/{projectId}/locations/{locationId}/datasets/{datasetId}/consentStores/{consentStoreId}/consents/{consentId}@{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-01-28 UTC."],[[["This webpage details the `projects.locations.datasets.consentStores.consents.get` method, used to retrieve a specific or latest revision of a Consent resource."],["The method uses a `GET` request via a URL following gRPC Transcoding syntax, including parameters like `name` to specify the target Consent's location and ID."],["Retrieving a previous version requires the specific `revisionId` to be provided as part of the name in the URL."],["A successful request returns an instance of a Consent resource in the response body, and requires the `healthcare.consents.get` IAM permission for authorization."],["Authentication for this method requires either the `https://www.googleapis.com/auth/cloud-healthcare` or `https://www.googleapis.com/auth/cloud-platform` OAuth scope."]]],[]]