Class: Google::Apis::BigtableadminV2::CreateBackupMetadata
- Inherits:
-
Object
- Object
- Google::Apis::BigtableadminV2::CreateBackupMetadata
- 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 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.
1034 1035 1036 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1034 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
1017 1018 1019 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1017 def end_time @end_time end |
#name ⇒ String
The name of the backup being created.
Corresponds to the JSON property name
1022 1023 1024 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1022 def name @name end |
#source_table ⇒ String
The name of the table the backup is created from.
Corresponds to the JSON property sourceTable
1027 1028 1029 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1027 def source_table @source_table end |
#start_time ⇒ String
The time at which this operation started.
Corresponds to the JSON property startTime
1032 1033 1034 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1032 def start_time @start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1039 1040 1041 1042 1043 1044 |
# File 'lib/google/apis/bigtableadmin_v2/classes.rb', line 1039 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 |