Class: Google::Apis::BigtableadminV1::OptimizeRestoredTableMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/bigtableadmin_v1/classes.rb,
generated/google/apis/bigtableadmin_v1/representations.rb,
generated/google/apis/bigtableadmin_v1/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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ OptimizeRestoredTableMetadata

Returns a new instance of OptimizeRestoredTableMetadata.


499
500
501
# File 'generated/google/apis/bigtableadmin_v1/classes.rb', line 499

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)

491
492
493
# File 'generated/google/apis/bigtableadmin_v1/classes.rb', line 491

def name
  @name
end

#progressGoogle::Apis::BigtableadminV1::OperationProgress

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


497
498
499
# File 'generated/google/apis/bigtableadmin_v1/classes.rb', line 497

def progress
  @progress
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


504
505
506
507
# File 'generated/google/apis/bigtableadmin_v1/classes.rb', line 504

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