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.



4084
4085
4086
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4084

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)


4056
4057
4058
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4056

def backup_scheduled_time
  @backup_scheduled_time
end

#bucketString

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

Returns:

  • (String)


4061
4062
4063
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4061

def bucket
  @bucket
end

#compartment_idString

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

Returns:

  • (String)


4066
4067
4068
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4066

def compartment_id
  @compartment_id
end

#frequency_backup_scheduledString

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

Returns:

  • (String)


4071
4072
4073
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4071

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)


4076
4077
4078
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4076

def 
  @metadata_only
end

#namespaceString

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

Returns:

  • (String)


4082
4083
4084
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4082

def namespace
  @namespace
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4089
4090
4091
4092
4093
4094
4095
4096
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 4089

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