Class: Google::Apis::ComputeBeta::Int64RangeMatch

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



15491
15492
15493
# File 'generated/google/apis/compute_beta/classes.rb', line 15491

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)


15484
15485
15486
# File 'generated/google/apis/compute_beta/classes.rb', line 15484

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)


15489
15490
15491
# File 'generated/google/apis/compute_beta/classes.rb', line 15489

def range_start
  @range_start
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15496
15497
15498
15499
# File 'generated/google/apis/compute_beta/classes.rb', line 15496

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