ProjectsLocationsDatasetsConsentStoresConsentsResource class

Constructors

ProjectsLocationsDatasetsConsentStoresConsentsResource(ApiRequester client)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

activate(ActivateConsentRequest request, String name, {String? $fields}) Future<Consent>
Activates the latest revision of the specified Consent by committing a new revision with state updated to ACTIVE.
create(Consent request, String parent, {String? $fields}) Future<Consent>
Creates a new Consent in the parent consent store.
delete(String name, {String? $fields}) Future<Empty>
Deletes the Consent and its revisions.
deleteRevision(String name, {String? $fields}) Future<Empty>
Deletes the specified revision of a Consent.
get(String name, {String? $fields}) Future<Consent>
Gets the specified revision of a Consent, or the latest revision if revision_id is not specified in the resource name.
list(String parent, {String? filter, int? pageSize, String? pageToken, String? $fields}) Future<ListConsentsResponse>
Lists the Consent in the given consent store, returning each Consent's latest revision.
listRevisions(String name, {String? filter, int? pageSize, String? pageToken, String? $fields}) Future<ListConsentRevisionsResponse>
Lists the revisions of the specified Consent in reverse chronological order.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(Consent request, String name, {String? updateMask, String? $fields}) Future<Consent>
Updates the latest revision of the specified Consent by committing a new revision with the changes.
reject(RejectConsentRequest request, String name, {String? $fields}) Future<Consent>
Rejects the latest revision of the specified Consent by committing a new revision with state updated to REJECTED.
revoke(RevokeConsentRequest request, String name, {String? $fields}) Future<Consent>
Revokes the latest revision of the specified Consent by committing a new revision with state updated to REVOKED.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited