User class

A Cloud SQL user resource.

Constructors

User({List<String>? databaseRoles, String? dualPasswordType, String? etag, String? host, String? iamEmail, String? iamStatus, String? instance, String? kind, String? name, String? password, UserPasswordValidationPolicy? passwordPolicy, String? project, List<String>? serverRoles, SqlServerUserDetails? sqlserverUserDetails, String? type})
User.fromJson(Map json_)

Properties

databaseRoles ↔ List<String>?
Role memberships of the user
getter/setter pair
dualPasswordType ↔ String?
Dual password status for the user. Possible string values are:
getter/setter pair
etag ↔ String?
This field is deprecated and will be removed from a future version of the API.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
host ↔ String?
The host from which the user can connect.
getter/setter pair
iamEmail ↔ String?
The full email for an IAM user.
getter/setter pair
iamStatus ↔ String?
Indicates if a group is active or inactive for IAM database authentication. Possible string values are:
getter/setter pair
instance ↔ String?
The name of the Cloud SQL instance.
getter/setter pair
kind ↔ String?
This is always sql#user.
getter/setter pair
name ↔ String?
The name of the user in the Cloud SQL instance.
getter/setter pair
password ↔ String?
The password for the user.
getter/setter pair
passwordPolicy ↔ UserPasswordValidationPolicy?
User level password validation policy.
getter/setter pair
project ↔ String?
The project ID of the project containing the Cloud SQL database.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serverRoles ↔ List<String>?
The server roles for the SQL Server login.
getter/setter pair
sqlserverUserDetails ↔ SqlServerUserDetails?
getter/setter pair
type ↔ String?
The user type.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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