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
2303 2304 2305 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 2303 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
2295 2296 2297 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 2295 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
2301 2302 2303 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 2301 def upper_bound @upper_bound end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2308 2309 2310 2311 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 2308 def update!(**args) @reference_name = args[:reference_name] if args.key?(:reference_name) @upper_bound = args[:upper_bound] if args.key?(:upper_bound) end |