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.



4215
4216
4217
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4215

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)


4187
4188
4189
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4187

def backup_scheduled_time
  @backup_scheduled_time
end

#bucketString

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

Returns:

  • (String)


4192
4193
4194
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4192

def bucket
  @bucket
end

#compartment_idString

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

Returns:

  • (String)


4197
4198
4199
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4197

def compartment_id
  @compartment_id
end

#frequency_backup_scheduledString

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

Returns:

  • (String)


4202
4203
4204
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4202

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)


4207
4208
4209
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4207

def 
  @metadata_only
end

#namespaceString

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

Returns:

  • (String)


4213
4214
4215
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4213

def namespace
  @namespace
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4220
4221
4222
4223
4224
4225
4226
4227
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4220

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