Class: Google::Apis::GenomicsV1beta2::SearchAnnotationSetsRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SearchAnnotationSetsRequest

Returns a new instance of SearchAnnotationSetsRequest.


2186
2187
2188
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2186

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

Instance Attribute Details

#dataset_idsArray<String>

The dataset IDs to search within. Caller must have READ access to these datasets. Corresponds to the JSON property datasetIds

Returns:

  • (Array<String>)

2154
2155
2156
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2154

def dataset_ids
  @dataset_ids
end

#nameString

Only return annotations sets for which a substring of the name matches this string (case insensitive). Corresponds to the JSON property name

Returns:

  • (String)

2160
2161
2162
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2160

def name
  @name
end

#page_sizeFixnum

Specifies number of results to return in a single page. If unspecified, it will default to 128. The maximum value is 1024. Corresponds to the JSON property pageSize

Returns:

  • (Fixnum)

2166
2167
2168
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2166

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)

2173
2174
2175
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2173

def page_token
  @page_token
end

#reference_set_idString

If specified, only annotation sets associated with the given reference set are returned. Corresponds to the JSON property referenceSetId

Returns:

  • (String)

2179
2180
2181
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2179

def reference_set_id
  @reference_set_id
end

#typesArray<String>

If specified, only annotation sets that have any of these types are returned. Corresponds to the JSON property types

Returns:

  • (Array<String>)

2184
2185
2186
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2184

def types
  @types
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


2191
2192
2193
2194
2195
2196
2197
2198
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2191

def update!(**args)
  @dataset_ids = args[:dataset_ids] unless args[:dataset_ids].nil?
  @name = args[:name] unless args[:name].nil?
  @page_size = args[:page_size] unless args[:page_size].nil?
  @page_token = args[:page_token] unless args[:page_token].nil?
  @reference_set_id = args[:reference_set_id] unless args[:reference_set_id].nil?
  @types = args[:types] unless args[:types].nil?
end