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.
2573 2574 2575 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2573 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
2566 2567 2568 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2566 def enforcement_state @enforcement_state end |
#provider ⇒ String
The provider that has reCAPTCHA protection.
Corresponds to the JSON property provider
2571 2572 2573 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2571 def provider @provider end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2578 2579 2580 2581 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2578 def update!(**args) @enforcement_state = args[:enforcement_state] if args.key?(:enforcement_state) @provider = args[:provider] if args.key?(:provider) end |