Class: Google::Apis::GenomicsV1beta2::SearchVariantsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable
Defined in:
generated/google/apis/genomics_v1beta2/classes.rb,
generated/google/apis/genomics_v1beta2/representations.rb,
generated/google/apis/genomics_v1beta2/representations.rb

Overview

The variant search response.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SearchVariantsResponse

Returns a new instance of SearchVariantsResponse.



2921
2922
2923
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2921

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

Instance Attribute Details

#next_page_tokenString

The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results. This field will be empty if there aren't any additional results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


2914
2915
2916
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2914

def next_page_token
  @next_page_token
end

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

The list of matching Variants. Corresponds to the JSON property variants



2919
2920
2921
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2919

def variants
  @variants
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2926
2927
2928
2929
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2926

def update!(**args)
  @next_page_token = args[:next_page_token] unless args[:next_page_token].nil?
  @variants = args[:variants] unless args[:variants].nil?
end