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



1248
1249
1250
# File 'generated/google/apis/genomics_v1/classes.rb', line 1248

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)


1246
1247
1248
# File 'generated/google/apis/genomics_v1/classes.rb', line 1246

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)


1240
1241
1242
# File 'generated/google/apis/genomics_v1/classes.rb', line 1240

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)


1234
1235
1236
# File 'generated/google/apis/genomics_v1/classes.rb', line 1234

def reference_set_id
  @reference_set_id
end

#source_urisArray<String>

A list of URIs pointing at BAM files in Google Cloud Storage. Those URIs can include wildcards (*), but do not add or remove matching files before import has completed. Note that Google Cloud Storage object listing is only eventually consistent: files added may be not be immediately visible to everyone. Thus, if using a wildcard it is preferable not to start the import immediately after the files are created. Corresponds to the JSON property sourceUris

Returns:

  • (Array<String>)


1226
1227
1228
# File 'generated/google/apis/genomics_v1/classes.rb', line 1226

def source_uris
  @source_uris
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1253
1254
1255
1256
1257
1258
# File 'generated/google/apis/genomics_v1/classes.rb', line 1253

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