Class: Google::Apis::GenomicsV1::SearchReferencesRequest

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

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

Returns a new instance of SearchReferencesRequest



1325
1326
1327
# File 'generated/google/apis/genomics_v1/classes.rb', line 1325

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

Instance Attribute Details

#accessionsArray<String>

If present, return references for which a prefix of any of sourceAccessions match any of these strings. Accession numbers typically have a main number and a version, for example GCF_000001405.26. Corresponds to the JSON property accessions

Returns:

  • (Array<String>)


1299
1300
1301
# File 'generated/google/apis/genomics_v1/classes.rb', line 1299

def accessions
  @accessions
end

#md5checksumsArray<String>

If present, return references for which the md5checksum matches exactly. Corresponds to the JSON property md5checksums

Returns:

  • (Array<String>)


1323
1324
1325
# File 'generated/google/apis/genomics_v1/classes.rb', line 1323

def md5checksums
  @md5checksums
end

#page_sizeFixnum

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

Returns:

  • (Fixnum)


1317
1318
1319
# File 'generated/google/apis/genomics_v1/classes.rb', line 1317

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)


1306
1307
1308
# File 'generated/google/apis/genomics_v1/classes.rb', line 1306

def page_token
  @page_token
end

#reference_set_idString

If present, return only references which belong to this reference set. Corresponds to the JSON property referenceSetId

Returns:

  • (String)


1311
1312
1313
# File 'generated/google/apis/genomics_v1/classes.rb', line 1311

def reference_set_id
  @reference_set_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1330
1331
1332
1333
1334
1335
1336
# File 'generated/google/apis/genomics_v1/classes.rb', line 1330

def update!(**args)
  @accessions = args[:accessions] if args.key?(:accessions)
  @page_token = args[:page_token] if args.key?(:page_token)
  @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id)
  @page_size = args[:page_size] if args.key?(:page_size)
  @md5checksums = args[:md5checksums] if args.key?(:md5checksums)
end