Class: Google::Apis::ComputeV1::SecurityPoliciesWafConfig

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SecurityPoliciesWafConfig

Returns a new instance of SecurityPoliciesWafConfig.



37742
37743
37744
# File 'lib/google/apis/compute_v1/classes.rb', line 37742

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

Instance Attribute Details

#waf_rulesGoogle::Apis::ComputeV1::PreconfiguredWafSet

Corresponds to the JSON property wafRules



37740
37741
37742
# File 'lib/google/apis/compute_v1/classes.rb', line 37740

def waf_rules
  @waf_rules
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



37747
37748
37749
# File 'lib/google/apis/compute_v1/classes.rb', line 37747

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