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



1761
1762
1763
# File 'generated/google/apis/genomics_v1/classes.rb', line 1761

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)


1754
1755
1756
# File 'generated/google/apis/genomics_v1/classes.rb', line 1754

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)


1747
1748
1749
# File 'generated/google/apis/genomics_v1/classes.rb', line 1747

def offset
  @offset
end

#sequenceString

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

Returns:

  • (String)


1759
1760
1761
# File 'generated/google/apis/genomics_v1/classes.rb', line 1759

def sequence
  @sequence
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1766
1767
1768
1769
1770
# File 'generated/google/apis/genomics_v1/classes.rb', line 1766

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