Class: Google::Apis::BigtableadminV2::ListHotTabletsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/bigtableadmin_v2/classes.rb,
lib/google/apis/bigtableadmin_v2/representations.rb,
lib/google/apis/bigtableadmin_v2/representations.rb

Overview

Response message for BigtableInstanceAdmin.ListHotTablets.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListHotTabletsResponse

Returns a new instance of ListHotTabletsResponse.



2465
2466
2467
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 2465

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

Instance Attribute Details

#hot_tabletsArray<Google::Apis::BigtableadminV2::HotTablet>

List of hot tablets in the tables of the requested cluster that fall within the requested time range. Hot tablets are ordered by node cpu usage percent. If there are multiple hot tablets that correspond to the same tablet within a 15-minute interval, only the hot tablet with the highest node cpu usage will be included in the response. Corresponds to the JSON property hotTablets



2457
2458
2459
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 2457

def hot_tablets
  @hot_tablets
end

#next_page_tokenString

Set if not all hot tablets could be returned in a single response. Pass this value to page_token in another request to get the next page of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


2463
2464
2465
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 2463

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2470
2471
2472
2473
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 2470

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