Class: Google::Apis::ComputeAlpha::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams

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

Returns a new instance of SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams.



43615
43616
43617
# File 'lib/google/apis/compute_alpha/classes.rb', line 43615

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

Instance Attribute Details

#opString

The match operator for the field. Corresponds to the JSON property op

Returns:

  • (String)


43608
43609
43610
# File 'lib/google/apis/compute_alpha/classes.rb', line 43608

def op
  @op
end

#valString

The value of the field. Corresponds to the JSON property val

Returns:

  • (String)


43613
43614
43615
# File 'lib/google/apis/compute_alpha/classes.rb', line 43613

def val
  @val
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



43620
43621
43622
43623
# File 'lib/google/apis/compute_alpha/classes.rb', line 43620

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