Class: Google::Apis::GenomicsV1::ReferenceBound

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ReferenceBound

Returns a new instance of ReferenceBound.



2583
2584
2585
# File 'generated/google/apis/genomics_v1/classes.rb', line 2583

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

Instance Attribute Details

#reference_nameString

The name of the reference associated with this reference bound. Corresponds to the JSON property referenceName

Returns:

  • (String)


2575
2576
2577
# File 'generated/google/apis/genomics_v1/classes.rb', line 2575

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)


2581
2582
2583
# File 'generated/google/apis/genomics_v1/classes.rb', line 2581

def upper_bound
  @upper_bound
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2588
2589
2590
2591
# File 'generated/google/apis/genomics_v1/classes.rb', line 2588

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