Class: Google::Apis::GenomicsV1::SearchAnnotationSetsRequest
- Inherits:
-
Object
- Object
- Google::Apis::GenomicsV1::SearchAnnotationSetsRequest
- 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
Instance Attribute Summary collapse
-
#dataset_ids ⇒ Array<String>
Required.
-
#name ⇒ String
Only return annotations sets for which a substring of the name matches this string (case insensitive).
-
#page_size ⇒ Fixnum
The maximum number of results to return in a single page.
-
#page_token ⇒ String
The continuation token, which is used to page through large result sets.
-
#reference_set_id ⇒ String
If specified, only annotation sets associated with the given reference set are returned.
-
#types ⇒ Array<String>
If specified, only annotation sets that have any of these types are returned.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SearchAnnotationSetsRequest
constructor
A new instance of SearchAnnotationSetsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SearchAnnotationSetsRequest
Returns a new instance of SearchAnnotationSetsRequest.
142 143 144 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 142 def initialize(**args) update!(**args) end |
Instance Attribute Details
#dataset_ids ⇒ Array<String>
Required. The dataset IDs to search within. Caller must have READ
access to
these datasets.
Corresponds to the JSON property datasetIds
110 111 112 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 110 def dataset_ids @dataset_ids end |
#name ⇒ String
Only return annotations sets for which a substring of the name matches this
string (case insensitive).
Corresponds to the JSON property name
122 123 124 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 122 def name @name end |
#page_size ⇒ Fixnum
The maximum number of results to return in a single page. If unspecified,
defaults to 128. The maximum value is 1024.
Corresponds to the JSON property pageSize
140 141 142 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 140 def page_size @page_size end |
#page_token ⇒ String
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
134 135 136 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 134 def page_token @page_token end |
#reference_set_id ⇒ String
If specified, only annotation sets associated with the given reference set are
returned.
Corresponds to the JSON property referenceSetId
116 117 118 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 116 def reference_set_id @reference_set_id end |
#types ⇒ Array<String>
If specified, only annotation sets that have any of these types are returned.
Corresponds to the JSON property types
127 128 129 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 127 def types @types end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
147 148 149 150 151 152 153 154 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 147 def update!(**args) @dataset_ids = args[:dataset_ids] if args.key?(:dataset_ids) @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id) @name = args[:name] if args.key?(:name) @types = args[:types] if args.key?(:types) @page_token = args[:page_token] if args.key?(:page_token) @page_size = args[:page_size] if args.key?(:page_size) end |