Skip to main content
GET
/
v1
/
projects
/
{project}
/
databaseGroups
{
  "databaseGroups": [
    {
      "name": "<string>",
      "title": "<string>",
      "databaseExpr": {
        "id": "<string>",
        "constExpr": {
          "nullValue": "NULL_VALUE",
          "boolValue": true,
          "int64Value": "<string>",
          "uint64Value": "<string>",
          "doubleValue": 123,
          "stringValue": "<string>",
          "bytesValue": "<string>",
          "durationValue": "<string>",
          "timestampValue": "2023-11-07T05:31:56Z"
        },
        "identExpr": {
          "name": "<string>"
        },
        "selectExpr": {
          "operand": {},
          "field": "<string>",
          "testOnly": true
        },
        "callExpr": {
          "target": {},
          "function": "<string>",
          "args": [
            {}
          ]
        },
        "listExpr": {
          "elements": [
            {}
          ],
          "optionalIndices": [
            123
          ]
        },
        "structExpr": {
          "messageName": "<string>",
          "entries": [
            {
              "id": "<string>",
              "fieldKey": "<string>",
              "mapKey": {},
              "value": {},
              "optionalEntry": true
            }
          ]
        },
        "comprehensionExpr": {
          "iterVar": "<string>",
          "iterVar2": "<string>",
          "iterRange": {},
          "accuVar": "<string>",
          "accuInit": {},
          "loopCondition": {},
          "loopStep": {},
          "result": {}
        }
      },
      "matchedDatabases": [
        {
          "name": "<string>"
        }
      ]
    }
  ],
  "nextPageToken": "<string>"
}

Path Parameters

project
string
required

The project id.

Query Parameters

pageSize
integer

Pagination is not currently implemented. This field is reserved for future use. The maximum number of database groups to return. The service may return fewer than this value. If unspecified, at most 50 database groups will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

pageToken
string

Pagination is not currently implemented. This field is reserved for future use. A page token, received from a previous ListDatabaseGroups call. Provide this to retrieve the subsequent page.

When paginating, all other parameters provided to ListDatabaseGroups must match the call that provided the page token.

view
enum<string>

The view to return. Defaults to DATABASE_GROUP_VIEW_BASIC.

Available options:
DATABASE_GROUP_VIEW_UNSPECIFIED,
DATABASE_GROUP_VIEW_BASIC,
DATABASE_GROUP_VIEW_FULL

Response

OK

Response message for listing database groups.

databaseGroups
object[]

The database groups from the specified request.

nextPageToken
string

Pagination is not currently implemented. This field is reserved for future use. A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.