Class: Google::Apis::BigtableadminV2::RestoreTableRequest
- Inherits:
-
Object
- Object
- Google::Apis::BigtableadminV2::RestoreTableRequest
- 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
The request for RestoreTable.
Instance Attribute Summary collapse
-
#backup ⇒ String
Name of the backup from which to restore.
-
#table_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RestoreTableRequest
constructor
A new instance of RestoreTableRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RestoreTableRequest
Returns a new instance of RestoreTableRequest.
1691 1692 1693 |
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 1691 def initialize(**args) update!(**args) end |
Instance Attribute Details
#backup ⇒ String
Name of the backup from which to restore. Values are of the form projects//
instances//clusters//backups/
.
Corresponds to the JSON property backup
1682 1683 1684 |
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 1682 def backup @backup end |
#table_id ⇒ String
Required. The id of the table to create and restore to. This table must not
already exist. The table_id
appended to parent
forms the full table name
of the form projects//instances//tables/
.
Corresponds to the JSON property tableId
1689 1690 1691 |
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 1689 def table_id @table_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1696 1697 1698 1699 |
# File 'generated/google/apis/bigtableadmin_v2/classes.rb', line 1696 def update!(**args) @backup = args[:backup] if args.key?(:backup) @table_id = args[:table_id] if args.key?(:table_id) end |