# The WorkspaceNetworkOption object

## Attributes

- `network_policy_id` (string)
  The network policy ID to apply to the workspace. This controls the network access rules
   for all serverless compute resources in the workspace. Each workspace can only be
   linked to one policy at a time. If no policy is explicitly assigned,
   the workspace will use 'default-policy'.
  Example: `my-network-policy`
- `workspace_id` (int64)
  The workspace ID.
  Example: `1234567890`

## Example

```json
{
  "network_policy_id": "my-network-policy",
  "workspace_id": 1234567890
}
```


