Class: Google::Apis::GenomicsV1beta2::ImportReadGroupSetsRequest

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

Overview

The read group set import request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ImportReadGroupSetsRequest

Returns a new instance of ImportReadGroupSetsRequest.



899
900
901
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 899

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

Instance Attribute Details

#dataset_idString

Required. The ID of the dataset these read group sets will belong to. The caller must have WRITE permissions to this dataset. Corresponds to the JSON property datasetId

Returns:

  • (String)


878
879
880
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 878

def dataset_id
  @dataset_id
end

#partition_strategyString

The partition strategy describes how read groups are partitioned into read group sets. Corresponds to the JSON property partitionStrategy

Returns:

  • (String)


884
885
886
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 884

def partition_strategy
  @partition_strategy
end

#reference_set_idString

The reference set to which the imported read group sets are aligned to, if any. The reference names of this reference set must be a superset of those found in the imported file headers. If no reference set id is provided, a best effort is made to associate with a matching reference set. Corresponds to the JSON property referenceSetId

Returns:

  • (String)


892
893
894
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 892

def reference_set_id
  @reference_set_id
end

#source_urisArray<String>

A list of URIs pointing at BAM files in Google Cloud Storage. Corresponds to the JSON property sourceUris

Returns:

  • (Array<String>)


897
898
899
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 897

def source_uris
  @source_uris
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



904
905
906
907
908
909
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 904

def update!(**args)
  @dataset_id = args[:dataset_id] unless args[:dataset_id].nil?
  @partition_strategy = args[:partition_strategy] unless args[:partition_strategy].nil?
  @reference_set_id = args[:reference_set_id] unless args[:reference_set_id].nil?
  @source_uris = args[:source_uris] unless args[:source_uris].nil?
end