Class: Google::Apis::ComputeV1::SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions
- Inherits:
-
Object
- Object
- Google::Apis::ComputeV1::SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb
Instance Attribute Summary collapse
-
#action_token_site_keys ⇒ Array<String>
A list of site keys to be used during the validation of reCAPTCHA action- tokens.
-
#session_token_site_keys ⇒ Array<String>
A list of site keys to be used during the validation of reCAPTCHA session- tokens.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions
constructor
A new instance of SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions
Returns a new instance of SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions.
38579 38580 38581 |
# File 'lib/google/apis/compute_v1/classes.rb', line 38579 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action_token_site_keys ⇒ Array<String>
A list of site keys to be used during the validation of reCAPTCHA action-
tokens. The provided site keys need to be created from reCAPTCHA API under the
same project where the security policy is created.
Corresponds to the JSON property actionTokenSiteKeys
38570 38571 38572 |
# File 'lib/google/apis/compute_v1/classes.rb', line 38570 def action_token_site_keys @action_token_site_keys end |
#session_token_site_keys ⇒ Array<String>
A list of site keys to be used during the validation of reCAPTCHA session-
tokens. The provided site keys need to be created from reCAPTCHA API under the
same project where the security policy is created.
Corresponds to the JSON property sessionTokenSiteKeys
38577 38578 38579 |
# File 'lib/google/apis/compute_v1/classes.rb', line 38577 def session_token_site_keys @session_token_site_keys end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
38584 38585 38586 38587 |
# File 'lib/google/apis/compute_v1/classes.rb', line 38584 def update!(**args) @action_token_site_keys = args[:action_token_site_keys] if args.key?(:action_token_site_keys) @session_token_site_keys = args[:session_token_site_keys] if args.key?(:session_token_site_keys) end |