Class: Google::Apis::GenomicsV1beta2::BatchCreateAnnotationsRequest

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) ⇒ BatchCreateAnnotationsRequest

Returns a new instance of BatchCreateAnnotationsRequest



307
308
309
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 307

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

Instance Attribute Details

#annotationsArray<Google::Apis::GenomicsV1beta2::Annotation>

The annotations to be created. At most 4096 can be specified in a single request. Corresponds to the JSON property annotations



305
306
307
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 305

def annotations
  @annotations
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



312
313
314
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 312

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