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

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/compute_v1/classes.rb,
generated/google/apis/compute_v1/representations.rb,
generated/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

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Int64RangeMatch

Returns a new instance of Int64RangeMatch



12000
12001
12002
# File 'generated/google/apis/compute_v1/classes.rb', line 12000

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)


11993
11994
11995
# File 'generated/google/apis/compute_v1/classes.rb', line 11993

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)


11998
11999
12000
# File 'generated/google/apis/compute_v1/classes.rb', line 11998

def range_start
  @range_start
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12005
12006
12007
12008
# File 'generated/google/apis/compute_v1/classes.rb', line 12005

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