Method: consents.get

Full name: projects.locations.datasets.consentStores.consents.get

Gets the specified revision of a Consent, or the latest revision if revisionId is not specified in the resource name.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



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.

Authorization scopes

Requires one of the following OAuth scopes:


For more information, see the Authentication Overview.