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



1593
1594
1595
# File 'generated/google/apis/genomics_v1/classes.rb', line 1593

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)


1591
1592
1593
# File 'generated/google/apis/genomics_v1/classes.rb', line 1591

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)


1584
1585
1586
# File 'generated/google/apis/genomics_v1/classes.rb', line 1584

def offset
  @offset
end

#sequenceString

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

Returns:

  • (String)


1577
1578
1579
# File 'generated/google/apis/genomics_v1/classes.rb', line 1577

def sequence
  @sequence
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1598
1599
1600
1601
1602
# File 'generated/google/apis/genomics_v1/classes.rb', line 1598

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