---
title: "GET /v1/projects/{projectsId}/locations/{locationsId}/databases"
method: GET
path: "/v1/projects/{projectsId}/locations/{locationsId}/databases"
tags: ["projects"]
---

# GET /v1/projects/{projectsId}/locations/{locationsId}/databases

`GET /v1/projects/{projectsId}/locations/{locationsId}/databases`

## Request

- Base URL: `https://oracledatabase.googleapis.com`
- URL: `https://oracledatabase.googleapis.com/v1/projects/{projectsId}/locations/{locationsId}/databases`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/cloud-platform`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-platform`

Lists all the Databases for the given project, location and DbSystem.

## Path parameters

- `projectsId` string, required
- `locationsId` string, required

## Query parameters

- `$.xgafv` '1' | '2'
- `access_token` string
- `alt` 'json' | 'media' | 'proto'
- `callback` string
- `fields` string
- `key` string
- `oauth_token` string
- `prettyPrint` boolean
- `quotaUser` string
- `uploadType` string
- `upload_protocol` string
- `filter` string
- `pageSize` integer
- `pageToken` string

## Response `200`

Successful response

- ListDatabasesResponse: The response for `Database.List`.
  - `databases` Database[]: The list of Databases.
    - `adminPassword` string: Optional. Input only. The password for the default ADMIN user. Note: Only one of `admin_password_secret_version` or `admin_password` can be populated.
    - `adminPasswordSecretVersion` string: Optional. Input only. The resource name of a secret version in Secret Manager which contains the database admin user's password. Format: projects/{project}/secrets/{secret}/versions/{version}. Note: Only one of `admin_password_secret_version` or `admin_password` can be populated.
    - `characterSet` string: Optional. The character set for the database. The default is AL32UTF8.
    - `createTime` string, google-datetime: Output only. The date and time that the Database was created.
    - `databaseId` string: Optional. The database ID of the Database.
    - `dbHomeName` string: Optional. The name of the DbHome resource associated with the Database.
    - `dbName` string: Optional. The database name. The name must begin with an alphabetic character and can contain a maximum of eight alphanumeric characters. Special characters are not permitted.
    - `dbUniqueName` string: Optional. The DB_UNIQUE_NAME of the Oracle Database being backed up.
    - `gcpOracleZone` string: Output only. The GCP Oracle zone where the Database is created.
    - `name` string: Identifier. The name of the Database resource in the following format: projects/{project}/locations/{region}/databases/{database}
    - `ncharacterSet` string: Optional. The national character set for the database. The default is AL16UTF16.
    - `ociUrl` string: Output only. HTTPS link to OCI resources exposed to Customer via UI Interface.
    - `opsInsightsStatus` 'OPERATIONS_INSIGHTS_STATUS_UNSPECIFIED' | 'ENABLING' | 'ENABLED' | 'DISABLING' | 'NOT_ENABLED' | 'FAILED_ENABLING' | 'FAILED_DISABLING': Output only. The Status of Operations Insights for this Database.
    - `pluggableDatabaseId` string: Optional. The ID of the pluggable database associated with the Database. The ID must be unique within the project and location.
    - `pluggableDatabaseName` string: Optional. The pluggable database associated with the Database. The name must begin with an alphabetic character and can contain a maximum of thirty alphanumeric characters.
    - `properties` DatabaseProperties: The properties of a Database.
      - `databaseManagementConfig` DatabaseManagementConfig: The configuration of the Database Management service.
        - `managementState` 'MANAGEMENT_STATE_UNSPECIFIED' | 'ENABLING' | 'ENABLED' | 'DISABLING' | 'DISABLED' | 'UPDATING' | 'FAILED_ENABLING' | 'FAILED_DISABLING' | 'FAILED_UPDATING': Output only. The status of the Database Management service.
        - `managementType` 'MANAGEMENT_TYPE_UNSPECIFIED' | 'BASIC' | 'ADVANCED': Output only. The Database Management type.
      - `dbBackupConfig` DbBackupConfig: Backup Options for the Database.
        - `autoBackupEnabled` boolean: Optional. If set to true, enables automatic backups on the database.
        - `autoFullBackupDay` 'DAY_OF_WEEK_UNSPECIFIED' | 'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY' | 'SUNDAY': Optional. The day of the week on which the full backup should be performed on the database. If no value is provided, it will default to Sunday.
        - `autoFullBackupWindow` 'BACKUP_WINDOW_UNSPECIFIED' | 'SLOT_ONE' | 'SLOT_TWO' | 'SLOT_THREE' | 'SLOT_FOUR' | 'SLOT_FIVE' | 'SLOT_SIX' | 'SLOT_SEVEN' | 'SLOT_EIGHT' | 'SLOT_NINE' | 'SLOT_TEN' | 'SLOT_ELEVEN' | 'SLOT_TWELVE': Optional. The window in which the full backup should be performed on the database. If no value is provided, the default is anytime.
        - `autoIncrementalBackupWindow` 'BACKUP_WINDOW_UNSPECIFIED' | 'SLOT_ONE' | 'SLOT_TWO' | 'SLOT_THREE' | 'SLOT_FOUR' | 'SLOT_FIVE' | 'SLOT_SIX' | 'SLOT_SEVEN' | 'SLOT_EIGHT' | 'SLOT_NINE' | 'SLOT_TEN' | 'SLOT_ELEVEN' | 'SLOT_TWELVE': Optional. The window in which the incremental backup should be performed on the database. If no value is provided, the default is anytime except the auto full backup day.
        - `backupDeletionPolicy` 'BACKUP_DELETION_POLICY_UNSPECIFIED' | 'DELETE_IMMEDIATELY' | 'DELETE_AFTER_RETENTION_PERIOD': Optional. This defines when the backups will be deleted after Database termination.
        - `backupDestinationDetails` BackupDestinationDetails[]: Optional. Details of the database backup destinations.
          - `type` 'BACKUP_DESTINATION_TYPE_UNSPECIFIED' | 'NFS' | 'RECOVERY_APPLIANCE' | 'OBJECT_STORE' | 'LOCAL' | 'DBRS': Optional. The type of the database backup destination.
        - `retentionPeriodDays` integer: Optional. The number of days an automatic backup is retained before being automatically deleted. This value determines the earliest point in time to which a database can be restored. Min: 1, Max: 60.
      - `dbVersion` string: Required. The Oracle Database version.
      - `state` 'DATABASE_LIFECYCLE_STATE_UNSPECIFIED' | 'PROVISIONING' | 'AVAILABLE' | 'UPDATING' | 'BACKUP_IN_PROGRESS' | 'UPGRADING' | 'CONVERTING' | 'TERMINATING' | 'TERMINATED' | 'RESTORE_FAILED' | 'FAILED': Output only. State of the Database.
    - `tdeWalletPassword` string: Optional. Input only. The TDE wallet password for the database. Note: Only one of `tde_wallet_password_secret_version` or `tde_wallet_password` can be populated.
    - `tdeWalletPasswordSecretVersion` string: Optional. Input only. The resource name of a secret version in Secret Manager which contains the TDE wallet password for the database. Format: projects/{project}/secrets/{secret}/versions/{version}. Note: Only one of `tde_wallet_password_secret_version` or `tde_wallet_password` can be populated.
  - `nextPageToken` string: A token identifying a page of results the server should return.

---

[API](https://skmtc.dev/google/apis/oracledatabase.md) - [All operations](https://skmtc.dev/google/apis/oracledatabase/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/oracledatabase/revisions/215e9c1e9c3f?raw)
