Class: Google::Apis::BigtableadminV2::UpdateTableMetadata
- Inherits:
-
Object
- Object
- Google::Apis::BigtableadminV2::UpdateTableMetadata
- 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 UpdateTable.
Instance Attribute Summary collapse
-
#end_time ⇒ String
If set, the time at which this operation finished or was canceled.
-
#name ⇒ String
The name of the table being updated.
-
#start_time ⇒ String
The time at which this operation started.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdateTableMetadata
constructor
A new instance of UpdateTableMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ UpdateTableMetadata
Returns a new instance of UpdateTableMetadata.
2789 2790 2791 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 2789 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_time ⇒ String
If set, the time at which this operation finished or was canceled.
Corresponds to the JSON property endTime
2777 2778 2779 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 2777 def end_time @end_time end |
#name ⇒ String
The name of the table being updated.
Corresponds to the JSON property name
2782 2783 2784 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 2782 def name @name end |
#start_time ⇒ String
The time at which this operation started.
Corresponds to the JSON property startTime
2787 2788 2789 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 2787 def start_time @start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2794 2795 2796 2797 2798 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 2794 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 |