Class: Google::Apis::GenomicsV1::ImportReadGroupSetsRequest

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

The read group set import request.

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

Returns a new instance of ImportReadGroupSetsRequest.



1189
1190
1191
# File 'generated/google/apis/genomics_v1/classes.rb', line 1189

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)


1167
1168
1169
# File 'generated/google/apis/genomics_v1/classes.rb', line 1167

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)


1187
1188
1189
# File 'generated/google/apis/genomics_v1/classes.rb', line 1187

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)


1175
1176
1177
# File 'generated/google/apis/genomics_v1/classes.rb', line 1175

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


1181
1182
1183
# File 'generated/google/apis/genomics_v1/classes.rb', line 1181

def source_uris
  @source_uris
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1194
1195
1196
1197
1198
1199
# File 'generated/google/apis/genomics_v1/classes.rb', line 1194

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