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



2781
2782
2783
# File 'generated/google/apis/genomics_v1/classes.rb', line 2781

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


2779
2780
2781
# File 'generated/google/apis/genomics_v1/classes.rb', line 2779

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)


2773
2774
2775
# File 'generated/google/apis/genomics_v1/classes.rb', line 2773

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)


2767
2768
2769
# File 'generated/google/apis/genomics_v1/classes.rb', line 2767

def page_token
  @page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2786
2787
2788
2789
2790
# File 'generated/google/apis/genomics_v1/classes.rb', line 2786

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