Class: Google::Apis::BigqueryV2::RangePartitioning::Range
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryV2::RangePartitioning::Range
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/bigquery_v2/classes.rb,
lib/google/apis/bigquery_v2/representations.rb,
lib/google/apis/bigquery_v2/representations.rb
Overview
[TrustedTester] [Required] Defines the ranges for range partitioning.
Instance Attribute Summary collapse
-
#end ⇒ Fixnum
[TrustedTester] [Required] The end of range partitioning, exclusive.
-
#interval ⇒ Fixnum
[TrustedTester] [Required] The width of each interval.
-
#start ⇒ Fixnum
[TrustedTester] [Required] The start of range partitioning, inclusive.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Range
constructor
A new instance of Range.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Range
Returns a new instance of Range.
5470 5471 5472 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5470 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end ⇒ Fixnum
[TrustedTester] [Required] The end of range partitioning, exclusive.
Corresponds to the JSON property end
5458 5459 5460 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5458 def end @end end |
#interval ⇒ Fixnum
[TrustedTester] [Required] The width of each interval.
Corresponds to the JSON property interval
5463 5464 5465 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5463 def interval @interval end |
#start ⇒ Fixnum
[TrustedTester] [Required] The start of range partitioning, inclusive.
Corresponds to the JSON property start
5468 5469 5470 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5468 def start @start end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5475 5476 5477 5478 5479 |
# File 'lib/google/apis/bigquery_v2/classes.rb', line 5475 def update!(**args) @end = args[:end] if args.key?(:end) @interval = args[:interval] if args.key?(:interval) @start = args[:start] if args.key?(:start) end |