Class: Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2RecaptchaEnforcementState
- Inherits:
-
Object
- Object
- Google::Apis::IdentitytoolkitV2::GoogleCloudIdentitytoolkitV2RecaptchaEnforcementState
- 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
Enforcement states for reCAPTCHA protection.
Instance Attribute Summary collapse
-
#enforcement_state ⇒ String
The reCAPTCHA enforcement state for the provider.
-
#provider ⇒ String
The provider that has reCAPTCHA protection.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV2RecaptchaEnforcementState
constructor
A new instance of GoogleCloudIdentitytoolkitV2RecaptchaEnforcementState.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudIdentitytoolkitV2RecaptchaEnforcementState
Returns a new instance of GoogleCloudIdentitytoolkitV2RecaptchaEnforcementState.
2492 2493 2494 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2492 def initialize(**args) update!(**args) end |
Instance Attribute Details
#enforcement_state ⇒ String
The reCAPTCHA enforcement state for the provider.
Corresponds to the JSON property enforcementState
2485 2486 2487 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2485 def enforcement_state @enforcement_state end |
#provider ⇒ String
The provider that has reCAPTCHA protection.
Corresponds to the JSON property provider
2490 2491 2492 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2490 def provider @provider end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2497 2498 2499 2500 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2497 def update!(**args) @enforcement_state = args[:enforcement_state] if args.key?(:enforcement_state) @provider = args[:provider] if args.key?(:provider) end |