Class: Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainBackupRun

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/alloydb_v1beta/classes.rb,
lib/google/apis/alloydb_v1beta/representations.rb,
lib/google/apis/alloydb_v1beta/representations.rb

Overview

A backup run.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StorageDatabasecenterPartnerapiV1mainBackupRun

Returns a new instance of StorageDatabasecenterPartnerapiV1mainBackupRun.



4059
4060
4061
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 4059

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#end_timeString

The time the backup operation completed. REQUIRED Corresponds to the JSON property endTime

Returns:

  • (String)


4042
4043
4044
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 4042

def end_time
  @end_time
end

#errorGoogle::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainOperationError

An error that occurred during a backup creation operation. Corresponds to the JSON property error



4047
4048
4049
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 4047

def error
  @error
end

#start_timeString

The time the backup operation started. REQUIRED Corresponds to the JSON property startTime

Returns:

  • (String)


4052
4053
4054
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 4052

def start_time
  @start_time
end

#statusString

The status of this run. REQUIRED Corresponds to the JSON property status

Returns:

  • (String)


4057
4058
4059
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 4057

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4064
4065
4066
4067
4068
4069
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 4064

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