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



1041
1042
1043
# File 'generated/google/apis/genomics_v1/classes.rb', line 1041

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)


1012
1013
1014
# File 'generated/google/apis/genomics_v1/classes.rb', line 1012

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)


1018
1019
1020
# File 'generated/google/apis/genomics_v1/classes.rb', line 1018

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)


1026
1027
1028
# File 'generated/google/apis/genomics_v1/classes.rb', line 1026

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


1039
1040
1041
# File 'generated/google/apis/genomics_v1/classes.rb', line 1039

def source_uris
  @source_uris
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1046
1047
1048
1049
1050
1051
# File 'generated/google/apis/genomics_v1/classes.rb', line 1046

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