Class: Google::Apis::GenomicsV1beta2::ReferenceBound

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable
Defined in:
generated/google/apis/genomics_v1beta2/classes.rb,
generated/google/apis/genomics_v1beta2/representations.rb,
generated/google/apis/genomics_v1beta2/representations.rb

Overview

ReferenceBound records an upper bound for the starting coordinate of variants in a particular reference.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ReferenceBound

Returns a new instance of ReferenceBound



2060
2061
2062
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2060

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#reference_nameString

The reference the bound is associate with. Corresponds to the JSON property referenceName

Returns:

  • (String)


2052
2053
2054
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2052

def reference_name
  @reference_name
end

#upper_boundString

An upper bound (inclusive) on the starting coordinate of any variant in the reference sequence. Corresponds to the JSON property upperBound

Returns:

  • (String)


2058
2059
2060
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2058

def upper_bound
  @upper_bound
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2065
2066
2067
2068
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2065

def update!(**args)
  @reference_name = args[:reference_name] unless args[:reference_name].nil?
  @upper_bound = args[:upper_bound] unless args[:upper_bound].nil?
end