Class: Google::Apis::ComputeV1::Int64RangeMatch

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

Overview

HttpRouteRuleMatch criteria for field values that must stay within the specified integer range.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Int64RangeMatch

Returns a new instance of Int64RangeMatch.



19740
19741
19742
# File 'lib/google/apis/compute_v1/classes.rb', line 19740

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

Instance Attribute Details

#range_endFixnum

The end of the range (exclusive) in signed long integer format. Corresponds to the JSON property rangeEnd

Returns:

  • (Fixnum)


19733
19734
19735
# File 'lib/google/apis/compute_v1/classes.rb', line 19733

def range_end
  @range_end
end

#range_startFixnum

The start of the range (inclusive) in signed long integer format. Corresponds to the JSON property rangeStart

Returns:

  • (Fixnum)


19738
19739
19740
# File 'lib/google/apis/compute_v1/classes.rb', line 19738

def range_start
  @range_start
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19745
19746
19747
19748
# File 'lib/google/apis/compute_v1/classes.rb', line 19745

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