UsersResource class

Constructors

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

delete(String project, String instance, {String? host, String? location, String? name, String? $fields}) → Future<Operation>
Deletes a user from a Cloud SQL instance.
get(String project, String instance, String name, {String? host, String? location, String? $fields}) → Future<User>
Retrieves a resource containing information about a user.
insert(User request, String project, String instance, {String? location, String? $fields}) → Future<Operation>
Creates a new user in a Cloud SQL instance.
list(String project, String instance, {String? location, String? $fields}) → Future<UsersListResponse>
Lists users in the specified Cloud SQL instance.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
update(User request, String project, String instance, {List<String>? databaseRoles, String? host, String? location, String? name, bool? revokeExistingRoles, bool? revokeExistingServerRoles, List<String>? serverRoles, String? $fields}) → Future<Operation>
Updates an existing user in a Cloud SQL instance.

Operators

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