GetUserResult class
Result data returned by getUser.
Constructors
- GetUserResult({required String dualPasswordType, required String etag, required String host, required String instance, required String kind, required String name, required String password, required UserPasswordValidationPolicyResponse passwordPolicy, required String project, required SqlServerUserDetailsResponse sqlserverUserDetails, required String type})
-
Creates a new GetUserResult.
dualPasswordTypeDual password status for the user.etagThis field is deprecated and will be removed from a future version of the API.hostOptional. The host from which the user can connect. Forinsertoperations, host defaults to an empty string. Forupdateoperations, host is specified as part of the request URL. The host name cannot be updated after insertion. For a MySQL instance, it's required; for a PostgreSQL or SQL Server instance, it's optional.instanceThe name of the Cloud SQL instance. This does not include the project ID. Can be omitted forupdatebecause it is already specified on the URL.kindThis is alwayssql#user.nameThe name of the user in the Cloud SQL instance. Can be omitted forupdatebecause it is already specified in the URL.passwordThe password for the user.passwordPolicyUser level password validation policy.projectThe project ID of the project containing the Cloud SQL database. The Google apps domain is prefixed if applicable. Can be omitted forupdatebecause it is already specified on the URL.sqlserverUserDetailsRequired.typeThe user type. It determines the method to authenticate the user during login. The default is the database's built-in user type.const -
GetUserResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- dualPasswordType → String
-
Dual password status for the user.
final
- etag → String
-
This field is deprecated and will be removed from a future version of the API.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- host → String
-
Optional. The host from which the user can connect. For
insertoperations, host defaults to an empty string. Forupdateoperations, host is specified as part of the request URL. The host name cannot be updated after insertion. For a MySQL instance, it's required; for a PostgreSQL or SQL Server instance, it's optional.final - instance → String
-
The name of the Cloud SQL instance. This does not include the project ID. Can be omitted for
updatebecause it is already specified on the URL.final - kind → String
-
This is always
sql#user.final - name → String
-
The name of the user in the Cloud SQL instance. Can be omitted for
updatebecause it is already specified in the URL.final - password → String
-
The password for the user.
final
- passwordPolicy → UserPasswordValidationPolicyResponse
-
User level password validation policy.
final
- project → String
-
The project ID of the project containing the Cloud SQL database. The Google apps domain is prefixed if applicable. Can be omitted for
updatebecause it is already specified on the URL.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sqlserverUserDetails → SqlServerUserDetailsResponse
-
final
- type → String
-
The user type. It determines the method to authenticate the user during login. The default is the database's built-in user type.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited