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



2303
2304
2305
# File 'generated/google/apis/genomics_v1/classes.rb', line 2303

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)


2295
2296
2297
# File 'generated/google/apis/genomics_v1/classes.rb', line 2295

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)


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