get | SELECT | consentStoresId, consentsId, datasetsId, locationsId, projectsId | Gets the specified revision of a Consent, or the latest revision if revision_id is not specified in the resource name. |
list | SELECT | consentStoresId, datasetsId, locationsId, projectsId | Lists the Consent in the given consent store, returning each Consent's latest revision. |
create | INSERT | consentStoresId, datasetsId, locationsId, projectsId | Creates a new Consent in the parent consent store. |
delete | DELETE | consentStoresId, consentsId, datasetsId, locationsId, projectsId | Deletes the Consent and its revisions. To keep a record of the Consent but mark it inactive, see [RevokeConsent]. To delete a revision of a Consent, see [DeleteConsentRevision]. This operation does not delete the related Consent artifact. |
_list | EXEC | consentStoresId, datasetsId, locationsId, projectsId | Lists the Consent in the given consent store, returning each Consent's latest revision. |
activate | EXEC | consentStoresId, consentsId, datasetsId, locationsId, projectsId | Activates the latest revision of the specified Consent by committing a new revision with state updated to ACTIVE . If the latest revision of the specified Consent is in the ACTIVE state, no new revision is committed. A FAILED_PRECONDITION error occurs if the latest revision of the specified Consent is in the REJECTED or REVOKED state. |
patch | EXEC | consentStoresId, consentsId, datasetsId, locationsId, projectsId | 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. |
reject | EXEC | consentStoresId, consentsId, datasetsId, locationsId, projectsId | Rejects the latest revision of the specified Consent by committing a new revision with state updated to REJECTED . If the latest revision of the specified Consent is in the REJECTED state, no new revision is committed. A FAILED_PRECONDITION error occurs if the latest revision of the specified Consent is in the ACTIVE or REVOKED state. |
revoke | EXEC | consentStoresId, consentsId, datasetsId, locationsId, projectsId | Revokes the latest revision of the specified Consent by committing a new revision with state updated to REVOKED . If the latest revision of the specified Consent is in the REVOKED state, no new revision is committed. A FAILED_PRECONDITION error occurs if the latest revision of the given consent is in DRAFT or REJECTED state. |