Class: Google::Apis::ComputeBeta::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams

Returns a new instance of SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams.



39944
39945
39946
# File 'lib/google/apis/compute_beta/classes.rb', line 39944

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

Instance Attribute Details

#opString

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

Returns:

  • (String)


39937
39938
39939
# File 'lib/google/apis/compute_beta/classes.rb', line 39937

def op
  @op
end

#valString

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

Returns:

  • (String)


39942
39943
39944
# File 'lib/google/apis/compute_beta/classes.rb', line 39942

def val
  @val
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



39949
39950
39951
39952
# File 'lib/google/apis/compute_beta/classes.rb', line 39949

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