Class: Google::Apis::GenomicsV1beta2::SearchAnnotationsRequest

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

Returns a new instance of SearchAnnotationsRequest



2257
2258
2259
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2257

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

Instance Attribute Details

#annotation_set_idsArray<String>

The annotation sets to search within. The caller must have READ access to these annotation sets. Required. All queried annotation sets must have the same type. Corresponds to the JSON property annotationSetIds

Returns:

  • (Array<String>)


2237
2238
2239
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2237

def annotation_set_ids
  @annotation_set_ids
end

#page_sizeFixnum

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

Returns:

  • (Fixnum)


2243
2244
2245
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2243

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)


2250
2251
2252
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2250

def page_token
  @page_token
end

#rangeGoogle::Apis::GenomicsV1beta2::QueryRange

A 0-based half-open genomic coordinate range for search requests. Corresponds to the JSON property range



2255
2256
2257
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2255

def range
  @range
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2262
2263
2264
2265
2266
2267
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 2262

def update!(**args)
  @annotation_set_ids = args[:annotation_set_ids] unless args[:annotation_set_ids].nil?
  @page_size = args[:page_size] unless args[:page_size].nil?
  @page_token = args[:page_token] unless args[:page_token].nil?
  @range = args[:range] unless args[:range].nil?
end