Class: Google::Apis::ComputeAlpha::PreconfiguredWafSet

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PreconfiguredWafSet

Returns a new instance of PreconfiguredWafSet.



32065
32066
32067
# File 'lib/google/apis/compute_alpha/classes.rb', line 32065

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

Instance Attribute Details

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

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



32063
32064
32065
# File 'lib/google/apis/compute_alpha/classes.rb', line 32063

def expression_sets
  @expression_sets
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



32070
32071
32072
# File 'lib/google/apis/compute_alpha/classes.rb', line 32070

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