Class: Google::Apis::BigtableadminV1::BackupInfo
- Inherits:
-
Object
- Object
- Google::Apis::BigtableadminV1::BackupInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/bigtableadmin_v1/classes.rb,
lib/google/apis/bigtableadmin_v1/representations.rb,
lib/google/apis/bigtableadmin_v1/representations.rb
Overview
Information about a backup.
Instance Attribute Summary collapse
-
#backup ⇒ String
Output only.
-
#end_time ⇒ String
Output only.
-
#source_table ⇒ String
Output only.
-
#start_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BackupInfo
constructor
A new instance of BackupInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BackupInfo
Returns a new instance of BackupInfo.
172 173 174 |
# File 'lib/google/apis/bigtableadmin_v1/classes.rb', line 172 def initialize(**args) update!(**args) end |
Instance Attribute Details
#backup ⇒ String
Output only. Name of the backup.
Corresponds to the JSON property backup
153 154 155 |
# File 'lib/google/apis/bigtableadmin_v1/classes.rb', line 153 def backup @backup end |
#end_time ⇒ String
Output only. This time that the backup was finished. Row data in the backup
will be no newer than this timestamp.
Corresponds to the JSON property endTime
159 160 161 |
# File 'lib/google/apis/bigtableadmin_v1/classes.rb', line 159 def end_time @end_time end |
#source_table ⇒ String
Output only. Name of the table the backup was created from.
Corresponds to the JSON property sourceTable
164 165 166 |
# File 'lib/google/apis/bigtableadmin_v1/classes.rb', line 164 def source_table @source_table end |
#start_time ⇒ String
Output only. The time that the backup was started. Row data in the backup will
be no older than this timestamp.
Corresponds to the JSON property startTime
170 171 172 |
# File 'lib/google/apis/bigtableadmin_v1/classes.rb', line 170 def start_time @start_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
177 178 179 180 181 182 |
# File 'lib/google/apis/bigtableadmin_v1/classes.rb', line 177 def update!(**args) @backup = args[:backup] if args.key?(:backup) @end_time = args[:end_time] if args.key?(:end_time) @source_table = args[:source_table] if args.key?(:source_table) @start_time = args[:start_time] if args.key?(:start_time) end |