class Google::Apis::GenomicsV1beta2::QueryRange

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. If specified, referenceId or referenceName must also be specified. If unset or 0, defaults to the length of the reference. Corresponds to the JSON property `end` @return [String]

reference_id[RW]

The ID of the reference to query. At most one of referenceId and referenceName should be specified. Corresponds to the JSON property `referenceId` @return [String]

reference_name[RW]

The name of the reference to query, within the reference set associated with this query. At most one of referenceId and referenceName pshould be specified. Corresponds to the JSON property `referenceName` @return [String]

start[RW]

The start position of the range on the reference, 0-based inclusive. If specified, referenceId or referenceName must also be specified. Defaults to 0. 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 1486
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 1491
def update!(**args)
  @end = args[:end] unless args[:end].nil?
  @reference_id = args[:reference_id] unless args[:reference_id].nil?
  @reference_name = args[:reference_name] unless args[:reference_name].nil?
  @start = args[:start] unless args[:start].nil?
end