Full name: projects.locations.datasets.consentStores.consents.listRevisions
Lists the revisions of the specified Consent
in reverse chronological order.
HTTP request
GET https://healthcare.googleapis.com/v1beta1/{name=projects/*/locations/*/datasets/*/consentStores/*/consents/*}:listRevisions
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. The resource name of the Consent to retrieve revisions for. Authorization requires the following IAM permission on the specified resource
|
Query parameters
Parameters | |
---|---|
page |
Optional. Limit on the number of revisions to return in a single response. If not specified, 100 is used. May not be larger than 1000. |
page |
Optional. Token to retrieve the next page of results or empty if there are no more results in the list. |
filter |
Optional. Restricts the revisions returned to those matching a filter. The following syntax is available:
Fields/functions available for filtering are:
|
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"consents": [
{
object( |
Fields | |
---|---|
consents[] |
The returned Consent revisions. The maximum number of revisions returned is determined by the value of |
next |
Token to retrieve the next page of results, or empty if there are no more results in the list. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-healthcare
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.