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.



37903
37904
37905
# File 'lib/google/apis/compute_v1/classes.rb', line 37903

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



37901
37902
37903
# File 'lib/google/apis/compute_v1/classes.rb', line 37901

def exclusions
  @exclusions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



37908
37909
37910
# File 'lib/google/apis/compute_v1/classes.rb', line 37908

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