Class: Google::Apis::BigtableadminV1::CreateBackupMetadata
- Inherits:
-
Object
- Object
- Google::Apis::BigtableadminV1::CreateBackupMetadata
- 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 operation returned by CreateBackup.
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 backup being created.
-
#source_table ⇒ String
The name of the table the backup is created from.
-
#start_time ⇒ String
The time at which this operation started.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreateBackupMetadata
constructor
A new instance of CreateBackupMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CreateBackupMetadata
Returns a new instance of CreateBackupMetadata.
206 207 208 |
# File 'generated/google/apis/bigtableadmin_v1/classes.rb', line 206 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
189 190 191 |
# File 'generated/google/apis/bigtableadmin_v1/classes.rb', line 189 def end_time @end_time end |
#name ⇒ String
The name of the backup being created.
Corresponds to the JSON property name
194 195 196 |
# File 'generated/google/apis/bigtableadmin_v1/classes.rb', line 194 def name @name end |
#source_table ⇒ String
The name of the table the backup is created from.
Corresponds to the JSON property sourceTable
199 200 201 |
# File 'generated/google/apis/bigtableadmin_v1/classes.rb', line 199 def source_table @source_table end |
#start_time ⇒ String
The time at which this operation started.
Corresponds to the JSON property startTime
204 205 206 |
# File 'generated/google/apis/bigtableadmin_v1/classes.rb', line 204 def start_time @start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
211 212 213 214 215 216 |
# File 'generated/google/apis/bigtableadmin_v1/classes.rb', line 211 def update!(**args) @end_time = args[:end_time] if args.key?(:end_time) @name = args[:name] if args.key?(:name) @source_table = args[:source_table] if args.key?(:source_table) @start_time = args[:start_time] if args.key?(:start_time) end |