class Google::Apis::GenomicsV1::Range

A 0-based half-open genomic coordinate range for search requests.

Attributes

end[RW]

The end position of the range on the reference, 0-based exclusive. Corresponds to the JSON property `end` @return [String]

reference_name[RW]

The reference sequence name, for example `chr1`, `1`, or `chrX`. Corresponds to the JSON property `referenceName` @return [String]

start[RW]

The start position of the range on the reference, 0-based inclusive. Corresponds to the JSON property `start` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/genomics_v1/classes.rb, line 1609
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/genomics_v1/classes.rb, line 1614
def update!(**args)
  @reference_name = args[:reference_name] if args.key?(:reference_name)
  @start = args[:start] if args.key?(:start)
  @end = args[:end] if args.key?(:end)
end