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.
2903 2904 2905 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2903 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
2896 2897 2898 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2896 def enforcement_state @enforcement_state end |
#provider ⇒ String
The provider that has reCAPTCHA protection.
Corresponds to the JSON property provider
2901 2902 2903 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2901 def provider @provider end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2908 2909 2910 2911 |
# File 'lib/google/apis/identitytoolkit_v2/classes.rb', line 2908 def update!(**args) @enforcement_state = args[:enforcement_state] if args.key?(:enforcement_state) @provider = args[:provider] if args.key?(:provider) end |