Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersion
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersion
- 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
The strength attributes for the password policy on the project.
Instance Attribute Summary collapse
-
#custom_strength_options ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptions
Custom strength options to enforce on user passwords.
-
#schema_version ⇒ Fixnum
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersion
constructor
A new instance of GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersion
Returns a new instance of GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersion.
1319 1320 1321 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1319 def initialize(**args) update!(**args) end |
Instance Attribute Details
#custom_strength_options ⇒ Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptions
Custom strength options to enforce on user passwords.
Corresponds to the JSON property customStrengthOptions
1312 1313 1314 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1312 def @custom_strength_options end |
#schema_version ⇒ Fixnum
Output only. schema version number for the password policy
Corresponds to the JSON property schemaVersion
1317 1318 1319 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1317 def schema_version @schema_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1324 1325 1326 1327 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1324 def update!(**args) @custom_strength_options = args[:custom_strength_options] if args.key?(:custom_strength_options) @schema_version = args[:schema_version] if args.key?(:schema_version) end |