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

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

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

## Request

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

- ListFlexComponentsResponse: Message for response to listing FlexComponents
  - `flexComponents` FlexComponent[]: The list of FlexComponent
    - `name` string: Identifier. Specifies the name of the Flex Component resource with the format: projects/{project}/locations/{region}/flexComponents/{flex_component}
    - `properties` FlexComponentProperties: The properties of the Flex Component.
      - `availableCoreCount` integer: Output only. The maximum number of CPU cores that can be enabled on the DB system for this shape.
      - `availableDbNodeStoragePerNodeGb` integer: Output only. The maximum storage that can be enabled on the Storage Server for this Flex Component.
      - `availableLocalStorageGb` integer: Output only. The maximum local storage that can be enabled on the DB Server for this Flex Component.
      - `availableMemoryGb` integer: Output only. The maximum memory size that can be enabled on the DB Server for this Flex Component.
      - `computeModel` 'COMPUTE_MODEL_UNSPECIFIED' | 'COMPUTE_MODEL_ECPU' | 'COMPUTE_MODEL_OCPU': Output only. The compute model of the DB Server for this Flex Component.
      - `descriptionSummary` string: Output only. The description summary for this Flex Component.
      - `hardwareType` 'HARDWARE_TYPE_UNSPECIFIED' | 'COMPUTE' | 'CELL': Output only. The hardware type of the DB (Compute) or Storage (Cell) Server for this Flex Component.
      - `minimumCoreCount` integer: Output only. The minimum number of CPU cores that can be enabled on the DB Server for this Flex Component.
      - `name` string: Output only. The name of the Flex Component used for the DB system.
      - `runtimeMinimumCoreCount` integer: Output only. The runtime minimum number of CPU cores that can be enabled for this Flex Component.
      - `shape` string: Output only. The name of the DB system shape for this Flex Component.
  - `nextPageToken` string: A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
  - `unreachable` string[]: Unordered list. Locations that could not be reached.

## Changes

- **2026-11-04** `aff347e5e054`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/google/apis/oracledatabase/changes/v1/projects/:projectsId/locations/:locationsId/flexComponents/get.md)

---

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