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.


2434
2435
2436
# File 'generated/google/apis/genomics_v1/classes.rb', line 2434

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)

2432
2433
2434
# File 'generated/google/apis/genomics_v1/classes.rb', line 2432

def next_page_token
  @next_page_token
end

#offsetString

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:

  • (String)

2420
2421
2422
# File 'generated/google/apis/genomics_v1/classes.rb', line 2420

def offset
  @offset
end

#sequenceString

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

Returns:

  • (String)

2425
2426
2427
# File 'generated/google/apis/genomics_v1/classes.rb', line 2425

def sequence
  @sequence
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


2439
2440
2441
2442
2443
# File 'generated/google/apis/genomics_v1/classes.rb', line 2439

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