Class: Google::Apis::BigtableadminV2::OptimizeRestoredTableMetadata
- Inherits:
-
Object
- Object
- Google::Apis::BigtableadminV2::OptimizeRestoredTableMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/bigtableadmin_v2/classes.rb,
generated/google/apis/bigtableadmin_v2/representations.rb,
generated/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
-
#name ⇒ String
Name of the restored table being optimized.
-
#progress ⇒ Google::Apis::BigtableadminV2::OperationProgress
Encapsulates progress related information for a Cloud Bigtable long running operation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ OptimizeRestoredTableMetadata
constructor
A new instance of OptimizeRestoredTableMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ OptimizeRestoredTableMetadata
Returns a new instance of OptimizeRestoredTableMetadata.
1470 1471 1472 |
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 1470 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Name of the restored table being optimized.
Corresponds to the JSON property name
1462 1463 1464 |
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 1462 def name @name end |
#progress ⇒ Google::Apis::BigtableadminV2::OperationProgress
Encapsulates progress related information for a Cloud Bigtable long running
operation.
Corresponds to the JSON property progress
1468 1469 1470 |
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 1468 def progress @progress end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1475 1476 1477 1478 |
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 1475 def update!(**args) @name = args[:name] if args.key?(:name) @progress = args[:progress] if args.key?(:progress) end |