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

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

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

## Request

- Base URL: `https://oracledatabase.googleapis.com`
- URL: `https://oracledatabase.googleapis.com/v1/projects/{projectsId}/locations/{locationsId}/dbVersions`
- 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`

List DbVersions for the given project and location.

## 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

- ListDbVersionsResponse: The response for `DbVersions.List`.
  - `dbVersions` DbVersion[]: The list of DbVersions.
    - `name` string: Output only. The name of the DbVersion resource in the following format: projects/{project}/locations/{region}/dbVersions/{db_version}
    - `properties` DbVersionProperties: The properties of a DbVersion.
      - `isLatestForMajorVersion` boolean: Output only. True if this version of the Oracle Database software is the latest version for a release.
      - `isPreviewDbVersion` boolean: Output only. True if this version of the Oracle Database software is the preview version.
      - `isUpgradeSupported` boolean: Output only. True if this version of the Oracle Database software is supported for Upgrade.
      - `supportsPdb` boolean: Output only. True if this version of the Oracle Database software supports pluggable databases.
      - `version` string: Output only. A valid Oracle Database version.
  - `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)
