Class: Google::Apis::BigtableadminV2::OptimizeRestoredTableMetadata

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

Metadata type for the long-running operation used to track the progress of optimizations performed on a newly restored table. This long-running operation is automatically created by the system after the successful completion of a table restore, and cannot be cancelled.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OptimizeRestoredTableMetadata

Returns a new instance of OptimizeRestoredTableMetadata.



2825
2826
2827
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 2825

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

Instance Attribute Details

#nameString

Name of the restored table being optimized. Corresponds to the JSON property name

Returns:

  • (String)


2817
2818
2819
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 2817

def name
  @name
end

#progressGoogle::Apis::BigtableadminV2::OperationProgress

Encapsulates progress related information for a Cloud Bigtable long running operation. Corresponds to the JSON property progress



2823
2824
2825
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 2823

def progress
  @progress
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2830
2831
2832
2833
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 2830

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