Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2RecaptchaConfig
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2RecaptchaConfig
- 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 reCAPTCHA
Instance Attribute Summary collapse
-
#recaptcha_enforcement_state ⇒ Array<Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2RecaptchaEnforcementState>
The reCAPTCHA enforcement state for the providers that GCIP supports reCAPTCHA protection.
-
#recaptcha_key ⇒ String
The reCAPTCHA Enterprise key resource name, e.g.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV2RecaptchaConfig
constructor
A new instance of GoogleCloudIdentitytoolkitV2RecaptchaConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV2RecaptchaConfig
Returns a new instance of GoogleCloudIdentitytoolkitV2RecaptchaConfig.
2241 2242 2243 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2241 def initialize(**args) update!(**args) end |
Instance Attribute Details
#recaptcha_enforcement_state ⇒ Array<Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2RecaptchaEnforcementState>
The reCAPTCHA enforcement state for the providers that GCIP supports reCAPTCHA
protection.
Corresponds to the JSON property recaptchaEnforcementState
2233 2234 2235 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2233 def recaptcha_enforcement_state @recaptcha_enforcement_state end |
#recaptcha_key ⇒ String
The reCAPTCHA Enterprise key resource name, e.g. "projects/project/keys/key
".
Corresponds to the JSON property recaptchaKey
2239 2240 2241 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2239 def recaptcha_key @recaptcha_key end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2246 2247 2248 2249 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2246 def update!(**args) @recaptcha_enforcement_state = args[:recaptcha_enforcement_state] if args.key?(:recaptcha_enforcement_state) @recaptcha_key = args[:recaptcha_key] if args.key?(:recaptcha_key) end |