Class: Google::Apis::OracledatabaseV1::GoldengateBackupSchedule

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

Overview

The backup schedule of the GoldengateDeployment.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoldengateBackupSchedule

Returns a new instance of GoldengateBackupSchedule.



4278
4279
4280
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4278

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

Instance Attribute Details

#backup_scheduled_timeString

Output only. The timestamp of when the backup was scheduled. Corresponds to the JSON property backupScheduledTime

Returns:

  • (String)


4250
4251
4252
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4250

def backup_scheduled_time
  @backup_scheduled_time
end

#bucketString

Output only. The bucket name. Corresponds to the JSON property bucket

Returns:

  • (String)


4255
4256
4257
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4255

def bucket
  @bucket
end

#compartment_idString

Output only. The compartment id. Corresponds to the JSON property compartmentId

Returns:

  • (String)


4260
4261
4262
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4260

def compartment_id
  @compartment_id
end

#frequency_backup_scheduledString

Output only. The frequency backup scheduled. Corresponds to the JSON property frequencyBackupScheduled

Returns:

  • (String)


4265
4266
4267
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4265

def frequency_backup_scheduled
  @frequency_backup_scheduled
end

#metadata_onlyBoolean Also known as: metadata_only?

Output only. If metadata only. Corresponds to the JSON property metadataOnly

Returns:

  • (Boolean)


4270
4271
4272
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4270

def 
  @metadata_only
end

#namespaceString

Output only. The namespace name. Corresponds to the JSON property namespace

Returns:

  • (String)


4276
4277
4278
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4276

def namespace
  @namespace
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4283
4284
4285
4286
4287
4288
4289
4290
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4283

def update!(**args)
  @backup_scheduled_time = args[:backup_scheduled_time] if args.key?(:backup_scheduled_time)
  @bucket = args[:bucket] if args.key?(:bucket)
  @compartment_id = args[:compartment_id] if args.key?(:compartment_id)
  @frequency_backup_scheduled = args[:frequency_backup_scheduled] if args.key?(:frequency_backup_scheduled)
  @metadata_only = args[:metadata_only] if args.key?(:metadata_only)
  @namespace = args[:namespace] if args.key?(:namespace)
end