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



2013
2014
2015
# File 'generated/google/apis/genomics_v1/classes.rb', line 2013

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)


2005
2006
2007
# File 'generated/google/apis/genomics_v1/classes.rb', line 2005

def reference_name
  @reference_name
end

#upper_boundFixnum

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

Returns:

  • (Fixnum)


2011
2012
2013
# File 'generated/google/apis/genomics_v1/classes.rb', line 2011

def upper_bound
  @upper_bound
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2018
2019
2020
2021
# File 'generated/google/apis/genomics_v1/classes.rb', line 2018

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