Skip to main content

autonomous_database_backups

Creates, updates, deletes, gets or lists an autonomous_database_backups resource.

Overview

Nameautonomous_database_backups
TypeResource
Idgoogle.oracledatabase.autonomous_database_backups

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
namestringIdentifier. The name of the Autonomous Database Backup resource with the format: projects/{project}/locations/{region}/autonomousDatabaseBackups/{autonomous_database_backup}
autonomousDatabasestringRequired. The name of the Autonomous Database resource for which the backup is being created. Format: projects/{project}/locations/{region}/autonomousDatabases/{autonomous_database}
displayNamestringOptional. User friendly name for the Backup. The name does not have to be unique.
labelsobjectOptional. labels or tags associated with the resource.
propertiesobjectOptional. Various properties of the backup. (id: AutonomousDatabaseBackupProperties)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectprojectsId, locationsIdfilter, pageSize, pageTokenLists the long-term and automatic backups of an Autonomous Database.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
locationsIdstring
projectsIdstring
filterstring
pageSizeinteger (int32)
pageTokenstring

SELECT examples

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

SELECT
name,
autonomousDatabase,
displayName,
labels,
properties
FROM google.oracledatabase.autonomous_database_backups
WHERE projectsId = '{{ projectsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND filter = '{{ filter }}'
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}';