Class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainBackupRun

Inherits:
Object
  • Object
show all
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

Disable validation warnings

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ StorageDatabasecenterPartnerapiV1mainBackupRun

Returns a new instance of StorageDatabasecenterPartnerapiV1mainBackupRun.



4191
4192
4193
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 4191

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

Instance Attribute Details

#end_timeString

Disable validation warnings Corresponds to the JSON property endTime

Returns:

  • (String)


4174
4175
4176
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 4174

def end_time
  @end_time
end

#errorGoogle::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainOperationError

Disable validation warnings Corresponds to the JSON property error



4179
4180
4181
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 4179

def error
  @error
end

#start_timeString

Disable validation warnings Corresponds to the JSON property startTime

Returns:

  • (String)


4184
4185
4186
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 4184

def start_time
  @start_time
end

#statusString

Disable validation warnings Corresponds to the JSON property status

Returns:

  • (String)


4189
4190
4191
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 4189

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4196
4197
4198
4199
4200
4201
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 4196

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