Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2PasswordPolicy
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2PasswordPolicy
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/identitytoolkit_v2/classes.rb,
lib/google/apis/identitytoolkit_v2/representations.rb,
lib/google/apis/identitytoolkit_v2/representations.rb
Overview
Configuration for password policy.
Instance Attribute Summary collapse
-
#allowed_non_alphanumeric_characters ⇒ Array<String>
Output only.
-
#custom_strength_options ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2CustomStrengthOptions
Custom strength options to enforce on user passwords.
-
#schema_version ⇒ Fixnum
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV2PasswordPolicy
constructor
A new instance of GoogleCloudIdentitytoolkitV2PasswordPolicy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV2PasswordPolicy
Returns a new instance of GoogleCloudIdentitytoolkitV2PasswordPolicy.
2711 2712 2713 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2711 def initialize(**args) update!(**args) end |
Instance Attribute Details
#allowed_non_alphanumeric_characters ⇒ Array<String>
Output only. Allowed characters which satisfy the non_alphanumeric requirement.
Corresponds to the JSON property allowedNonAlphanumericCharacters
2699 2700 2701 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2699 def allowed_non_alphanumeric_characters @allowed_non_alphanumeric_characters end |
#custom_strength_options ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2CustomStrengthOptions
Custom strength options to enforce on user passwords.
Corresponds to the JSON property customStrengthOptions
2704 2705 2706 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2704 def @custom_strength_options end |
#schema_version ⇒ Fixnum
Output only. schema version number for the password policy
Corresponds to the JSON property schemaVersion
2709 2710 2711 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2709 def schema_version @schema_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2716 2717 2718 2719 2720 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2716 def update!(**args) @allowed_non_alphanumeric_characters = args[:allowed_non_alphanumeric_characters] if args.key?(:allowed_non_alphanumeric_characters) @custom_strength_options = args[:custom_strength_options] if args.key?(:custom_strength_options) @schema_version = args[:schema_version] if args.key?(:schema_version) end |