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.



4162
4163
4164
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4162

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)


4134
4135
4136
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4134

def backup_scheduled_time
  @backup_scheduled_time
end

#bucketString

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

Returns:

  • (String)


4139
4140
4141
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4139

def bucket
  @bucket
end

#compartment_idString

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

Returns:

  • (String)


4144
4145
4146
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4144

def compartment_id
  @compartment_id
end

#frequency_backup_scheduledString

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

Returns:

  • (String)


4149
4150
4151
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4149

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)


4154
4155
4156
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4154

def 
  @metadata_only
end

#namespaceString

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

Returns:

  • (String)


4160
4161
4162
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4160

def namespace
  @namespace
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4167
4168
4169
4170
4171
4172
4173
4174
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4167

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