@@ -76,12 +76,12 @@ message RichParameterValue {
76
76
// If a prebuild remains unclaimed for longer than ttl seconds, it is deleted and
77
77
// recreated to prevent staleness.
78
78
message ExpirationPolicy {
79
- int32 ttl = 1 ;
79
+ int32 ttl = 1 ;
80
80
}
81
81
82
82
message Prebuild {
83
83
int32 instances = 1 ;
84
- ExpirationPolicy expiration_policy = 2 ;
84
+ ExpirationPolicy expiration_policy = 2 ;
85
85
}
86
86
87
87
// Preset represents a set of preset parameters for a template version.
@@ -153,7 +153,7 @@ message Agent {
153
153
string id = 1 ;
154
154
string name = 2 ;
155
155
map <string , string > env = 3 ;
156
- // Field 4 was startup_script, now removed.
156
+ // Field 4 was startup_script, now removed.
157
157
string operating_system = 5 ;
158
158
string architecture = 6 ;
159
159
string directory = 7 ;
@@ -166,16 +166,16 @@ message Agent {
166
166
string troubleshooting_url = 12 ;
167
167
string motd_file = 13 ;
168
168
// Field 14 was bool login_before_ready = 14, now removed.
169
- // Field 15, 16, 17 were related to scripts, which are now removed.
169
+ // Field 15, 16, 17 were related to scripts, which are now removed.
170
170
repeated Metadata metadata = 18 ;
171
- // Field 19 was startup_script_behavior, now removed.
171
+ // Field 19 was startup_script_behavior, now removed.
172
172
DisplayApps display_apps = 20 ;
173
- repeated Script scripts = 21 ;
174
- repeated Env extra_envs = 22 ;
175
- int64 order = 23 ;
176
- ResourcesMonitoring resources_monitoring = 24 ;
177
- repeated Devcontainer devcontainers = 25 ;
178
- string api_key_scope = 26 ;
173
+ repeated Script scripts = 21 ;
174
+ repeated Env extra_envs = 22 ;
175
+ int64 order = 23 ;
176
+ ResourcesMonitoring resources_monitoring = 24 ;
177
+ repeated Devcontainer devcontainers = 25 ;
178
+ string api_key_scope = 26 ;
179
179
}
180
180
181
181
enum AppSharingLevel {
@@ -185,19 +185,19 @@ enum AppSharingLevel {
185
185
}
186
186
187
187
message ResourcesMonitoring {
188
- MemoryResourceMonitor memory = 1 ;
189
- repeated VolumeResourceMonitor volumes = 2 ;
188
+ MemoryResourceMonitor memory = 1 ;
189
+ repeated VolumeResourceMonitor volumes = 2 ;
190
190
}
191
191
192
192
message MemoryResourceMonitor {
193
- bool enabled = 1 ;
194
- int32 threshold = 2 ;
193
+ bool enabled = 1 ;
194
+ int32 threshold = 2 ;
195
195
}
196
196
197
197
message VolumeResourceMonitor {
198
- string path = 1 ;
199
- bool enabled = 2 ;
200
- int32 threshold = 3 ;
198
+ string path = 1 ;
199
+ bool enabled = 2 ;
200
+ int32 threshold = 3 ;
201
201
}
202
202
203
203
message DisplayApps {
@@ -209,27 +209,27 @@ message DisplayApps {
209
209
}
210
210
211
211
message Env {
212
- string name = 1 ;
213
- string value = 2 ;
212
+ string name = 1 ;
213
+ string value = 2 ;
214
214
}
215
215
216
216
// Script represents a script to be run on the workspace.
217
217
message Script {
218
- string display_name = 1 ;
219
- string icon = 2 ;
220
- string script = 3 ;
221
- string cron = 4 ;
222
- bool start_blocks_login = 5 ;
223
- bool run_on_start = 6 ;
224
- bool run_on_stop = 7 ;
225
- int32 timeout_seconds = 8 ;
226
- string log_path = 9 ;
218
+ string display_name = 1 ;
219
+ string icon = 2 ;
220
+ string script = 3 ;
221
+ string cron = 4 ;
222
+ bool start_blocks_login = 5 ;
223
+ bool run_on_start = 6 ;
224
+ bool run_on_stop = 7 ;
225
+ int32 timeout_seconds = 8 ;
226
+ string log_path = 9 ;
227
227
}
228
228
229
229
message Devcontainer {
230
- string workspace_folder = 1 ;
231
- string config_path = 2 ;
232
- string name = 3 ;
230
+ string workspace_folder = 1 ;
231
+ string config_path = 2 ;
232
+ string name = 3 ;
233
233
}
234
234
235
235
enum AppOpenIn {
@@ -308,9 +308,9 @@ message RunningAgentAuthToken {
308
308
string token = 2 ;
309
309
}
310
310
enum PrebuiltWorkspaceBuildStage {
311
- NONE = 0 ; // Default value for builds unrelated to prebuilds.
312
- CREATE = 1 ; // A prebuilt workspace is being provisioned.
313
- CLAIM = 2 ; // A prebuilt workspace is being claimed.
311
+ NONE = 0 ; // Default value for builds unrelated to prebuilds.
312
+ CREATE = 1 ; // A prebuilt workspace is being provisioned.
313
+ CLAIM = 2 ; // A prebuilt workspace is being claimed.
314
314
}
315
315
316
316
// Metadata is information about a workspace used in the execution of a build
0 commit comments