Class: Google::Apis::ComputeV1::SecurityPolicyRulePreconfiguredWafConfig

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) ⇒ SecurityPolicyRulePreconfiguredWafConfig

Returns a new instance of SecurityPolicyRulePreconfiguredWafConfig.



37951
37952
37953
# File 'lib/google/apis/compute_v1/classes.rb', line 37951

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

Instance Attribute Details

#exclusionsArray<Google::Apis::ComputeV1::SecurityPolicyRulePreconfiguredWafConfigExclusion>

A list of exclusions to apply during preconfigured WAF evaluation. Corresponds to the JSON property exclusions



37949
37950
37951
# File 'lib/google/apis/compute_v1/classes.rb', line 37949

def exclusions
  @exclusions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



37956
37957
37958
# File 'lib/google/apis/compute_v1/classes.rb', line 37956

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