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

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

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

## Request

- Base URL: `https://oracledatabase.googleapis.com`
- URL: `https://oracledatabase.googleapis.com/v1/projects/{projectsId}/locations/{locationsId}/odbNetworks`
- 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 the ODB Networks 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
- `orderBy` string
- `pageSize` integer
- `pageToken` string

## Response `200`

Successful response

- ListOdbNetworksResponse: The response for `OdbNetwork.List`.
  - `nextPageToken` string: A token identifying a page of results the server should return.
  - `odbNetworks` OdbNetwork[]: The list of ODB Networks.
    - `createTime` string, google-datetime: Output only. The date and time that the OdbNetwork was created.
    - `entitlementId` string: Output only. The ID of the subscription entitlement associated with the OdbNetwork.
    - `gcpOracleZone` string: Optional. Immutable. The GCP Oracle zone where OdbNetwork is hosted. Example: us-east4-b-r2. If not specified, the system will pick a zone based on availability.
    - `labels` object: Optional. Labels or tags associated with the resource.
    - `name` string: Identifier. The name of the OdbNetwork resource in the following format: projects/{project}/locations/{region}/odbNetworks/{odb_network}
    - `network` string: Required. Immutable. The name of the VPC network in the following format: projects/{project}/global/networks/{network}
    - `reconciling` boolean: Output only. Indicates whether the OdbNetwork is currently reconciling changes.
    - `serviceConnectivityConfig` ServiceConnectivityConfig: Configuration to enable the service (Oracledatabase@Google Cloud) to establish connectivity to the database. This should be specified if you intend to associate this OdbNetwork with a DatabaseConnection resource to `ExecuteSQL` on the database, or to create a ServiceIntegration with the Database. Please don't specify it otherwise to avoid complicating the network setup.
      - `pscInterfaceConfig` PscInterfaceConfig: Configuration for a Private Service Connect (PSC) interface used by Oracledatabase@Google Cloud to establish private connectivity to the database.
        - `networkAttachment` string: Optional. The resource name of the Network Attachment that Oracledatabase@Google Cloud will use to establish private connectivity to the database via a Private Service Connect Interface (PSC-I). Format: projects/{project}/regions/{region}/networkAttachments/{network_attachment}
    - `state` 'STATE_UNSPECIFIED' | 'PROVISIONING' | 'AVAILABLE' | 'TERMINATING' | 'FAILED': Output only. State of the ODB Network.
  - `unreachable` string[]: Unreachable locations when listing resources across all locations using wildcard location '-'.

---

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