Method: projects.locations.databases.list

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

HTTP request

GET https://oracledatabase.googleapis.com/v1/{parent=projects/*/locations/*}/databases

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent resource name in the following format: projects/{project}/locations/{region}

Query parameters

Parameters
pageSize

integer

Optional. The maximum number of items to return. If unspecified, a maximum of 50 System Versions will be returned. The maximum value is 1000; values above 1000 will be reset to 1000.

pageToken

string

Optional. A token identifying the requested page of results to return. All fields except the filter should remain the same as in the request that provided this page token.

filter

string

Optional. An expression for filtering the results of the request. list for container databases is supported only with a valid dbSystem (full resource name) filter in this format: dbSystem="projects/{project}/locations/{location}/dbSystems/{dbSystemId}"

Request body

The request body must be empty.

Response body

The response for Database.List.

If successful, the response body contains data with the following structure:

JSON representation
{
  "databases": [
    {
      object (Database)
    }
  ],
  "nextPageToken": string
}
Fields
databases[]

object (Database)

The list of Databases.

nextPageToken

string

A token identifying a page of results the server should return.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • oracledatabase.databases.list

For more information, see the IAM documentation.