Class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainBackupRun
- Inherits:
-
Object
- Object
- Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainBackupRun
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/alloydb_v1alpha/classes.rb,
lib/google/apis/alloydb_v1alpha/representations.rb,
lib/google/apis/alloydb_v1alpha/representations.rb
Overview
A backup run.
Instance Attribute Summary collapse
-
#end_time ⇒ String
The time the backup operation completed.
-
#error ⇒ Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainOperationError
An error that occurred during a backup creation operation.
-
#start_time ⇒ String
The time the backup operation started.
-
#status ⇒ String
The status of this run.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StorageDatabasecenterPartnerapiV1mainBackupRun
constructor
A new instance of StorageDatabasecenterPartnerapiV1mainBackupRun.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StorageDatabasecenterPartnerapiV1mainBackupRun
Returns a new instance of StorageDatabasecenterPartnerapiV1mainBackupRun.
2920 2921 2922 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 2920 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end_time ⇒ String
The time the backup operation completed. REQUIRED
Corresponds to the JSON property endTime
2903 2904 2905 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 2903 def end_time @end_time end |
#error ⇒ Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainOperationError
An error that occurred during a backup creation operation.
Corresponds to the JSON property error
2908 2909 2910 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 2908 def error @error end |
#start_time ⇒ String
The time the backup operation started. REQUIRED
Corresponds to the JSON property startTime
2913 2914 2915 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 2913 def start_time @start_time end |
#status ⇒ String
The status of this run. REQUIRED
Corresponds to the JSON property status
2918 2919 2920 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 2918 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2925 2926 2927 2928 2929 2930 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 2925 def update!(**args) @end_time = args[:end_time] if args.key?(:end_time) @error = args[:error] if args.key?(:error) @start_time = args[:start_time] if args.key?(:start_time) @status = args[:status] if args.key?(:status) end |