Class: Google::Apis::ComputeV1::SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams

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

Returns a new instance of SecurityPolicyRulePreconfiguredWafConfigExclusionFieldParams.



37984
37985
37986
# File 'lib/google/apis/compute_v1/classes.rb', line 37984

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

Instance Attribute Details

#opString

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

Returns:

  • (String)


37977
37978
37979
# File 'lib/google/apis/compute_v1/classes.rb', line 37977

def op
  @op
end

#valString

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

Returns:

  • (String)


37982
37983
37984
# File 'lib/google/apis/compute_v1/classes.rb', line 37982

def val
  @val
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



37989
37990
37991
37992
# File 'lib/google/apis/compute_v1/classes.rb', line 37989

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