Class: Google::Apis::GenomicsV1beta2::BatchAnnotationsResponseEntry

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable
Defined in:
generated/google/apis/genomics_v1beta2/classes.rb,
generated/google/apis/genomics_v1beta2/representations.rb,
generated/google/apis/genomics_v1beta2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ BatchAnnotationsResponseEntry

Returns a new instance of BatchAnnotationsResponseEntry



261
262
263
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 261

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

Instance Attribute Details

#annotationGoogle::Apis::GenomicsV1beta2::Annotation

An annotation describes a region of reference genome. The value of an annotation may be one of several canonical types, supplemented by arbitrary info tags. A variant annotation is represented by one or more of these canonical types. An annotation is not inherently associated with a specific sample or individual (though a client could choose to use annotations in this way). Example canonical annotation types are 'Gene' and 'Variant'. Corresponds to the JSON property annotation



254
255
256
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 254

def annotation
  @annotation
end

#statusGoogle::Apis::GenomicsV1beta2::BatchAnnotationsResponseEntryStatus

Corresponds to the JSON property status



259
260
261
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 259

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



266
267
268
269
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 266

def update!(**args)
  @annotation = args[:annotation] unless args[:annotation].nil?
  @status = args[:status] unless args[:status].nil?
end