Cloud SQL Admin V1 API - Class Google::Cloud::Sql::V1::UserPasswordValidationPolicy (v0.1.0)

Reference documentation and code samples for the Cloud SQL Admin V1 API class Google::Cloud::Sql::V1::UserPasswordValidationPolicy.

User level password validation policy.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#allowed_failed_attempts

def allowed_failed_attempts() -> ::Integer
Returns
  • (::Integer) — Number of failed login attempts allowed before user get locked.

#allowed_failed_attempts=

def allowed_failed_attempts=(value) -> ::Integer
Parameter
  • value (::Integer) — Number of failed login attempts allowed before user get locked.
Returns
  • (::Integer) — Number of failed login attempts allowed before user get locked.

#enable_failed_attempts_check

def enable_failed_attempts_check() -> ::Boolean
Returns
  • (::Boolean) — If true, failed login attempts check will be enabled.

#enable_failed_attempts_check=

def enable_failed_attempts_check=(value) -> ::Boolean
Parameter
  • value (::Boolean) — If true, failed login attempts check will be enabled.
Returns
  • (::Boolean) — If true, failed login attempts check will be enabled.

#enable_password_verification

def enable_password_verification() -> ::Boolean
Returns
  • (::Boolean) — If true, the user must specify the current password before changing the password. This flag is supported only for MySQL.

#enable_password_verification=

def enable_password_verification=(value) -> ::Boolean
Parameter
  • value (::Boolean) — If true, the user must specify the current password before changing the password. This flag is supported only for MySQL.
Returns
  • (::Boolean) — If true, the user must specify the current password before changing the password. This flag is supported only for MySQL.

#password_expiration_duration

def password_expiration_duration() -> ::Google::Protobuf::Duration
Returns

#password_expiration_duration=

def password_expiration_duration=(value) -> ::Google::Protobuf::Duration
Parameter
Returns

#status

def status() -> ::Google::Cloud::Sql::V1::PasswordStatus
Returns