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.



38656
38657
38658
# File 'lib/google/apis/compute_v1/classes.rb', line 38656

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



38654
38655
38656
# File 'lib/google/apis/compute_v1/classes.rb', line 38654

def exclusions
  @exclusions
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



38661
38662
38663
# File 'lib/google/apis/compute_v1/classes.rb', line 38661

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