Class: Google::Apis::GenomicsV1::ListBasesResponse

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

Returns a new instance of ListBasesResponse



1295
1296
1297
# File 'generated/google/apis/genomics_v1/classes.rb', line 1295

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

Instance Attribute Details

#next_page_tokenString

The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results. This field will be empty if there aren't any additional results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1281
1282
1283
# File 'generated/google/apis/genomics_v1/classes.rb', line 1281

def next_page_token
  @next_page_token
end

#offsetFixnum

The offset position (0-based) of the given sequence from the start of this Reference. This value will differ for each page in a paginated request. Corresponds to the JSON property offset

Returns:

  • (Fixnum)


1288
1289
1290
# File 'generated/google/apis/genomics_v1/classes.rb', line 1288

def offset
  @offset
end

#sequenceString

A substring of the bases that make up this reference. Corresponds to the JSON property sequence

Returns:

  • (String)


1293
1294
1295
# File 'generated/google/apis/genomics_v1/classes.rb', line 1293

def sequence
  @sequence
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1300
1301
1302
1303
1304
# File 'generated/google/apis/genomics_v1/classes.rb', line 1300

def update!(**args)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @offset = args[:offset] if args.key?(:offset)
  @sequence = args[:sequence] if args.key?(:sequence)
end