File tree 4 files changed +71
-8
lines changed
4 files changed +71
-8
lines changed Original file line number Diff line number Diff line change 1
1
configured_endpoints : 116
2
- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-d854bc81e0a99171716893e6790a87ba350bb6fc778f8e3244abdd47d5c252c3 .yml
3
- openapi_spec_hash : 5189220e4712a7b0cdd35beba2ebb47d
2
+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-2e6ddfc9da00e33fcf13baf0b67012b97f051fa986658ff114fde989e56caa94 .yml
3
+ openapi_spec_hash : 5af02ea2008312d609394e548756e761
4
4
config_hash : 60929489bdc1eaf979e7ef74fdd17b94
Original file line number Diff line number Diff line change @@ -375,6 +375,13 @@ export interface RunnerConfiguration {
375
375
*/
376
376
autoUpdate ?: boolean ;
377
377
378
+ /**
379
+ * devcontainer_image_cache_enabled controls whether the devcontainer build cache
380
+ * is enabled for this runner. Only takes effect on supported runners, currently
381
+ * only AWS EC2 runners.
382
+ */
383
+ devcontainerImageCacheEnabled ?: boolean ;
384
+
378
385
/**
379
386
* log_level is the log level for the runner
380
387
*/
@@ -705,6 +712,12 @@ export namespace RunnerUpdateParams {
705
712
*/
706
713
autoUpdate ?: boolean | null ;
707
714
715
+ /**
716
+ * devcontainer_image_cache_enabled controls whether the shared devcontainer build
717
+ * cache is enabled for this runner.
718
+ */
719
+ devcontainerImageCacheEnabled ?: boolean | null ;
720
+
708
721
/**
709
722
* log_level is the log level for the runner
710
723
*/
Original file line number Diff line number Diff line change @@ -58,7 +58,38 @@ export class Secrets extends APIResource {
58
58
}
59
59
60
60
/**
61
- * ListSecrets
61
+ * Lists secrets
62
+ *
63
+ * Use this method to:
64
+ *
65
+ * - View all project secrets
66
+ * - View all user secrets
67
+ *
68
+ * ### Examples
69
+ *
70
+ * - List project secrets:
71
+ *
72
+ * Shows all secrets for a project.
73
+ *
74
+ * ```yaml
75
+ * filter:
76
+ * scope:
77
+ * projectId: "b0e12f6c-4c67-429d-a4a6-d9838b5da047"
78
+ * pagination:
79
+ * pageSize: 20
80
+ * ```
81
+ *
82
+ * - List user secrets:
83
+ *
84
+ * Shows all secrets for a user.
85
+ *
86
+ * ```yaml
87
+ * filter:
88
+ * scope:
89
+ * userId: "123e4567-e89b-12d3-a456-426614174000"
90
+ * pagination:
91
+ * pageSize: 20
92
+ * ```
62
93
*/
63
94
list ( params : SecretListParams , options ?: RequestOptions ) : PagePromise < SecretsSecretsPage , Secret > {
64
95
const { token, pageSize, ...body } = params ;
Original file line number Diff line number Diff line change @@ -6,10 +6,29 @@ import { RequestOptions } from '../internal/request-options';
6
6
7
7
export class Usage extends APIResource {
8
8
/**
9
- * Lists environment sessions within a specified date range.
9
+ * Lists completed environment sessions within a specified date range.
10
10
*
11
- * Returns a list of environment sessions that were active within the specified
12
- * date range.
11
+ * Returns a list of environment sessions that were completed within the specified
12
+ * date range. Currently running sessions are not included.
13
+ *
14
+ * Use this method to:
15
+ *
16
+ * - View environment sessions
17
+ * - Filter by project
18
+ * - Monitor session activity
19
+ * - Create custom usage reports
20
+ *
21
+ * ### Example
22
+ *
23
+ * ```yaml
24
+ * filter:
25
+ * projectId: "d2c94c27-3b76-4a42-b88c-95a85e392c68"
26
+ * dateRange:
27
+ * startTime: "2024-01-01T00:00:00Z"
28
+ * endTime: "2024-01-02T00:00:00Z"
29
+ * pagination:
30
+ * pageSize: 100
31
+ * ```
13
32
*/
14
33
listEnvironmentSessions (
15
34
params : UsageListEnvironmentSessionsParams ,
@@ -48,7 +67,7 @@ export interface EnvironmentSession {
48
67
environmentId ?: string ;
49
68
50
69
/**
51
- * Project ID associated with the session.
70
+ * Project ID associated with the session (if available) .
52
71
*/
53
72
projectId ?: string ;
54
73
@@ -63,7 +82,7 @@ export interface EnvironmentSession {
63
82
stoppedAt ?: string ;
64
83
65
84
/**
66
- * User ID who created the session.
85
+ * User ID that created the session.
67
86
*/
68
87
userId ?: string ;
69
88
}
You can’t perform that action at this time.
0 commit comments