class Google::Apis::AndroidmanagementV1::PasswordRequirements
Requirements for the password used to unlock a device.
Attributes
Number of incorrect device-unlock passwords that can be entered before a device is wiped. A value of 0 means there is no restriction. Corresponds to the JSON property `maximumFailedPasswordsForWipe` @return [Fixnum]
Password expiration timeout. Corresponds to the JSON property `passwordExpirationTimeout` @return [String]
The length of the password history. After setting this field, the user won't be able to enter a new password that is the same as any password in the history. A value of 0 means there is no restriction. Corresponds to the JSON property `passwordHistoryLength` @return [Fixnum]
The minimum allowed password length. A value of 0 means there is no restriction. Only enforced when password_quality
is NUMERIC, NUMERIC_COMPLEX, ALPHABETIC, ALPHANUMERIC, or COMPLEX. Corresponds to the JSON property `passwordMinimumLength` @return [Fixnum]
Minimum number of letters required in the password. Only enforced when password_quality
is COMPLEX. Corresponds to the JSON property `passwordMinimumLetters` @return [Fixnum]
Minimum number of lower case letters required in the password. Only enforced when password_quality
is COMPLEX. Corresponds to the JSON property `passwordMinimumLowerCase` @return [Fixnum]
Minimum number of non-letter characters (numerical digits or symbols) required in the password. Only enforced when password_quality
is COMPLEX. Corresponds to the JSON property `passwordMinimumNonLetter` @return [Fixnum]
Minimum number of numerical digits required in the password. Only enforced when password_quality
is COMPLEX. Corresponds to the JSON property `passwordMinimumNumeric` @return [Fixnum]
Minimum number of symbols required in the password. Only enforced when password_quality
is COMPLEX. Corresponds to the JSON property `passwordMinimumSymbols` @return [Fixnum]
Minimum number of upper case letters required in the password. Only enforced when password_quality
is COMPLEX. Corresponds to the JSON property `passwordMinimumUpperCase` @return [Fixnum]
The required password quality. Corresponds to the JSON property `passwordQuality` @return [String]
The scope that the password requirement applies to. Corresponds to the JSON property `passwordScope` @return [String]
The length of time after a device or work profile is unlocked using a strong form of authentication (password, PIN, pattern) that it can be unlocked using any other authentication method (e.g. fingerprint, trust agents, face). After the specified time period elapses, only strong forms of authentication can be used to unlock the device or work profile. Corresponds to the JSON property `requirePasswordUnlock` @return [String]
Public Class Methods
# File lib/google/apis/androidmanagement_v1/classes.rb, line 2448 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/androidmanagement_v1/classes.rb, line 2453 def update!(**args) @maximum_failed_passwords_for_wipe = args[:maximum_failed_passwords_for_wipe] if args.key?(:maximum_failed_passwords_for_wipe) @password_expiration_timeout = args[:password_expiration_timeout] if args.key?(:password_expiration_timeout) @password_history_length = args[:password_history_length] if args.key?(:password_history_length) @password_minimum_length = args[:password_minimum_length] if args.key?(:password_minimum_length) @password_minimum_letters = args[:password_minimum_letters] if args.key?(:password_minimum_letters) @password_minimum_lower_case = args[:password_minimum_lower_case] if args.key?(:password_minimum_lower_case) @password_minimum_non_letter = args[:password_minimum_non_letter] if args.key?(:password_minimum_non_letter) @password_minimum_numeric = args[:password_minimum_numeric] if args.key?(:password_minimum_numeric) @password_minimum_symbols = args[:password_minimum_symbols] if args.key?(:password_minimum_symbols) @password_minimum_upper_case = args[:password_minimum_upper_case] if args.key?(:password_minimum_upper_case) @password_quality = args[:password_quality] if args.key?(:password_quality) @password_scope = args[:password_scope] if args.key?(:password_scope) @require_password_unlock = args[:require_password_unlock] if args.key?(:require_password_unlock) end