Class: Google::Apis::BigtableadminV2::TableProgress
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::BigtableadminV2::TableProgress
 
 
- 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
Progress info for copying a table's data to the new cluster.
Instance Attribute Summary collapse
- 
  
    
      #estimated_copied_bytes  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Estimate of the number of bytes copied so far for this table.
 - 
  
    
      #estimated_size_bytes  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Estimate of the size of the table to be copied.
 - 
  
    
      #state  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Corresponds to the JSON property
state. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ TableProgress 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of TableProgress.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ TableProgress
Returns a new instance of TableProgress.
      3478 3479 3480  | 
    
      # File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 3478 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#estimated_copied_bytes ⇒ Fixnum
Estimate of the number of bytes copied so far for this table. This will
eventually reach 'estimated_size_bytes' unless the table copy is CANCELLED.
Corresponds to the JSON property estimatedCopiedBytes
      3466 3467 3468  | 
    
      # File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 3466 def estimated_copied_bytes @estimated_copied_bytes end  | 
  
#estimated_size_bytes ⇒ Fixnum
Estimate of the size of the table to be copied.
Corresponds to the JSON property estimatedSizeBytes
      3471 3472 3473  | 
    
      # File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 3471 def estimated_size_bytes @estimated_size_bytes end  | 
  
#state ⇒ String
Corresponds to the JSON property state
      3476 3477 3478  | 
    
      # File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 3476 def state @state end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      3483 3484 3485 3486 3487  | 
    
      # File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 3483 def update!(**args) @estimated_copied_bytes = args[:estimated_copied_bytes] if args.key?(:estimated_copied_bytes) @estimated_size_bytes = args[:estimated_size_bytes] if args.key?(:estimated_size_bytes) @state = args[:state] if args.key?(:state) end  |