Class: Google::Apis::GenomicsV1::MergeVariantsRequest
- Inherits:
-
Object
- Object
- Google::Apis::GenomicsV1::MergeVariantsRequest
- 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
Instance Attribute Summary collapse
-
#info_merge_config ⇒ Hash<String,String>
A mapping between info field keys and the InfoMergeOperations to be performed on them.
-
#variant_set_id ⇒ String
The destination variant set.
-
#variants ⇒ Array<Google::Apis::GenomicsV1::Variant>
The variants to be merged with existing variants.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MergeVariantsRequest
constructor
A new instance of MergeVariantsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ MergeVariantsRequest
Returns a new instance of MergeVariantsRequest
2740 2741 2742 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 2740 def initialize(**args) update!(**args) end |
Instance Attribute Details
#info_merge_config ⇒ Hash<String,String>
A mapping between info field keys and the InfoMergeOperations to
be performed on them.
Corresponds to the JSON property infoMergeConfig
2733 2734 2735 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 2733 def info_merge_config @info_merge_config end |
#variant_set_id ⇒ String
The destination variant set.
Corresponds to the JSON property variantSetId
2738 2739 2740 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 2738 def variant_set_id @variant_set_id end |
#variants ⇒ Array<Google::Apis::GenomicsV1::Variant>
The variants to be merged with existing variants.
Corresponds to the JSON property variants
2727 2728 2729 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 2727 def variants @variants end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2745 2746 2747 2748 2749 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 2745 def update!(**args) @variants = args[:variants] if args.key?(:variants) @info_merge_config = args[:info_merge_config] if args.key?(:info_merge_config) @variant_set_id = args[:variant_set_id] if args.key?(:variant_set_id) end |