# REST Resource: projects.locations.pools

- [Resource: Pool](https://docs.cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.pools#Pool)
  - [JSON representation](https://docs.cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.pools#Pool.SCHEMA_REPRESENTATION)
- [NetworkConfig](https://docs.cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.pools#NetworkConfig)
  - [JSON representation](https://docs.cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.pools#NetworkConfig.SCHEMA_REPRESENTATION)
- [Methods](https://docs.cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.pools#METHODS_SUMMARY)

## Resource: Pool

Pool resource defines the configuration of Live Stream pools for a specific location. Currently we support only one pool resource per project per location. After the creation of the first input, a default pool is created automatically at "projects/{project}/locations/{location}/pools/default".

| JSON representation |
|---|
| ``` { "name": string, "createTime": string, "updateTime": string, "labels": { string: string, ... }, "networkConfig": { object (`https://docs.cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.pools#NetworkConfig`) } } ``` |

| Fields ||
|---|---|
| `name` | `string` The resource name of the pool, in the form of: `projects/{project}/locations/{location}/pools/{poolId}`. |
| `createTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. The creation time. 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"`. |
| `updateTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. The update time. 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"`. |
| `labels` | `map (key: string, value: string)` User-defined key/value metadata. An object containing a list of `"key": value` pairs. Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. |
| `networkConfig` | ``object (`https://docs.cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.pools#NetworkConfig`)`` Network configuration for the pool. |

## NetworkConfig

Defines the network configuration for the pool.

| JSON representation |
|---|
| ``` { "peeredNetwork": string } ``` |

| Fields ||
|---|---|
| `peeredNetwork` | `string` peeredNetwork is the network resource URL of the network that is peered to the service provider network. Must be of the format projects/NETWORK_PROJECT_NUMBER/global/networks/NETWORK_NAME, where NETWORK_PROJECT_NUMBER is the project number of the Cloud project that holds your VPC network and NETWORK_NAME is the name of your VPC network. If peeredNetwork is omitted or empty, the pool will use endpoints that are publicly available. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.pools/get` | Returns the specified pool. |
| ### `https://docs.cloud.google.com/livestream/docs/reference/rest/v1/projects.locations.pools/patch` | Updates the specified pool. |