Class: Google::Apis::GenomicsV1::MergeVariantsRequest

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

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

Returns a new instance of MergeVariantsRequest.


3065
3066
3067
# File 'generated/google/apis/genomics_v1/classes.rb', line 3065

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#info_merge_configHash<String,String>

A mapping between info field keys and the InfoMergeOperations to be performed on them. Corresponds to the JSON property infoMergeConfig

Returns:

  • (Hash<String,String>)

3063
3064
3065
# File 'generated/google/apis/genomics_v1/classes.rb', line 3063

def info_merge_config
  @info_merge_config
end

#variant_set_idString

The destination variant set. Corresponds to the JSON property variantSetId

Returns:

  • (String)

3052
3053
3054
# File 'generated/google/apis/genomics_v1/classes.rb', line 3052

def variant_set_id
  @variant_set_id
end

#variantsArray<Google::Apis::GenomicsV1::Variant>

The variants to be merged with existing variants. Corresponds to the JSON property variants


3057
3058
3059
# File 'generated/google/apis/genomics_v1/classes.rb', line 3057

def variants
  @variants
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


3070
3071
3072
3073
3074
# File 'generated/google/apis/genomics_v1/classes.rb', line 3070

def update!(**args)
  @variant_set_id = args[:variant_set_id] if args.key?(:variant_set_id)
  @variants = args[:variants] if args.key?(:variants)
  @info_merge_config = args[:info_merge_config] if args.key?(:info_merge_config)
end