UsersLabelsResource class

Constructors

UsersLabelsResource(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

create(Label request, String userId, {String? $fields}) Future<Label>
Creates a new label.
delete(String userId, String id, {String? $fields}) Future<void>
Immediately and permanently deletes the specified label and removes it from any messages and threads that it is applied to.
get(String userId, String id, {String? $fields}) Future<Label>
Gets the specified label.
list(String userId, {String? $fields}) Future<ListLabelsResponse>
Lists all labels in the user's mailbox.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(Label request, String userId, String id, {String? $fields}) Future<Label>
Patch the specified label.
toString() String
A string representation of this object.
inherited
update(Label request, String userId, String id, {String? $fields}) Future<Label>
Updates the specified label.

Operators

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