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



2519
2520
2521
# File 'generated/google/apis/genomics_v1/classes.rb', line 2519

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)


2498
2499
2500
# File 'generated/google/apis/genomics_v1/classes.rb', line 2498

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)


2504
2505
2506
# File 'generated/google/apis/genomics_v1/classes.rb', line 2504

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)


2511
2512
2513
# File 'generated/google/apis/genomics_v1/classes.rb', line 2511

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


2517
2518
2519
# File 'generated/google/apis/genomics_v1/classes.rb', line 2517

def variant_set_ids
  @variant_set_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2524
2525
2526
2527
2528
2529
# File 'generated/google/apis/genomics_v1/classes.rb', line 2524

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