UserArgs constructor

const UserArgs({
  1. Input<UserDualPasswordType>? dualPasswordType,
  2. Input<String>? etag,
  3. Input<String>? host,
  4. required Input<String> instance,
  5. Input<String>? kind,
  6. Input<String>? name,
  7. Input<String>? password,
  8. Input<UserPasswordValidationPolicy>? passwordPolicy,
  9. Input<String>? project,
  10. Input<SqlServerUserDetails>? sqlserverUserDetails,
  11. 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.

Implementation

const UserArgs({
  this.dualPasswordType,
  this.etag,
  this.host,
  required this.instance,
  this.kind,
  this.name,
  this.password,
  this.passwordPolicy,
  this.project,
  this.sqlserverUserDetails,
  this.type,
});