UsersResource class

Constructors

UsersResource(ApiRequester client)

Properties

aliases UsersAliasesResource
no setter
hashCode int
The hash code for this object.
no setterinherited
photos UsersPhotosResource
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

delete(String userKey, {String? $fields}) Future<void>
Deletes a user.
get(String userKey, {String? customFieldMask, String? projection, String? viewType, String? $fields}) Future<User>
Retrieves a user.
insert(User request, {bool? resolveConflictAccount, String? $fields}) Future<User>
Creates a user.
list({String? customFieldMask, String? customer, String? domain, String? event, int? maxResults, String? orderBy, String? pageToken, String? projection, String? query, String? showDeleted, String? sortOrder, String? viewType, String? $fields}) Future<Users>
Retrieves a paginated list of either deleted users or all users in a domain.
makeAdmin(UserMakeAdmin request, String userKey, {String? $fields}) Future<void>
Makes a user a super administrator.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
patch(User request, String userKey, {String? $fields}) Future<User>
Updates a user using patch semantics.
signOut(String userKey, {String? $fields}) Future<void>
Signs a user out of all web and device sessions and reset their sign-in cookies.
toString() String
A string representation of this object.
inherited
undelete(UserUndelete request, String userKey, {String? $fields}) Future<void>
Undeletes a deleted user.
update(User request, String userKey, {String? $fields}) Future<User>
Updates a user.
watch(Channel request, {String? customFieldMask, String? customer, String? domain, String? event, int? maxResults, String? orderBy, String? pageToken, String? projection, String? query, String? showDeleted, String? sortOrder, String? viewType, String? $fields}) Future<Channel>
Watches for changes in users list.

Operators

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