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



1125
1126
1127
# File 'generated/google/apis/genomics_v1/classes.rb', line 1125

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)


1096
1097
1098
# File 'generated/google/apis/genomics_v1/classes.rb', line 1096

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)


1102
1103
1104
# File 'generated/google/apis/genomics_v1/classes.rb', line 1102

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)


1110
1111
1112
# File 'generated/google/apis/genomics_v1/classes.rb', line 1110

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


1123
1124
1125
# File 'generated/google/apis/genomics_v1/classes.rb', line 1123

def source_uris
  @source_uris
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1130
1131
1132
1133
1134
1135
# File 'generated/google/apis/genomics_v1/classes.rb', line 1130

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