Class: Google::Apis::OracledatabaseV1::AutonomousDatabaseBackupProperties
- Inherits:
-
Object
- Object
- Google::Apis::OracledatabaseV1::AutonomousDatabaseBackupProperties
- 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
Properties of the Autonomous Database Backup resource.
Instance Attribute Summary collapse
-
#available_till_time ⇒ String
Output only.
-
#compartment_id ⇒ String
Output only.
-
#database_size_tb ⇒ Float
Output only.
-
#db_version ⇒ String
Output only.
-
#end_time ⇒ String
Output only.
-
#is_automatic_backup ⇒ Boolean
(also: #is_automatic_backup?)
Output only.
-
#is_long_term_backup ⇒ Boolean
(also: #is_long_term_backup?)
Output only.
-
#is_restorable ⇒ Boolean
(also: #is_restorable?)
Output only.
-
#key_store_id ⇒ String
Optional.
-
#key_store_wallet ⇒ String
Optional.
-
#kms_key_id ⇒ String
Optional.
-
#kms_key_version_id ⇒ String
Optional.
-
#lifecycle_details ⇒ String
Output only.
-
#lifecycle_state ⇒ String
Output only.
-
#ocid ⇒ String
Output only.
-
#retention_period_days ⇒ Fixnum
Optional.
-
#size_tb ⇒ Float
Output only.
-
#start_time ⇒ String
Output only.
-
#type ⇒ String
Output only.
-
#vault_id ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AutonomousDatabaseBackupProperties
constructor
A new instance of AutonomousDatabaseBackupProperties.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AutonomousDatabaseBackupProperties
Returns a new instance of AutonomousDatabaseBackupProperties.
330 331 332 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 330 def initialize(**args) update!(**args) end |
Instance Attribute Details
#available_till_time ⇒ String
Output only. Timestamp until when the backup will be available.
Corresponds to the JSON property availableTillTime
223 224 225 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 223 def available_till_time @available_till_time end |
#compartment_id ⇒ String
Output only. The OCID of the compartment.
Corresponds to the JSON property compartmentId
228 229 230 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 228 def compartment_id @compartment_id end |
#database_size_tb ⇒ Float
Output only. The quantity of data in the database, in terabytes.
Corresponds to the JSON property databaseSizeTb
233 234 235 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 233 def database_size_tb @database_size_tb end |
#db_version ⇒ String
Output only. A valid Oracle Database version for Autonomous Database.
Corresponds to the JSON property dbVersion
238 239 240 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 238 def db_version @db_version end |
#end_time ⇒ String
Output only. The date and time the backup completed.
Corresponds to the JSON property endTime
243 244 245 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 243 def end_time @end_time end |
#is_automatic_backup ⇒ Boolean Also known as: is_automatic_backup?
Output only. Indicates if the backup is automatic or user initiated.
Corresponds to the JSON property isAutomaticBackup
248 249 250 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 248 def is_automatic_backup @is_automatic_backup end |
#is_long_term_backup ⇒ Boolean Also known as: is_long_term_backup?
Output only. Indicates if the backup is long term backup.
Corresponds to the JSON property isLongTermBackup
254 255 256 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 254 def is_long_term_backup @is_long_term_backup end |
#is_restorable ⇒ Boolean Also known as: is_restorable?
Output only. Indicates if the backup can be used to restore the Autonomous
Database.
Corresponds to the JSON property isRestorable
261 262 263 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 261 def is_restorable @is_restorable end |
#key_store_id ⇒ String
Optional. The OCID of the key store of Oracle Vault.
Corresponds to the JSON property keyStoreId
267 268 269 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 267 def key_store_id @key_store_id end |
#key_store_wallet ⇒ String
Optional. The wallet name for Oracle Key Vault.
Corresponds to the JSON property keyStoreWallet
272 273 274 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 272 def key_store_wallet @key_store_wallet end |
#kms_key_id ⇒ String
Optional. The OCID of the key container that is used as the master encryption
key in database transparent data encryption (TDE) operations.
Corresponds to the JSON property kmsKeyId
278 279 280 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 278 def kms_key_id @kms_key_id end |
#kms_key_version_id ⇒ String
Optional. The OCID of the key container version that is used in database
transparent data encryption (TDE) operations KMS Key can have multiple key
versions. If none is specified, the current key version (latest) of the Key Id
is used for the operation. Autonomous Database Serverless does not use key
versions, hence is not applicable for Autonomous Database Serverless instances.
Corresponds to the JSON property kmsKeyVersionId
287 288 289 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 287 def kms_key_version_id @kms_key_version_id end |
#lifecycle_details ⇒ String
Output only. Additional information about the current lifecycle state.
Corresponds to the JSON property lifecycleDetails
292 293 294 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 292 def lifecycle_details @lifecycle_details end |
#lifecycle_state ⇒ String
Output only. The lifecycle state of the backup.
Corresponds to the JSON property lifecycleState
297 298 299 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 297 def lifecycle_state @lifecycle_state end |
#ocid ⇒ String
Output only. OCID of the Autonomous Database backup. https://docs.oracle.com/
en-us/iaas/Content/General/Concepts/identifiers.htm#Oracle
Corresponds to the JSON property ocid
303 304 305 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 303 def ocid @ocid end |
#retention_period_days ⇒ Fixnum
Optional. Retention period in days for the backup.
Corresponds to the JSON property retentionPeriodDays
308 309 310 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 308 def retention_period_days @retention_period_days end |
#size_tb ⇒ Float
Output only. The backup size in terabytes.
Corresponds to the JSON property sizeTb
313 314 315 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 313 def size_tb @size_tb end |
#start_time ⇒ String
Output only. The date and time the backup started.
Corresponds to the JSON property startTime
318 319 320 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 318 def start_time @start_time end |
#type ⇒ String
Output only. The type of the backup.
Corresponds to the JSON property type
323 324 325 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 323 def type @type end |
#vault_id ⇒ String
Optional. The OCID of the vault.
Corresponds to the JSON property vaultId
328 329 330 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 328 def vault_id @vault_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 |
# File 'lib/google/apis/oracledatabase_v1/classes.rb', line 335 def update!(**args) @available_till_time = args[:available_till_time] if args.key?(:available_till_time) @compartment_id = args[:compartment_id] if args.key?(:compartment_id) @database_size_tb = args[:database_size_tb] if args.key?(:database_size_tb) @db_version = args[:db_version] if args.key?(:db_version) @end_time = args[:end_time] if args.key?(:end_time) @is_automatic_backup = args[:is_automatic_backup] if args.key?(:is_automatic_backup) @is_long_term_backup = args[:is_long_term_backup] if args.key?(:is_long_term_backup) @is_restorable = args[:is_restorable] if args.key?(:is_restorable) @key_store_id = args[:key_store_id] if args.key?(:key_store_id) @key_store_wallet = args[:key_store_wallet] if args.key?(:key_store_wallet) @kms_key_id = args[:kms_key_id] if args.key?(:kms_key_id) @kms_key_version_id = args[:kms_key_version_id] if args.key?(:kms_key_version_id) @lifecycle_details = args[:lifecycle_details] if args.key?(:lifecycle_details) @lifecycle_state = args[:lifecycle_state] if args.key?(:lifecycle_state) @ocid = args[:ocid] if args.key?(:ocid) @retention_period_days = args[:retention_period_days] if args.key?(:retention_period_days) @size_tb = args[:size_tb] if args.key?(:size_tb) @start_time = args[:start_time] if args.key?(:start_time) @type = args[:type] if args.key?(:type) @vault_id = args[:vault_id] if args.key?(:vault_id) end |