UserArgs class

The set of arguments for User. The set of arguments for User.

Constructors

UserArgs({Input<UserDualPasswordType>? dualPasswordType, Input<String>? etag, Input<String>? host, required Input<String> instance, Input<String>? kind, Input<String>? name, Input<String>? password, Input<UserPasswordValidationPolicy>? passwordPolicy, Input<String>? project, Input<SqlServerUserDetails>? sqlserverUserDetails, Input<UserType>? type})
Creates a new UserArgs. 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 Optional. 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
UserArgs.fromMap(Map<String, dynamic> map)
factory

Properties

dualPasswordType → Input<UserDualPasswordType>?
Dual password status for the user.
final
etag → Input<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 → Input<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 → Input<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 → Input<String>?
This is always sql#user.
final
name → Input<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 → Input<String>?
The password for the user.
final
passwordPolicy → Input<UserPasswordValidationPolicy>?
User level password validation policy.
final
project → Input<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 → Input<SqlServerUserDetails>?
final
type → Input<UserType>?
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