Full name: projects.locations.datasets.consentStores.consents.list
Lists the Consent
in the given consent store
, returning each Consent's latest revision.
HTTP request
GET https://healthcare.googleapis.com/v1beta1/{parent=projects/*/locations/*/datasets/*/consentStores/*}/consents
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. Name of the consent store to retrieve Consents from. Authorization requires the following IAM permission on the specified resource
|
Query parameters
Parameters | |
---|---|
pageSize |
Optional. Limit on the number of Consents to return in a single response. If not specified, 100 is used. May not be larger than 1000. |
pageToken |
Optional. The nextPageToken value returned from the previous List request, if any. |
filter |
Optional. Restricts the consents returned to those matching a filter. The following syntax is available:
The fields 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 Consents. The maximum number of Consents returned is determined by the value of pageSize in the ListConsentsRequest. |
nextPageToken |
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.