Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersion

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersion

Returns a new instance of GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersion.



1288
1289
1290
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1288

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#custom_strength_optionsGoogle::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptions

Custom strength options to enforce on user passwords. Corresponds to the JSON property customStrengthOptions



1281
1282
1283
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1281

def custom_strength_options
  @custom_strength_options
end

#schema_versionFixnum

Output only. schema version number for the password policy Corresponds to the JSON property schemaVersion

Returns:

  • (Fixnum)


1286
1287
1288
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1286

def schema_version
  @schema_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1293
1294
1295
1296
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1293

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