# Oracle Database@Google Cloud V1 API - Class Google::Cloud::OracleDatabase::V1::AutonomousDatabaseBackupProperties (v0.15.0)

0.15.0 (latest) 0.14.0 0.13.0 0.12.0 0.11.1 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.1 0.4.0 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the Oracle Database@Google Cloud V1 API class Google::Cloud::OracleDatabase::V1::AutonomousDatabaseBackupProperties.

Properties of the Autonomous Database Backup resource.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #available_till_time

    def available_till_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Protobuf-Timestamp)) --- Output only. Timestamp until when the backup will be available.

### #compartment_id

    def compartment_id() -> ::String

**Returns**

- (::String) --- Output only. The OCID of the compartment.

### #database_size_tb

    def database_size_tb() -> ::Float

**Returns**

- (::Float) --- Output only. The quantity of data in the database, in terabytes.

### #db_version

    def db_version() -> ::String

**Returns**

- (::String) --- Output only. A valid Oracle Database version for Autonomous Database.

### #end_time

    def end_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The date and time the backup completed.

### #is_automatic_backup

    def is_automatic_backup() -> ::Boolean

**Returns**

- (::Boolean) --- Output only. Indicates if the backup is automatic or user initiated.

### #is_long_term_backup

    def is_long_term_backup() -> ::Boolean

**Returns**

- (::Boolean) --- Output only. Indicates if the backup is long term backup.

### #is_restorable

    def is_restorable() -> ::Boolean

**Returns**

- (::Boolean) --- Output only. Indicates if the backup can be used to restore the Autonomous Database.

### #key_store_id

    def key_store_id() -> ::String

**Returns**

- (::String) --- Optional. The OCID of the key store of Oracle Vault.

### #key_store_id=

    def key_store_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The OCID of the key store of Oracle Vault.
**Returns**

- (::String) --- Optional. The OCID of the key store of Oracle Vault.

### #key_store_wallet

    def key_store_wallet() -> ::String

**Returns**

- (::String) --- Optional. The wallet name for Oracle Key Vault.

### #key_store_wallet=

    def key_store_wallet=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The wallet name for Oracle Key Vault.
**Returns**

- (::String) --- Optional. The wallet name for Oracle Key Vault.

### #kms_key_id

    def kms_key_id() -> ::String

**Returns**

- (::String) --- Optional. The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.

### #kms_key_id=

    def kms_key_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
**Returns**

- (::String) --- Optional. The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.

### #kms_key_version_id

    def kms_key_version_id() -> ::String

**Returns**

- (::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.

### #kms_key_version_id=

    def kms_key_version_id=(value) -> ::String

**Parameter**

- **value** (::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.
**Returns**

- (::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.

### #lifecycle_details

    def lifecycle_details() -> ::String

**Returns**

- (::String) --- Output only. Additional information about the current lifecycle state.

### #lifecycle_state

    def lifecycle_state() -> ::Google::Cloud::OracleDatabase::V1::AutonomousDatabaseBackupProperties::State

**Returns**

- ([::Google::Cloud::OracleDatabase::V1::AutonomousDatabaseBackupProperties::State](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Cloud-OracleDatabase-V1-AutonomousDatabaseBackupProperties-State)) --- Output only. The lifecycle state of the backup.

### #ocid

    def ocid() -> ::String

**Returns**

- (::String) --- Output only. OCID of the Autonomous Database backup. https://docs.oracle.com/en-us/iaas/Content/General/Concepts/identifiers.htm#Oracle

### #retention_period_days

    def retention_period_days() -> ::Integer

**Returns**

- (::Integer) --- Optional. Retention period in days for the backup.

### #retention_period_days=

    def retention_period_days=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Optional. Retention period in days for the backup.
**Returns**

- (::Integer) --- Optional. Retention period in days for the backup.

### #size_tb

    def size_tb() -> ::Float

**Returns**

- (::Float) --- Output only. The backup size in terabytes.

### #start_time

    def start_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Protobuf-Timestamp)) --- Output only. The date and time the backup started.

### #type

    def type() -> ::Google::Cloud::OracleDatabase::V1::AutonomousDatabaseBackupProperties::Type

**Returns**

- ([::Google::Cloud::OracleDatabase::V1::AutonomousDatabaseBackupProperties::Type](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-oracle_database-v1/latest/Google-Cloud-OracleDatabase-V1-AutonomousDatabaseBackupProperties-Type)) --- Output only. The type of the backup.

### #vault_id

    def vault_id() -> ::String

**Returns**

- (::String) --- Optional. The OCID of the vault.

### #vault_id=

    def vault_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The OCID of the vault.
**Returns**

- (::String) --- Optional. The OCID of the vault.