Class: Google::Apis::GenomicsV1::SearchReferenceSetsRequest

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

Returns a new instance of SearchReferenceSetsRequest.



2155
2156
2157
# File 'generated/google/apis/genomics_v1/classes.rb', line 2155

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

Instance Attribute Details

#accessionsArray<String>

If present, return reference sets 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 NC_000001.11. Corresponds to the JSON property accessions

Returns:

  • (Array<String>)


2134
2135
2136
# File 'generated/google/apis/genomics_v1/classes.rb', line 2134

def accessions
  @accessions
end

#assembly_idString

If present, return reference sets for which a substring of their assemblyId matches this string (case insensitive). Corresponds to the JSON property assemblyId

Returns:

  • (String)


2140
2141
2142
# File 'generated/google/apis/genomics_v1/classes.rb', line 2140

def assembly_id
  @assembly_id
end

#md5checksumsArray<String>

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

Returns:

  • (Array<String>)


2127
2128
2129
# File 'generated/google/apis/genomics_v1/classes.rb', line 2127

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)


2153
2154
2155
# File 'generated/google/apis/genomics_v1/classes.rb', line 2153

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)


2147
2148
2149
# File 'generated/google/apis/genomics_v1/classes.rb', line 2147

def page_token
  @page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2160
2161
2162
2163
2164
2165
2166
# File 'generated/google/apis/genomics_v1/classes.rb', line 2160

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