Class: Google::Apis::ComputeV1::PreconfiguredWafSet

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PreconfiguredWafSet

Returns a new instance of PreconfiguredWafSet.



22131
22132
22133
# File 'generated/google/apis/compute_v1/classes.rb', line 22131

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

Instance Attribute Details

#expression_setsArray<Google::Apis::ComputeV1::WafExpressionSet>

List of entities that are currently supported for WAF rules. Corresponds to the JSON property expressionSets



22129
22130
22131
# File 'generated/google/apis/compute_v1/classes.rb', line 22129

def expression_sets
  @expression_sets
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



22136
22137
22138
# File 'generated/google/apis/compute_v1/classes.rb', line 22136

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