Class: Google::Apis::ComputeAlpha::SecurityPolicyRuleMatcherExprOptions

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SecurityPolicyRuleMatcherExprOptions

Returns a new instance of SecurityPolicyRuleMatcherExprOptions.



42264
42265
42266
# File 'lib/google/apis/compute_alpha/classes.rb', line 42264

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#recaptcha_optionsGoogle::Apis::ComputeAlpha::SecurityPolicyRuleMatcherExprOptionsRecaptchaOptions

reCAPTCHA configuration options to be applied for the rule. If the rule does not evaluate reCAPTCHA tokens, this field will have no effect. Corresponds to the JSON property recaptchaOptions



42262
42263
42264
# File 'lib/google/apis/compute_alpha/classes.rb', line 42262

def recaptcha_options
  @recaptcha_options
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



42269
42270
42271
# File 'lib/google/apis/compute_alpha/classes.rb', line 42269

def update!(**args)
  @recaptcha_options = args[:recaptcha_options] if args.key?(:recaptcha_options)
end