Oracle Database@Google Cloud API . projects . locations . autonomousDatabaseBackups

Instance Methods

close()

Close httplib2 connections.

list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)

Lists the long-term and automatic backups of an Autonomous Database.

list_next()

Retrieves the next page of results.

Method Details

close()
Close httplib2 connections.
list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)
Lists the long-term and automatic backups of an Autonomous Database.

Args:
  parent: string, Required. The parent value for ListAutonomousDatabaseBackups in the following format: projects/{project}/locations/{location}. (required)
  filter: string, Optional. An expression for filtering the results of the request. Only the **autonomous_database_id** field is supported in the following format: `autonomous_database_id="{autonomous_database_id}"`. The accepted values must be a valid Autonomous Database ID, limited to the naming restrictions of the ID: ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$). The ID must start with a letter, end with a letter or a number, and be a maximum of 63 characters.
  pageSize: integer, Optional. The maximum number of items to return. If unspecified, at most 50 Autonomous DB Backups will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
  pageToken: string, Optional. A token identifying a page of results the server should return.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # The response for `AutonomousDatabaseBackup.List`.
  "autonomousDatabaseBackups": [ # The list of Autonomous Database Backups.
    { # Details of the Autonomous Database Backup resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/AutonomousDatabaseBackup/
      "autonomousDatabase": "A String", # Required. The name of the Autonomous Database resource for which the backup is being created. Format: projects/{project}/locations/{region}/autonomousDatabases/{autonomous_database}
      "displayName": "A String", # Optional. User friendly name for the Backup. The name does not have to be unique.
      "labels": { # Optional. labels or tags associated with the resource.
        "a_key": "A String",
      },
      "name": "A String", # Identifier. The name of the Autonomous Database Backup resource with the format: projects/{project}/locations/{region}/autonomousDatabaseBackups/{autonomous_database_backup}
      "properties": { # Properties of the Autonomous Database Backup resource. # Optional. Various properties of the backup.
        "availableTillTime": "A String", # Output only. Timestamp until when the backup will be available.
        "compartmentId": "A String", # Output only. The OCID of the compartment.
        "databaseSizeTb": 3.14, # Output only. The quantity of data in the database, in terabytes.
        "dbVersion": "A String", # Output only. A valid Oracle Database version for Autonomous Database.
        "endTime": "A String", # Output only. The date and time the backup completed.
        "isAutomaticBackup": True or False, # Output only. Indicates if the backup is automatic or user initiated.
        "isLongTermBackup": True or False, # Output only. Indicates if the backup is long term backup.
        "isRestorable": True or False, # Output only. Indicates if the backup can be used to restore the Autonomous Database.
        "keyStoreId": "A String", # Optional. The OCID of the key store of Oracle Vault.
        "keyStoreWallet": "A String", # Optional. The wallet name for Oracle Key Vault.
        "kmsKeyId": "A String", # Optional. The OCID of the key container that is used as the master encryption key in database transparent data encryption (TDE) operations.
        "kmsKeyVersionId": "A 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.
        "lifecycleDetails": "A String", # Output only. Additional information about the current lifecycle state.
        "lifecycleState": "A String", # Output only. The lifecycle state of the backup.
        "ocid": "A String", # Output only. OCID of the Autonomous Database backup. https://docs.oracle.com/en-us/iaas/Content/General/Concepts/identifiers.htm#Oracle
        "retentionPeriodDays": 42, # Optional. Retention period in days for the backup.
        "sizeTb": 3.14, # Output only. The backup size in terabytes.
        "startTime": "A String", # Output only. The date and time the backup started.
        "type": "A String", # Output only. The type of the backup.
        "vaultId": "A String", # Optional. The OCID of the vault.
      },
    },
  ],
  "nextPageToken": "A String", # A token identifying a page of results the server should return.
}
list_next()
Retrieves the next page of results.

        Args:
          previous_request: The request for the previous page. (required)
          previous_response: The response from the request for the previous page. (required)

        Returns:
          A request object that you can call 'execute()' on to request the next
          page. Returns None if there are no more items in the collection.