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. dualPasswordType Dual password status for the user. etag This field is deprecated and will be removed from a future version of the API. host Optional. The host from which the user can connect. For insert operations, host defaults to an empty string. For update operations, 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. instance The name of the Cloud SQL instance. This does not include the project ID. Can be omitted for update because it is already specified on the URL. kind This is always sql#user. name The name of the user in the Cloud SQL instance. Can be omitted for update because it is already specified in the URL. password The password for the user. passwordPolicy User level password validation policy. project The project ID of the project containing the Cloud SQL database. The Google apps domain is prefixed if applicable. Can be omitted for update because it is already specified on the URL. sqlserverUserDetails Required. type The 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 insert operations, host defaults to an empty string. For update operations, 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 update because 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 update because 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 update because 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