Class: Google::Apis::ComputeBeta::Int64RangeMatch
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::Int64RangeMatch
- 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
Overview
HttpRouteRuleMatch criteria for field values that must stay within the specified integer range.
Instance Attribute Summary collapse
-
#range_end ⇒ Fixnum
The end of the range (exclusive) in signed long integer format.
-
#range_start ⇒ Fixnum
The start of the range (inclusive) in signed long integer format.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Int64RangeMatch
constructor
A new instance of Int64RangeMatch.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Int64RangeMatch
Returns a new instance of Int64RangeMatch.
20662 20663 20664 |
# File 'lib/google/apis/compute_beta/classes.rb', line 20662 def initialize(**args) update!(**args) end |
Instance Attribute Details
#range_end ⇒ Fixnum
The end of the range (exclusive) in signed long integer format.
Corresponds to the JSON property rangeEnd
20655 20656 20657 |
# File 'lib/google/apis/compute_beta/classes.rb', line 20655 def range_end @range_end end |
#range_start ⇒ Fixnum
The start of the range (inclusive) in signed long integer format.
Corresponds to the JSON property rangeStart
20660 20661 20662 |
# File 'lib/google/apis/compute_beta/classes.rb', line 20660 def range_start @range_start end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
20667 20668 20669 20670 |
# File 'lib/google/apis/compute_beta/classes.rb', line 20667 def update!(**args) @range_end = args[:range_end] if args.key?(:range_end) @range_start = args[:range_start] if args.key?(:range_start) end |