Class: Google::Apis::GenomicsV1::ExportVariantSetRequest

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 variant data export 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) ⇒ ExportVariantSetRequest

Returns a new instance of ExportVariantSetRequest.



2689
2690
2691
# File 'generated/google/apis/genomics_v1/classes.rb', line 2689

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

Instance Attribute Details

#bigquery_datasetString

Required. The BigQuery dataset to export data to. This dataset must already exist. Note that this is distinct from the Genomics concept of "dataset". Corresponds to the JSON property bigqueryDataset

Returns:

  • (String)


2681
2682
2683
# File 'generated/google/apis/genomics_v1/classes.rb', line 2681

def bigquery_dataset
  @bigquery_dataset
end

#bigquery_tableString

Required. The BigQuery table to export data to. If the table doesn't exist, it will be created. If it already exists, it will be overwritten. Corresponds to the JSON property bigqueryTable

Returns:

  • (String)


2687
2688
2689
# File 'generated/google/apis/genomics_v1/classes.rb', line 2687

def bigquery_table
  @bigquery_table
end

#call_set_idsArray<String>

If provided, only variant call information from the specified call sets will be exported. By default all variant calls are exported. Corresponds to the JSON property callSetIds

Returns:

  • (Array<String>)


2663
2664
2665
# File 'generated/google/apis/genomics_v1/classes.rb', line 2663

def call_set_ids
  @call_set_ids
end

#formatString

The format for the exported data. Corresponds to the JSON property format

Returns:

  • (String)


2675
2676
2677
# File 'generated/google/apis/genomics_v1/classes.rb', line 2675

def format
  @format
end

#project_idString

Required. The Google Cloud project ID that owns the destination BigQuery dataset. The caller must have WRITE access to this project. This project will also own the resulting export job. Corresponds to the JSON property projectId

Returns:

  • (String)


2670
2671
2672
# File 'generated/google/apis/genomics_v1/classes.rb', line 2670

def project_id
  @project_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2694
2695
2696
2697
2698
2699
2700
# File 'generated/google/apis/genomics_v1/classes.rb', line 2694

def update!(**args)
  @call_set_ids = args[:call_set_ids] if args.key?(:call_set_ids)
  @project_id = args[:project_id] if args.key?(:project_id)
  @format = args[:format] if args.key?(:format)
  @bigquery_dataset = args[:bigquery_dataset] if args.key?(:bigquery_dataset)
  @bigquery_table = args[:bigquery_table] if args.key?(:bigquery_table)
end