Class: Google::Apis::GenomicsV1beta2::ListBasesResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable
Defined in:
generated/google/apis/genomics_v1beta2/classes.rb,
generated/google/apis/genomics_v1beta2/representations.rb,
generated/google/apis/genomics_v1beta2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListBasesResponse

Returns a new instance of ListBasesResponse.



1223
1224
1225
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1223

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)


1210
1211
1212
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1210

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)


1216
1217
1218
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1216

def offset
  @offset
end

#sequenceString

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

Returns:

  • (String)


1221
1222
1223
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1221

def sequence
  @sequence
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1228
1229
1230
1231
1232
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 1228

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