Class: Google::Apis::GenomicsV1::ReferenceBound
- Inherits:
-
Object
- Object
- Google::Apis::GenomicsV1::ReferenceBound
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/genomics_v1/classes.rb,
generated/google/apis/genomics_v1/representations.rb,
generated/google/apis/genomics_v1/representations.rb
Overview
ReferenceBound records an upper bound for the starting coordinate of variants in a particular reference.
Instance Attribute Summary collapse
-
#reference_name ⇒ String
The name of the reference associated with this reference bound.
-
#upper_bound ⇒ Fixnum
An upper bound (inclusive) on the starting coordinate of any variant in the reference sequence.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReferenceBound
constructor
A new instance of ReferenceBound.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ReferenceBound
Returns a new instance of ReferenceBound
2214 2215 2216 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 2214 def initialize(**args) update!(**args) end |
Instance Attribute Details
#reference_name ⇒ String
The name of the reference associated with this reference bound.
Corresponds to the JSON property referenceName
2206 2207 2208 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 2206 def reference_name @reference_name end |
#upper_bound ⇒ Fixnum
An upper bound (inclusive) on the starting coordinate of any
variant in the reference sequence.
Corresponds to the JSON property upperBound
2212 2213 2214 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 2212 def upper_bound @upper_bound end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2219 2220 2221 2222 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 2219 def update!(**args) @reference_name = args[:reference_name] if args.key?(:reference_name) @upper_bound = args[:upper_bound] if args.key?(:upper_bound) end |