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.
2526 2527 2528 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2526 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
2519 2520 2521 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2519 def enforcement_state @enforcement_state end |
#provider ⇒ String
The provider that has reCAPTCHA protection.
Corresponds to the JSON property provider
2524 2525 2526 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2524 def provider @provider end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2531 2532 2533 2534 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2531 def update!(**args) @enforcement_state = args[:enforcement_state] if args.key?(:enforcement_state) @provider = args[:provider] if args.key?(:provider) end |