Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig
- 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 reCAPTCHA Enterprise integration config.
Instance Attribute Summary collapse
-
#email_password_enforcement_state ⇒ String
The reCAPTCHA config for email/password provider, containing the enforcement status.
-
#managed_rules ⇒ Array<Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRule>
The managed rules for authentication action based on reCAPTCHA scores.
-
#recaptcha_keys ⇒ Array<Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2RecaptchaKey>
The reCAPTCHA keys.
-
#use_account_defender ⇒ Boolean
(also: #use_account_defender?)
Whether to use the account defender for reCAPTCHA assessment.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig
constructor
A new instance of GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig
Returns a new instance of GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig.
1428 1429 1430 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1428 def initialize(**args) update!(**args) end |
Instance Attribute Details
#email_password_enforcement_state ⇒ String
The reCAPTCHA config for email/password provider, containing the enforcement
status. The email/password provider contains all related user flows protected
by reCAPTCHA.
Corresponds to the JSON property emailPasswordEnforcementState
1408 1409 1410 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1408 def email_password_enforcement_state @email_password_enforcement_state end |
#managed_rules ⇒ Array<Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRule>
The managed rules for authentication action based on reCAPTCHA scores. The
rules are shared across providers for a given tenant project.
Corresponds to the JSON property managedRules
1414 1415 1416 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1414 def managed_rules @managed_rules end |
#recaptcha_keys ⇒ Array<Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2RecaptchaKey>
The reCAPTCHA keys.
Corresponds to the JSON property recaptchaKeys
1419 1420 1421 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1419 def recaptcha_keys @recaptcha_keys end |
#use_account_defender ⇒ Boolean Also known as: use_account_defender?
Whether to use the account defender for reCAPTCHA assessment. Defaults to
false
.
Corresponds to the JSON property useAccountDefender
1425 1426 1427 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1425 def use_account_defender @use_account_defender end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1433 1434 1435 1436 1437 1438 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1433 def update!(**args) @email_password_enforcement_state = args[:email_password_enforcement_state] if args.key?(:email_password_enforcement_state) @managed_rules = args[:managed_rules] if args.key?(:managed_rules) @recaptcha_keys = args[:recaptcha_keys] if args.key?(:recaptcha_keys) @use_account_defender = args[:use_account_defender] if args.key?(:use_account_defender) end |