Class: Google::Apis::BigtableadminV2::UndeleteTableMetadata
- Inherits:
-
Object
- Object
- Google::Apis::BigtableadminV2::UndeleteTableMetadata
- 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 operation returned by google.bigtable.admin.v2. BigtableTableAdmin.UndeleteTable.
Instance Attribute Summary collapse
-
#end_time ⇒ String
If set, the time at which this operation finished or was cancelled.
-
#name ⇒ String
The name of the table being restored.
-
#start_time ⇒ String
The time at which this operation started.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UndeleteTableMetadata
constructor
A new instance of UndeleteTableMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UndeleteTableMetadata
Returns a new instance of UndeleteTableMetadata.
3658 3659 3660 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 3658 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_time ⇒ String
If set, the time at which this operation finished or was cancelled.
Corresponds to the JSON property endTime
3646 3647 3648 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 3646 def end_time @end_time end |
#name ⇒ String
The name of the table being restored.
Corresponds to the JSON property name
3651 3652 3653 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 3651 def name @name end |
#start_time ⇒ String
The time at which this operation started.
Corresponds to the JSON property startTime
3656 3657 3658 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 3656 def start_time @start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3663 3664 3665 3666 3667 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 3663 def update!(**args) @end_time = args[:end_time] if args.key?(:end_time) @name = args[:name] if args.key?(:name) @start_time = args[:start_time] if args.key?(:start_time) end |