Class: Google::Apis::GenomicsV1::ListCoverageBucketsResponse

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) ⇒ ListCoverageBucketsResponse

Returns a new instance of ListCoverageBucketsResponse



1334
1335
1336
# File 'generated/google/apis/genomics_v1/classes.rb', line 1334

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#bucket_widthFixnum

The length of each coverage bucket in base pairs. Note that buckets at the end of a reference sequence may be shorter. This value is omitted if the bucket width is infinity (the default behaviour, with no range or targetBucketWidth). Corresponds to the JSON property bucketWidth

Returns:

  • (Fixnum)


1317
1318
1319
# File 'generated/google/apis/genomics_v1/classes.rb', line 1317

def bucket_width
  @bucket_width
end

#coverage_bucketsArray<Google::Apis::GenomicsV1::CoverageBucket>

The coverage buckets. The list of buckets is sparse; a bucket with 0 overlapping reads is not returned. A bucket never crosses more than one reference sequence. Each bucket has width bucketWidth, unless its end is the end of the reference sequence. Corresponds to the JSON property coverageBuckets



1325
1326
1327
# File 'generated/google/apis/genomics_v1/classes.rb', line 1325

def coverage_buckets
  @coverage_buckets
end

#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)


1332
1333
1334
# File 'generated/google/apis/genomics_v1/classes.rb', line 1332

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1339
1340
1341
1342
1343
# File 'generated/google/apis/genomics_v1/classes.rb', line 1339

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