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



1211
1212
1213
# File 'generated/google/apis/genomics_v1/classes.rb', line 1211

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)


1197
1198
1199
# File 'generated/google/apis/genomics_v1/classes.rb', line 1197

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)


1204
1205
1206
# File 'generated/google/apis/genomics_v1/classes.rb', line 1204

def offset
  @offset
end

#sequenceString

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

Returns:

  • (String)


1209
1210
1211
# File 'generated/google/apis/genomics_v1/classes.rb', line 1209

def sequence
  @sequence
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1216
1217
1218
1219
1220
# File 'generated/google/apis/genomics_v1/classes.rb', line 1216

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