@@ -76,12 +76,12 @@ message RichParameterValue {
7676// If a prebuild remains unclaimed for longer than ttl seconds, it is deleted and
7777// recreated to prevent staleness.
7878message ExpirationPolicy {
79- int32 ttl = 1 ;
79+ int32 ttl = 1 ;
8080}
8181
8282message Prebuild {
8383int32 instances = 1 ;
84- ExpirationPolicy expiration_policy = 2 ;
84+ ExpirationPolicy expiration_policy = 2 ;
8585}
8686
8787// Preset represents a set of preset parameters for a template version.
@@ -153,7 +153,7 @@ message Agent {
153153string id = 1 ;
154154string name = 2 ;
155155map <string ,string >env = 3 ;
156- // Field 4 was startup_script, now removed.
156+ // Field 4 was startup_script, now removed.
157157string operating_system = 5 ;
158158string architecture = 6 ;
159159string directory = 7 ;
@@ -166,16 +166,16 @@ message Agent {
166166string troubleshooting_url = 12 ;
167167string motd_file = 13 ;
168168// 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.
170170repeated Metadata metadata = 18 ;
171- // Field 19 was startup_script_behavior, now removed.
171+ // Field 19 was startup_script_behavior, now removed.
172172DisplayApps 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 ;
179179}
180180
181181enum AppSharingLevel {
@@ -185,19 +185,19 @@ enum AppSharingLevel {
185185}
186186
187187message ResourcesMonitoring {
188- MemoryResourceMonitor memory = 1 ;
189- repeated VolumeResourceMonitor volumes = 2 ;
188+ MemoryResourceMonitor memory = 1 ;
189+ repeated VolumeResourceMonitor volumes = 2 ;
190190}
191191
192192message MemoryResourceMonitor {
193- bool enabled = 1 ;
194- int32 threshold = 2 ;
193+ bool enabled = 1 ;
194+ int32 threshold = 2 ;
195195}
196196
197197message 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 ;
201201}
202202
203203message DisplayApps {
@@ -209,27 +209,27 @@ message DisplayApps {
209209}
210210
211211message Env {
212- string name = 1 ;
213- string value = 2 ;
212+ string name = 1 ;
213+ string value = 2 ;
214214}
215215
216216// Script represents a script to be run on the workspace.
217217message 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 ;
227227}
228228
229229message 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 ;
233233}
234234
235235enum AppOpenIn {
@@ -308,9 +308,9 @@ message RunningAgentAuthToken {
308308string token = 2 ;
309309}
310310enum 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.
314314}
315315
316316// Metadata is information about a workspace used in the execution of a build