Full name: projects.locations.datasets.consentStores.consents.patch
Updates the latest revision of the specified Consent
by committing a new revision with the changes. A FAILED_PRECONDITION
error occurs if the latest revision of the specified Consent is in the REJECTED
or REVOKED
state.
HTTP request
PATCH https://healthcare.googleapis.com/v1beta1/{consent.name=projects/*/locations/*/datasets/*/consentStores/*/consents/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
consent.name |
Identifier. Resource name of the Consent, of the form |
Query parameters
Parameters | |
---|---|
updateMask |
Required. The update mask to apply to the resource. For the This is a comma-separated list of fully qualified names of fields. Example: |
Request body
The request body contains an instance of Consent
.
Response body
If successful, the response body contains an 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.