Class: Google::Apis::GenomicsV1::StreamVariantsRequest

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 stream variants 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) ⇒ StreamVariantsRequest

Returns a new instance of StreamVariantsRequest.



3239
3240
3241
# File 'generated/google/apis/genomics_v1/classes.rb', line 3239

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

Instance Attribute Details

#call_set_idsArray<String>

Only return variant calls which belong to call sets with these IDs. Leaving this blank returns all variant calls. Corresponds to the JSON property callSetIds

Returns:

  • (Array<String>)


3220
3221
3222
# File 'generated/google/apis/genomics_v1/classes.rb', line 3220

def call_set_ids
  @call_set_ids
end

#endString

The end of the window (0-based, exclusive) for which overlapping variants should be returned. Corresponds to the JSON property end

Returns:

  • (String)


3237
3238
3239
# File 'generated/google/apis/genomics_v1/classes.rb', line 3237

def end
  @end
end

#project_idString

The Google Cloud project ID which will be billed for this access. The caller must have WRITE access to this project. Required. Corresponds to the JSON property projectId

Returns:

  • (String)


3209
3210
3211
# File 'generated/google/apis/genomics_v1/classes.rb', line 3209

def project_id
  @project_id
end

#reference_nameString

Required. Only return variants in this reference sequence. Corresponds to the JSON property referenceName

Returns:

  • (String)


3225
3226
3227
# File 'generated/google/apis/genomics_v1/classes.rb', line 3225

def reference_name
  @reference_name
end

#startString

The beginning of the window (0-based, inclusive) for which overlapping variants should be returned. Corresponds to the JSON property start

Returns:

  • (String)


3231
3232
3233
# File 'generated/google/apis/genomics_v1/classes.rb', line 3231

def start
  @start
end

#variant_set_idString

The variant set ID from which to stream variants. Corresponds to the JSON property variantSetId

Returns:

  • (String)


3214
3215
3216
# File 'generated/google/apis/genomics_v1/classes.rb', line 3214

def variant_set_id
  @variant_set_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3244
3245
3246
3247
3248
3249
3250
3251
# File 'generated/google/apis/genomics_v1/classes.rb', line 3244

def update!(**args)
  @project_id = args[:project_id] if args.key?(:project_id)
  @variant_set_id = args[:variant_set_id] if args.key?(:variant_set_id)
  @call_set_ids = args[:call_set_ids] if args.key?(:call_set_ids)
  @reference_name = args[:reference_name] if args.key?(:reference_name)
  @start = args[:start] if args.key?(:start)
  @end = args[:end] if args.key?(:end)
end