Full name: projects.locations.datasets.consentStores.consents.create
Creates a new Consent
in the parent consent store
.
HTTP request
POST 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. Authorization requires the following IAM permission on the specified resource
|
Request body
The request body contains an instance of Consent
.
Response body
If successful, the response body contains a newly created instance of Consent
.
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.