Class: Google::Apis::ComputeAlpha::Int64RangeMatch

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

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.



20457
20458
20459
# File 'lib/google/apis/compute_alpha/classes.rb', line 20457

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)


20450
20451
20452
# File 'lib/google/apis/compute_alpha/classes.rb', line 20450

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)


20455
20456
20457
# File 'lib/google/apis/compute_alpha/classes.rb', line 20455

def range_start
  @range_start
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



20462
20463
20464
20465
# File 'lib/google/apis/compute_alpha/classes.rb', line 20462

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