Skip to content

Commit 159b43f

Browse files
chore: update network policy create params descriptions (#7069)
1 parent 32f6925 commit 159b43f

2 files changed

Lines changed: 14 additions & 10 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 108
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-e583f34fdcdc18499c8692e8eb8021f6163201f0f77206934c712c319a674d43.yml
3-
openapi_spec_hash: f2fb3f7f5c1f62d3dc397cd02cd1007a
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-5359067a857aa94f69bae0d3311856be3e637da067fdc9dbf8bd26fe476efbd8.yml
3+
openapi_spec_hash: 5227ef7c306d5226c3aee8932b2e8c6a
44
config_hash: 42959fa2708796cc2f83937278dde733

src/resources/network-policies.ts

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -89,18 +89,20 @@ export interface NetworkPolicyCreateParameters {
8989
name: string;
9090

9191
/**
92-
* If true, all egress traffic is allowed (ALLOW_ALL policy). Defaults to false.
92+
* (Optional) If true, all egress traffic is allowed (ALLOW_ALL policy). Defaults
93+
* to false.
9394
*/
9495
allow_all?: boolean | null;
9596

9697
/**
97-
* If true, allows traffic between the account's own devboxes via tunnels. Defaults
98-
* to false.
98+
* (Optional) If true, allows traffic between the account's own devboxes via
99+
* tunnels. Defaults to false. If allow_all is true, this is automatically set to
100+
* true.
99101
*/
100102
allow_devbox_to_devbox?: boolean | null;
101103

102104
/**
103-
* DNS-based allow list with wildcard support. Examples: ['github.com',
105+
* (Optional) DNS-based allow list with wildcard support. Examples: ['github.com',
104106
* '*.npmjs.org'].
105107
*/
106108
allowed_hostnames?: Array<string> | null;
@@ -231,18 +233,20 @@ export interface NetworkPolicyCreateParams {
231233
name: string;
232234

233235
/**
234-
* If true, all egress traffic is allowed (ALLOW_ALL policy). Defaults to false.
236+
* (Optional) If true, all egress traffic is allowed (ALLOW_ALL policy). Defaults
237+
* to false.
235238
*/
236239
allow_all?: boolean | null;
237240

238241
/**
239-
* If true, allows traffic between the account's own devboxes via tunnels. Defaults
240-
* to false.
242+
* (Optional) If true, allows traffic between the account's own devboxes via
243+
* tunnels. Defaults to false. If allow_all is true, this is automatically set to
244+
* true.
241245
*/
242246
allow_devbox_to_devbox?: boolean | null;
243247

244248
/**
245-
* DNS-based allow list with wildcard support. Examples: ['github.com',
249+
* (Optional) DNS-based allow list with wildcard support. Examples: ['github.com',
246250
* '*.npmjs.org'].
247251
*/
248252
allowed_hostnames?: Array<string> | null;

0 commit comments

Comments
 (0)