Class: Google::Apis::GenomicsV1::SearchCallSetsRequest

Inherits:
Object
  • Object
show all
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 call set search request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SearchCallSetsRequest

Returns a new instance of SearchCallSetsRequest



1225
1226
1227
# File 'generated/google/apis/genomics_v1/classes.rb', line 1225

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

Instance Attribute Details

#nameString

Only return call sets for which a substring of the name matches this string. Corresponds to the JSON property name

Returns:

  • (String)


1204
1205
1206
# File 'generated/google/apis/genomics_v1/classes.rb', line 1204

def name
  @name
end

#page_sizeFixnum

The maximum number of results to return in a single page. If unspecified, defaults to 1024. Corresponds to the JSON property pageSize

Returns:

  • (Fixnum)


1217
1218
1219
# File 'generated/google/apis/genomics_v1/classes.rb', line 1217

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)


1211
1212
1213
# File 'generated/google/apis/genomics_v1/classes.rb', line 1211

def page_token
  @page_token
end

#variant_set_idsArray<String>

Restrict the query to call sets within the given variant sets. At least one ID must be provided. Corresponds to the JSON property variantSetIds

Returns:

  • (Array<String>)


1223
1224
1225
# File 'generated/google/apis/genomics_v1/classes.rb', line 1223

def variant_set_ids
  @variant_set_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1230
1231
1232
1233
1234
1235
# File 'generated/google/apis/genomics_v1/classes.rb', line 1230

def update!(**args)
  @name = args[:name] if args.key?(:name)
  @page_token = args[:page_token] if args.key?(:page_token)
  @page_size = args[:page_size] if args.key?(:page_size)
  @variant_set_ids = args[:variant_set_ids] if args.key?(:variant_set_ids)
end