- [Resource: OdbNetwork](https://docs.cloud.google.com/oracle/database/docs/reference/rest/v1/projects.locations.odbNetworks#OdbNetwork)
  - [JSON representation](https://docs.cloud.google.com/oracle/database/docs/reference/rest/v1/projects.locations.odbNetworks#OdbNetwork.SCHEMA_REPRESENTATION)
- [State](https://docs.cloud.google.com/oracle/database/docs/reference/rest/v1/projects.locations.odbNetworks#State)
- [Methods](https://docs.cloud.google.com/oracle/database/docs/reference/rest/v1/projects.locations.odbNetworks#METHODS_SUMMARY)

## Resource: OdbNetwork

Represents OdbNetwork resource.

| JSON representation |
|---|
| ``` { "name": string, "network": string, "labels": { string: string, ... }, "createTime": string, "state": enum (`https://docs.cloud.google.com/oracle/database/docs/reference/rest/v1/projects.locations.odbNetworks#State`), "entitlementId": string, "gcpOracleZone": string } ``` |

| Fields ||
|---|---|
| `name` | `string` Identifier. The name of the OdbNetwork resource in the following format: projects/{project}/locations/{region}/odbNetworks/{odbNetwork} |
| `network` | `string` Required. The name of the VPC network in the following format: projects/{project}/global/networks/{network} |
| `labels` | `map (key: string, value: string)` Optional. Labels or tags associated with the resource. An object containing a list of `"key": value` pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. |
| `createTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. The date and time that the OdbNetwork was created. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |
| `state` | ``enum (`https://docs.cloud.google.com/oracle/database/docs/reference/rest/v1/projects.locations.odbNetworks#State`)`` Output only. State of the ODB Network. |
| `entitlementId` | `string` Output only. The ID of the subscription entitlement associated with the OdbNetwork. |
| `gcpOracleZone` | `string` Optional. 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. |

## State

The various lifecycle states of the ODB Network.

| Enums ||
|---|---|
| `STATE_UNSPECIFIED` | Default unspecified value. |
| `PROVISIONING` | Indicates that the resource is in provisioning state. |
| `AVAILABLE` | Indicates that the resource is in available state. |
| `TERMINATING` | Indicates that the resource is in terminating state. |
| `FAILED` | Indicates that the resource is in failed state. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/oracle/database/docs/reference/rest/v1/projects.locations.odbNetworks/create` | Creates a new ODB Network in a given project and location. |
| ### `https://docs.cloud.google.com/oracle/database/docs/reference/rest/v1/projects.locations.odbNetworks/delete` | Deletes a single ODB Network. |
| ### `https://docs.cloud.google.com/oracle/database/docs/reference/rest/v1/projects.locations.odbNetworks/get` | Gets details of a single ODB Network. |
| ### `https://docs.cloud.google.com/oracle/database/docs/reference/rest/v1/projects.locations.odbNetworks/list` | Lists the ODB Networks in a given project and location. |