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



2541
2542
2543
# File 'generated/google/apis/genomics_v1/classes.rb', line 2541

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)


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

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)


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

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)


2533
2534
2535
# File 'generated/google/apis/genomics_v1/classes.rb', line 2533

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


2539
2540
2541
# File 'generated/google/apis/genomics_v1/classes.rb', line 2539

def variant_set_ids
  @variant_set_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2546
2547
2548
2549
2550
2551
# File 'generated/google/apis/genomics_v1/classes.rb', line 2546

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