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>
Output only.
-
#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.
1462 1463 1464 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1462 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
1442 1443 1444 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1442 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
1448 1449 1450 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1448 def managed_rules @managed_rules end |
#recaptcha_keys ⇒ Array<Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitAdminV2RecaptchaKey>
Output only. The reCAPTCHA keys.
Corresponds to the JSON property recaptchaKeys
1453 1454 1455 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1453 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
1459 1460 1461 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1459 def use_account_defender @use_account_defender end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1467 1468 1469 1470 1471 1472 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 1467 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 |