class Google::Apis::GenomicsV1beta2::Range

A 0-based half-open genomic coordinate range over a reference sequence.

Attributes

end[RW]

The end position of the range on the reference, 0-based exclusive. If specified, referenceName must also be specified. 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. If specified, referenceName must also be specified. Corresponds to the JSON property `start` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/genomics_v1beta2/classes.rb, line 1520
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_v1beta2/classes.rb, line 1525
def update!(**args)
  @end = args[:end] unless args[:end].nil?
  @reference_name = args[:reference_name] unless args[:reference_name].nil?
  @start = args[:start] unless args[:start].nil?
end