Class: Google::Apis::GenomicsV1::SearchVariantSetsRequest

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 search variant sets 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) ⇒ SearchVariantSetsRequest

Returns a new instance of SearchVariantSetsRequest



2915
2916
2917
# File 'generated/google/apis/genomics_v1/classes.rb', line 2915

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

Instance Attribute Details

#dataset_idsArray<String>

Exactly one dataset ID must be provided here. Only variant sets which belong to this dataset will be returned. Corresponds to the JSON property datasetIds

Returns:

  • (Array<String>)


2900
2901
2902
# File 'generated/google/apis/genomics_v1/classes.rb', line 2900

def dataset_ids
  @dataset_ids
end

#page_sizeFixnum

The maximum number of results to return in a single page. If unspecified, defaults to 1024. Corresponds to the JSON property pageSize

Returns:

  • (Fixnum)


2906
2907
2908
# File 'generated/google/apis/genomics_v1/classes.rb', line 2906

def page_size
  @page_size
end

#page_tokenString

The continuation token, which is used to page through large result sets. To get the next page of results, set this parameter to the value of nextPageToken from the previous response. Corresponds to the JSON property pageToken

Returns:

  • (String)


2913
2914
2915
# File 'generated/google/apis/genomics_v1/classes.rb', line 2913

def page_token
  @page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2920
2921
2922
2923
2924
# File 'generated/google/apis/genomics_v1/classes.rb', line 2920

def update!(**args)
  @dataset_ids = args[:dataset_ids] if args.key?(:dataset_ids)
  @page_size = args[:page_size] if args.key?(:page_size)
  @page_token = args[:page_token] if args.key?(:page_token)
end