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

# GET /v1/projects/{projectsId}/locations/{locationsId}/pluggableDatabases/{pluggableDatabasesId}

`GET /v1/projects/{projectsId}/locations/{locationsId}/pluggableDatabases/{pluggableDatabasesId}`

## Request

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

Gets details of a single PluggableDatabase.

## Path parameters

- `projectsId` string, required
- `locationsId` string, required
- `pluggableDatabasesId` 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

## Response `200`

Successful response

- PluggableDatabase: The PluggableDatabase resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/PluggableDatabase/
  - `createTime` string, google-datetime: Output only. The date and time that the PluggableDatabase was created.
  - `name` string: Identifier. The name of the PluggableDatabase resource in the following format: projects/{project}/locations/{region}/pluggableDatabases/{pluggable_database}
  - `ociUrl` string: Output only. HTTPS link to OCI resources exposed to Customer via UI Interface.
  - `properties` PluggableDatabaseProperties: The properties of a PluggableDatabase.
    - `compartmentId` string: Required. The OCID of the compartment.
    - `connectionStrings` PluggableDatabaseConnectionStrings: The connection strings used to connect to the Oracle Database.
      - `allConnectionStrings` object: Optional. All connection strings to use to connect to the pluggable database.
      - `pdbDefault` string: Optional. The default connection string to use to connect to the pluggable database.
      - `pdbIpDefault` string: Optional. The default connection string to use to connect to the pluggable database using IP.
    - `containerDatabaseOcid` string: Required. The OCID of the CDB.
    - `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.
    - `definedTags` object: Optional. Defined tags for this resource. Each key is predefined and scoped to a namespace.
    - `freeformTags` object: Optional. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    - `isRestricted` boolean: Optional. The restricted mode of the pluggable database. If a pluggable database is opened in restricted mode, the user needs both create a session and have restricted session privileges to connect to it.
    - `lifecycleDetails` string: Output only. Additional information about the current lifecycle state.
    - `lifecycleState` 'PLUGGABLE_DATABASE_LIFECYCLE_STATE_UNSPECIFIED' | 'PROVISIONING' | 'AVAILABLE' | 'TERMINATING' | 'TERMINATED' | 'UPDATING' | 'FAILED' | 'RELOCATING' | 'RELOCATED' | 'REFRESHING' | 'RESTORE_IN_PROGRESS' | 'RESTORE_FAILED' | 'BACKUP_IN_PROGRESS' | 'DISABLED': Output only. The current state of the pluggable database.
    - `ocid` string: Output only. The OCID of the pluggable database.
    - `operationsInsightsState` 'OPERATIONS_INSIGHTS_STATE_UNSPECIFIED' | 'ENABLING' | 'ENABLED' | 'DISABLING' | 'NOT_ENABLED' | 'FAILED_ENABLING' | 'FAILED_DISABLING': Output only. The status of Operations Insights for this Database.
    - `pdbName` string: Required. The database name.
    - `pdbNodeLevelDetails` PluggableDatabaseNodeLevelDetails[]: Optional. Pluggable Database Node Level Details
      - `nodeName` string: Required. The Node name of the Database home.
      - `openMode` 'PLUGGABLE_DATABASE_OPEN_MODE_UNSPECIFIED' | 'READ_ONLY' | 'READ_WRITE' | 'MOUNTED' | 'MIGRATE': Required. The mode that the pluggable database is in to open it.
      - `pluggableDatabaseId` string: Required. The OCID of the Pluggable Database.

---

[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)
