Class: Google::Apis::GenomicsV1::SearchVariantsResponse
- Inherits:
-
Object
- Object
- Google::Apis::GenomicsV1::SearchVariantsResponse
- 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 search response.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
The continuation token, which is used to page through large result sets.
-
#variants ⇒ Array<Google::Apis::GenomicsV1::Variant>
The list of matching Variants.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SearchVariantsResponse
constructor
A new instance of SearchVariantsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SearchVariantsResponse
Returns a new instance of SearchVariantsResponse
1727 1728 1729 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 1727 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
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
1720 1721 1722 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 1720 def next_page_token @next_page_token end |
#variants ⇒ Array<Google::Apis::GenomicsV1::Variant>
The list of matching Variants.
Corresponds to the JSON property variants
1725 1726 1727 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 1725 def variants @variants end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1732 1733 1734 1735 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 1732 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @variants = args[:variants] if args.key?(:variants) end |