Skip to main content

google_cloud_workstations_v1/model/
debug.rs

1// Copyright 2025 Google LLC
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     https://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14//
15// Code generated by sidekick. DO NOT EDIT.
16
17#[allow(unused_imports)]
18use super::*;
19
20impl std::fmt::Debug for super::WorkstationCluster {
21    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22        let mut debug_struct = f.debug_struct("WorkstationCluster");
23        debug_struct.field("name", &self.name);
24        debug_struct.field("display_name", &self.display_name);
25        debug_struct.field("uid", &self.uid);
26        debug_struct.field("reconciling", &self.reconciling);
27        debug_struct.field("annotations", &self.annotations);
28        debug_struct.field("labels", &self.labels);
29        debug_struct.field("create_time", &self.create_time);
30        debug_struct.field("update_time", &self.update_time);
31        debug_struct.field("delete_time", &self.delete_time);
32        debug_struct.field("etag", &self.etag);
33        debug_struct.field("network", &self.network);
34        debug_struct.field("subnetwork", &self.subnetwork);
35        debug_struct.field("control_plane_ip", &self.control_plane_ip);
36        debug_struct.field("private_cluster_config", &self.private_cluster_config);
37        debug_struct.field("domain_config", &self.domain_config);
38        debug_struct.field("degraded", &self.degraded);
39        debug_struct.field("conditions", &self.conditions);
40        debug_struct.field("tags", &self.tags);
41        debug_struct.field("gateway_config", &self.gateway_config);
42        debug_struct.field(
43            "workstation_authorization_url",
44            &self.workstation_authorization_url,
45        );
46        debug_struct.field("workstation_launch_url", &self.workstation_launch_url);
47        if !self._unknown_fields.is_empty() {
48            debug_struct.field("_unknown_fields", &self._unknown_fields);
49        }
50        debug_struct.finish()
51    }
52}
53
54impl std::fmt::Debug for super::workstation_cluster::PrivateClusterConfig {
55    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
56        let mut debug_struct = f.debug_struct("PrivateClusterConfig");
57        debug_struct.field("enable_private_endpoint", &self.enable_private_endpoint);
58        debug_struct.field("cluster_hostname", &self.cluster_hostname);
59        debug_struct.field("service_attachment_uri", &self.service_attachment_uri);
60        debug_struct.field("allowed_projects", &self.allowed_projects);
61        if !self._unknown_fields.is_empty() {
62            debug_struct.field("_unknown_fields", &self._unknown_fields);
63        }
64        debug_struct.finish()
65    }
66}
67
68impl std::fmt::Debug for super::workstation_cluster::DomainConfig {
69    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
70        let mut debug_struct = f.debug_struct("DomainConfig");
71        debug_struct.field("domain", &self.domain);
72        if !self._unknown_fields.is_empty() {
73            debug_struct.field("_unknown_fields", &self._unknown_fields);
74        }
75        debug_struct.finish()
76    }
77}
78
79impl std::fmt::Debug for super::workstation_cluster::GatewayConfig {
80    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
81        let mut debug_struct = f.debug_struct("GatewayConfig");
82        debug_struct.field("http2_enabled", &self.http2_enabled);
83        if !self._unknown_fields.is_empty() {
84            debug_struct.field("_unknown_fields", &self._unknown_fields);
85        }
86        debug_struct.finish()
87    }
88}
89
90impl std::fmt::Debug for super::WorkstationConfig {
91    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
92        let mut debug_struct = f.debug_struct("WorkstationConfig");
93        debug_struct.field("name", &self.name);
94        debug_struct.field("display_name", &self.display_name);
95        debug_struct.field("uid", &self.uid);
96        debug_struct.field("reconciling", &self.reconciling);
97        debug_struct.field("annotations", &self.annotations);
98        debug_struct.field("labels", &self.labels);
99        debug_struct.field("create_time", &self.create_time);
100        debug_struct.field("update_time", &self.update_time);
101        debug_struct.field("delete_time", &self.delete_time);
102        debug_struct.field("etag", &self.etag);
103        debug_struct.field("idle_timeout", &self.idle_timeout);
104        debug_struct.field("running_timeout", &self.running_timeout);
105        debug_struct.field("max_usable_workstations", &self.max_usable_workstations);
106        debug_struct.field("host", &self.host);
107        debug_struct.field("persistent_directories", &self.persistent_directories);
108        debug_struct.field("ephemeral_directories", &self.ephemeral_directories);
109        debug_struct.field("container", &self.container);
110        debug_struct.field("encryption_key", &self.encryption_key);
111        debug_struct.field("readiness_checks", &self.readiness_checks);
112        debug_struct.field("replica_zones", &self.replica_zones);
113        debug_struct.field("degraded", &self.degraded);
114        debug_struct.field("conditions", &self.conditions);
115        debug_struct.field("enable_audit_agent", &self.enable_audit_agent);
116        debug_struct.field("disable_tcp_connections", &self.disable_tcp_connections);
117        debug_struct.field("allowed_ports", &self.allowed_ports);
118        debug_struct.field(
119            "grant_workstation_admin_role_on_create",
120            &self.grant_workstation_admin_role_on_create,
121        );
122        if !self._unknown_fields.is_empty() {
123            debug_struct.field("_unknown_fields", &self._unknown_fields);
124        }
125        debug_struct.finish()
126    }
127}
128
129impl std::fmt::Debug for super::workstation_config::Host {
130    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
131        let mut debug_struct = f.debug_struct("Host");
132        debug_struct.field("config", &self.config);
133        if !self._unknown_fields.is_empty() {
134            debug_struct.field("_unknown_fields", &self._unknown_fields);
135        }
136        debug_struct.finish()
137    }
138}
139
140impl std::fmt::Debug for super::workstation_config::host::GceInstance {
141    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
142        let mut debug_struct = f.debug_struct("GceInstance");
143        debug_struct.field("machine_type", &self.machine_type);
144        debug_struct.field("service_account", &self.service_account);
145        debug_struct.field("service_account_scopes", &self.service_account_scopes);
146        debug_struct.field("tags", &self.tags);
147        debug_struct.field("pool_size", &self.pool_size);
148        debug_struct.field("pooled_instances", &self.pooled_instances);
149        debug_struct.field(
150            "disable_public_ip_addresses",
151            &self.disable_public_ip_addresses,
152        );
153        debug_struct.field(
154            "enable_nested_virtualization",
155            &self.enable_nested_virtualization,
156        );
157        debug_struct.field("shielded_instance_config", &self.shielded_instance_config);
158        debug_struct.field(
159            "confidential_instance_config",
160            &self.confidential_instance_config,
161        );
162        debug_struct.field("boot_disk_size_gb", &self.boot_disk_size_gb);
163        debug_struct.field("accelerators", &self.accelerators);
164        debug_struct.field("boost_configs", &self.boost_configs);
165        debug_struct.field("disable_ssh", &self.disable_ssh);
166        debug_struct.field("vm_tags", &self.vm_tags);
167        debug_struct.field("startup_script_uri", &self.startup_script_uri);
168        debug_struct.field("instance_metadata", &self.instance_metadata);
169        if !self._unknown_fields.is_empty() {
170            debug_struct.field("_unknown_fields", &self._unknown_fields);
171        }
172        debug_struct.finish()
173    }
174}
175
176impl std::fmt::Debug for super::workstation_config::host::gce_instance::GceShieldedInstanceConfig {
177    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
178        let mut debug_struct = f.debug_struct("GceShieldedInstanceConfig");
179        debug_struct.field("enable_secure_boot", &self.enable_secure_boot);
180        debug_struct.field("enable_vtpm", &self.enable_vtpm);
181        debug_struct.field(
182            "enable_integrity_monitoring",
183            &self.enable_integrity_monitoring,
184        );
185        if !self._unknown_fields.is_empty() {
186            debug_struct.field("_unknown_fields", &self._unknown_fields);
187        }
188        debug_struct.finish()
189    }
190}
191
192impl std::fmt::Debug
193    for super::workstation_config::host::gce_instance::GceConfidentialInstanceConfig
194{
195    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
196        let mut debug_struct = f.debug_struct("GceConfidentialInstanceConfig");
197        debug_struct.field(
198            "enable_confidential_compute",
199            &self.enable_confidential_compute,
200        );
201        if !self._unknown_fields.is_empty() {
202            debug_struct.field("_unknown_fields", &self._unknown_fields);
203        }
204        debug_struct.finish()
205    }
206}
207
208impl std::fmt::Debug for super::workstation_config::host::gce_instance::Accelerator {
209    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
210        let mut debug_struct = f.debug_struct("Accelerator");
211        debug_struct.field("r#type", &self.r#type);
212        debug_struct.field("count", &self.count);
213        if !self._unknown_fields.is_empty() {
214            debug_struct.field("_unknown_fields", &self._unknown_fields);
215        }
216        debug_struct.finish()
217    }
218}
219
220impl std::fmt::Debug for super::workstation_config::host::gce_instance::BoostConfig {
221    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
222        let mut debug_struct = f.debug_struct("BoostConfig");
223        debug_struct.field("id", &self.id);
224        debug_struct.field("machine_type", &self.machine_type);
225        debug_struct.field("accelerators", &self.accelerators);
226        debug_struct.field("boot_disk_size_gb", &self.boot_disk_size_gb);
227        debug_struct.field(
228            "enable_nested_virtualization",
229            &self.enable_nested_virtualization,
230        );
231        debug_struct.field("pool_size", &self.pool_size);
232        if !self._unknown_fields.is_empty() {
233            debug_struct.field("_unknown_fields", &self._unknown_fields);
234        }
235        debug_struct.finish()
236    }
237}
238
239impl std::fmt::Debug for super::workstation_config::PersistentDirectory {
240    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
241        let mut debug_struct = f.debug_struct("PersistentDirectory");
242        debug_struct.field("mount_path", &self.mount_path);
243        debug_struct.field("directory_type", &self.directory_type);
244        if !self._unknown_fields.is_empty() {
245            debug_struct.field("_unknown_fields", &self._unknown_fields);
246        }
247        debug_struct.finish()
248    }
249}
250
251impl std::fmt::Debug
252    for super::workstation_config::persistent_directory::GceRegionalPersistentDisk
253{
254    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
255        let mut debug_struct = f.debug_struct("GceRegionalPersistentDisk");
256        debug_struct.field("size_gb", &self.size_gb);
257        debug_struct.field("max_size_gb", &self.max_size_gb);
258        debug_struct.field("fs_type", &self.fs_type);
259        debug_struct.field("disk_type", &self.disk_type);
260        debug_struct.field("source_snapshot", &self.source_snapshot);
261        debug_struct.field("reclaim_policy", &self.reclaim_policy);
262        debug_struct.field("archive_timeout", &self.archive_timeout);
263        if !self._unknown_fields.is_empty() {
264            debug_struct.field("_unknown_fields", &self._unknown_fields);
265        }
266        debug_struct.finish()
267    }
268}
269
270impl std::fmt::Debug
271    for super::workstation_config::persistent_directory::GceHyperdiskBalancedHighAvailability
272{
273    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
274        let mut debug_struct = f.debug_struct("GceHyperdiskBalancedHighAvailability");
275        debug_struct.field("size_gb", &self.size_gb);
276        debug_struct.field("max_size_gb", &self.max_size_gb);
277        debug_struct.field("source_snapshot", &self.source_snapshot);
278        debug_struct.field("reclaim_policy", &self.reclaim_policy);
279        debug_struct.field("archive_timeout", &self.archive_timeout);
280        if !self._unknown_fields.is_empty() {
281            debug_struct.field("_unknown_fields", &self._unknown_fields);
282        }
283        debug_struct.finish()
284    }
285}
286
287impl std::fmt::Debug for super::workstation_config::EphemeralDirectory {
288    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
289        let mut debug_struct = f.debug_struct("EphemeralDirectory");
290        debug_struct.field("mount_path", &self.mount_path);
291        debug_struct.field("directory_type", &self.directory_type);
292        if !self._unknown_fields.is_empty() {
293            debug_struct.field("_unknown_fields", &self._unknown_fields);
294        }
295        debug_struct.finish()
296    }
297}
298
299impl std::fmt::Debug for super::workstation_config::ephemeral_directory::GcePersistentDisk {
300    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
301        let mut debug_struct = f.debug_struct("GcePersistentDisk");
302        debug_struct.field("disk_type", &self.disk_type);
303        debug_struct.field("source_snapshot", &self.source_snapshot);
304        debug_struct.field("source_image", &self.source_image);
305        debug_struct.field("read_only", &self.read_only);
306        if !self._unknown_fields.is_empty() {
307            debug_struct.field("_unknown_fields", &self._unknown_fields);
308        }
309        debug_struct.finish()
310    }
311}
312
313impl std::fmt::Debug for super::workstation_config::Container {
314    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
315        let mut debug_struct = f.debug_struct("Container");
316        debug_struct.field("image", &self.image);
317        debug_struct.field("command", &self.command);
318        debug_struct.field("args", &self.args);
319        debug_struct.field("env", &self.env);
320        debug_struct.field("working_dir", &self.working_dir);
321        debug_struct.field("run_as_user", &self.run_as_user);
322        if !self._unknown_fields.is_empty() {
323            debug_struct.field("_unknown_fields", &self._unknown_fields);
324        }
325        debug_struct.finish()
326    }
327}
328
329impl std::fmt::Debug for super::workstation_config::CustomerEncryptionKey {
330    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
331        let mut debug_struct = f.debug_struct("CustomerEncryptionKey");
332        debug_struct.field("kms_key", &self.kms_key);
333        debug_struct.field("kms_key_service_account", &self.kms_key_service_account);
334        if !self._unknown_fields.is_empty() {
335            debug_struct.field("_unknown_fields", &self._unknown_fields);
336        }
337        debug_struct.finish()
338    }
339}
340
341impl std::fmt::Debug for super::workstation_config::ReadinessCheck {
342    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
343        let mut debug_struct = f.debug_struct("ReadinessCheck");
344        debug_struct.field("path", &self.path);
345        debug_struct.field("port", &self.port);
346        if !self._unknown_fields.is_empty() {
347            debug_struct.field("_unknown_fields", &self._unknown_fields);
348        }
349        debug_struct.finish()
350    }
351}
352
353impl std::fmt::Debug for super::workstation_config::PortRange {
354    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
355        let mut debug_struct = f.debug_struct("PortRange");
356        debug_struct.field("first", &self.first);
357        debug_struct.field("last", &self.last);
358        if !self._unknown_fields.is_empty() {
359            debug_struct.field("_unknown_fields", &self._unknown_fields);
360        }
361        debug_struct.finish()
362    }
363}
364
365impl std::fmt::Debug for super::Workstation {
366    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
367        let mut debug_struct = f.debug_struct("Workstation");
368        debug_struct.field("name", &self.name);
369        debug_struct.field("display_name", &self.display_name);
370        debug_struct.field("uid", &self.uid);
371        debug_struct.field("reconciling", &self.reconciling);
372        debug_struct.field("annotations", &self.annotations);
373        debug_struct.field("labels", &self.labels);
374        debug_struct.field("create_time", &self.create_time);
375        debug_struct.field("update_time", &self.update_time);
376        debug_struct.field("start_time", &self.start_time);
377        debug_struct.field("delete_time", &self.delete_time);
378        debug_struct.field("etag", &self.etag);
379        debug_struct.field("persistent_directories", &self.persistent_directories);
380        debug_struct.field("state", &self.state);
381        debug_struct.field("host", &self.host);
382        debug_struct.field("env", &self.env);
383        debug_struct.field("kms_key", &self.kms_key);
384        debug_struct.field("source_workstation", &self.source_workstation);
385        debug_struct.field("runtime_host", &self.runtime_host);
386        if !self._unknown_fields.is_empty() {
387            debug_struct.field("_unknown_fields", &self._unknown_fields);
388        }
389        debug_struct.finish()
390    }
391}
392
393impl std::fmt::Debug for super::workstation::WorkstationPersistentDirectory {
394    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
395        let mut debug_struct = f.debug_struct("WorkstationPersistentDirectory");
396        debug_struct.field("mount_path", &self.mount_path);
397        debug_struct.field("size_gb", &self.size_gb);
398        if !self._unknown_fields.is_empty() {
399            debug_struct.field("_unknown_fields", &self._unknown_fields);
400        }
401        debug_struct.finish()
402    }
403}
404
405impl std::fmt::Debug for super::workstation::RuntimeHost {
406    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
407        let mut debug_struct = f.debug_struct("RuntimeHost");
408        debug_struct.field("host_type", &self.host_type);
409        if !self._unknown_fields.is_empty() {
410            debug_struct.field("_unknown_fields", &self._unknown_fields);
411        }
412        debug_struct.finish()
413    }
414}
415
416impl std::fmt::Debug for super::workstation::runtime_host::GceInstanceHost {
417    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
418        let mut debug_struct = f.debug_struct("GceInstanceHost");
419        debug_struct.field("name", &self.name);
420        debug_struct.field("id", &self.id);
421        debug_struct.field("zone", &self.zone);
422        if !self._unknown_fields.is_empty() {
423            debug_struct.field("_unknown_fields", &self._unknown_fields);
424        }
425        debug_struct.finish()
426    }
427}
428
429impl std::fmt::Debug for super::GetWorkstationClusterRequest {
430    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
431        let mut debug_struct = f.debug_struct("GetWorkstationClusterRequest");
432        debug_struct.field("name", &self.name);
433        if !self._unknown_fields.is_empty() {
434            debug_struct.field("_unknown_fields", &self._unknown_fields);
435        }
436        debug_struct.finish()
437    }
438}
439
440impl std::fmt::Debug for super::ListWorkstationClustersRequest {
441    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
442        let mut debug_struct = f.debug_struct("ListWorkstationClustersRequest");
443        debug_struct.field("parent", &self.parent);
444        debug_struct.field("page_size", &self.page_size);
445        debug_struct.field("page_token", &self.page_token);
446        debug_struct.field("filter", &self.filter);
447        if !self._unknown_fields.is_empty() {
448            debug_struct.field("_unknown_fields", &self._unknown_fields);
449        }
450        debug_struct.finish()
451    }
452}
453
454impl std::fmt::Debug for super::ListWorkstationClustersResponse {
455    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
456        let mut debug_struct = f.debug_struct("ListWorkstationClustersResponse");
457        debug_struct.field("workstation_clusters", &self.workstation_clusters);
458        debug_struct.field("next_page_token", &self.next_page_token);
459        debug_struct.field("unreachable", &self.unreachable);
460        if !self._unknown_fields.is_empty() {
461            debug_struct.field("_unknown_fields", &self._unknown_fields);
462        }
463        debug_struct.finish()
464    }
465}
466
467impl std::fmt::Debug for super::CreateWorkstationClusterRequest {
468    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
469        let mut debug_struct = f.debug_struct("CreateWorkstationClusterRequest");
470        debug_struct.field("parent", &self.parent);
471        debug_struct.field("workstation_cluster_id", &self.workstation_cluster_id);
472        debug_struct.field("workstation_cluster", &self.workstation_cluster);
473        debug_struct.field("validate_only", &self.validate_only);
474        if !self._unknown_fields.is_empty() {
475            debug_struct.field("_unknown_fields", &self._unknown_fields);
476        }
477        debug_struct.finish()
478    }
479}
480
481impl std::fmt::Debug for super::UpdateWorkstationClusterRequest {
482    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
483        let mut debug_struct = f.debug_struct("UpdateWorkstationClusterRequest");
484        debug_struct.field("workstation_cluster", &self.workstation_cluster);
485        debug_struct.field("update_mask", &self.update_mask);
486        debug_struct.field("validate_only", &self.validate_only);
487        debug_struct.field("allow_missing", &self.allow_missing);
488        if !self._unknown_fields.is_empty() {
489            debug_struct.field("_unknown_fields", &self._unknown_fields);
490        }
491        debug_struct.finish()
492    }
493}
494
495impl std::fmt::Debug for super::DeleteWorkstationClusterRequest {
496    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
497        let mut debug_struct = f.debug_struct("DeleteWorkstationClusterRequest");
498        debug_struct.field("name", &self.name);
499        debug_struct.field("validate_only", &self.validate_only);
500        debug_struct.field("etag", &self.etag);
501        debug_struct.field("force", &self.force);
502        if !self._unknown_fields.is_empty() {
503            debug_struct.field("_unknown_fields", &self._unknown_fields);
504        }
505        debug_struct.finish()
506    }
507}
508
509impl std::fmt::Debug for super::GetWorkstationConfigRequest {
510    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
511        let mut debug_struct = f.debug_struct("GetWorkstationConfigRequest");
512        debug_struct.field("name", &self.name);
513        if !self._unknown_fields.is_empty() {
514            debug_struct.field("_unknown_fields", &self._unknown_fields);
515        }
516        debug_struct.finish()
517    }
518}
519
520impl std::fmt::Debug for super::ListWorkstationConfigsRequest {
521    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
522        let mut debug_struct = f.debug_struct("ListWorkstationConfigsRequest");
523        debug_struct.field("parent", &self.parent);
524        debug_struct.field("page_size", &self.page_size);
525        debug_struct.field("page_token", &self.page_token);
526        debug_struct.field("filter", &self.filter);
527        if !self._unknown_fields.is_empty() {
528            debug_struct.field("_unknown_fields", &self._unknown_fields);
529        }
530        debug_struct.finish()
531    }
532}
533
534impl std::fmt::Debug for super::ListWorkstationConfigsResponse {
535    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
536        let mut debug_struct = f.debug_struct("ListWorkstationConfigsResponse");
537        debug_struct.field("workstation_configs", &self.workstation_configs);
538        debug_struct.field("next_page_token", &self.next_page_token);
539        debug_struct.field("unreachable", &self.unreachable);
540        if !self._unknown_fields.is_empty() {
541            debug_struct.field("_unknown_fields", &self._unknown_fields);
542        }
543        debug_struct.finish()
544    }
545}
546
547impl std::fmt::Debug for super::ListUsableWorkstationConfigsRequest {
548    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
549        let mut debug_struct = f.debug_struct("ListUsableWorkstationConfigsRequest");
550        debug_struct.field("parent", &self.parent);
551        debug_struct.field("page_size", &self.page_size);
552        debug_struct.field("page_token", &self.page_token);
553        if !self._unknown_fields.is_empty() {
554            debug_struct.field("_unknown_fields", &self._unknown_fields);
555        }
556        debug_struct.finish()
557    }
558}
559
560impl std::fmt::Debug for super::ListUsableWorkstationConfigsResponse {
561    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
562        let mut debug_struct = f.debug_struct("ListUsableWorkstationConfigsResponse");
563        debug_struct.field("workstation_configs", &self.workstation_configs);
564        debug_struct.field("next_page_token", &self.next_page_token);
565        debug_struct.field("unreachable", &self.unreachable);
566        if !self._unknown_fields.is_empty() {
567            debug_struct.field("_unknown_fields", &self._unknown_fields);
568        }
569        debug_struct.finish()
570    }
571}
572
573impl std::fmt::Debug for super::CreateWorkstationConfigRequest {
574    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
575        let mut debug_struct = f.debug_struct("CreateWorkstationConfigRequest");
576        debug_struct.field("parent", &self.parent);
577        debug_struct.field("workstation_config_id", &self.workstation_config_id);
578        debug_struct.field("workstation_config", &self.workstation_config);
579        debug_struct.field("validate_only", &self.validate_only);
580        if !self._unknown_fields.is_empty() {
581            debug_struct.field("_unknown_fields", &self._unknown_fields);
582        }
583        debug_struct.finish()
584    }
585}
586
587impl std::fmt::Debug for super::UpdateWorkstationConfigRequest {
588    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
589        let mut debug_struct = f.debug_struct("UpdateWorkstationConfigRequest");
590        debug_struct.field("workstation_config", &self.workstation_config);
591        debug_struct.field("update_mask", &self.update_mask);
592        debug_struct.field("validate_only", &self.validate_only);
593        debug_struct.field("allow_missing", &self.allow_missing);
594        if !self._unknown_fields.is_empty() {
595            debug_struct.field("_unknown_fields", &self._unknown_fields);
596        }
597        debug_struct.finish()
598    }
599}
600
601impl std::fmt::Debug for super::DeleteWorkstationConfigRequest {
602    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
603        let mut debug_struct = f.debug_struct("DeleteWorkstationConfigRequest");
604        debug_struct.field("name", &self.name);
605        debug_struct.field("validate_only", &self.validate_only);
606        debug_struct.field("etag", &self.etag);
607        debug_struct.field("force", &self.force);
608        if !self._unknown_fields.is_empty() {
609            debug_struct.field("_unknown_fields", &self._unknown_fields);
610        }
611        debug_struct.finish()
612    }
613}
614
615impl std::fmt::Debug for super::GetWorkstationRequest {
616    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
617        let mut debug_struct = f.debug_struct("GetWorkstationRequest");
618        debug_struct.field("name", &self.name);
619        if !self._unknown_fields.is_empty() {
620            debug_struct.field("_unknown_fields", &self._unknown_fields);
621        }
622        debug_struct.finish()
623    }
624}
625
626impl std::fmt::Debug for super::ListWorkstationsRequest {
627    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
628        let mut debug_struct = f.debug_struct("ListWorkstationsRequest");
629        debug_struct.field("parent", &self.parent);
630        debug_struct.field("page_size", &self.page_size);
631        debug_struct.field("page_token", &self.page_token);
632        debug_struct.field("filter", &self.filter);
633        if !self._unknown_fields.is_empty() {
634            debug_struct.field("_unknown_fields", &self._unknown_fields);
635        }
636        debug_struct.finish()
637    }
638}
639
640impl std::fmt::Debug for super::ListWorkstationsResponse {
641    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
642        let mut debug_struct = f.debug_struct("ListWorkstationsResponse");
643        debug_struct.field("workstations", &self.workstations);
644        debug_struct.field("next_page_token", &self.next_page_token);
645        debug_struct.field("unreachable", &self.unreachable);
646        if !self._unknown_fields.is_empty() {
647            debug_struct.field("_unknown_fields", &self._unknown_fields);
648        }
649        debug_struct.finish()
650    }
651}
652
653impl std::fmt::Debug for super::ListUsableWorkstationsRequest {
654    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
655        let mut debug_struct = f.debug_struct("ListUsableWorkstationsRequest");
656        debug_struct.field("parent", &self.parent);
657        debug_struct.field("page_size", &self.page_size);
658        debug_struct.field("page_token", &self.page_token);
659        if !self._unknown_fields.is_empty() {
660            debug_struct.field("_unknown_fields", &self._unknown_fields);
661        }
662        debug_struct.finish()
663    }
664}
665
666impl std::fmt::Debug for super::ListUsableWorkstationsResponse {
667    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
668        let mut debug_struct = f.debug_struct("ListUsableWorkstationsResponse");
669        debug_struct.field("workstations", &self.workstations);
670        debug_struct.field("next_page_token", &self.next_page_token);
671        debug_struct.field("unreachable", &self.unreachable);
672        if !self._unknown_fields.is_empty() {
673            debug_struct.field("_unknown_fields", &self._unknown_fields);
674        }
675        debug_struct.finish()
676    }
677}
678
679impl std::fmt::Debug for super::CreateWorkstationRequest {
680    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
681        let mut debug_struct = f.debug_struct("CreateWorkstationRequest");
682        debug_struct.field("parent", &self.parent);
683        debug_struct.field("workstation_id", &self.workstation_id);
684        debug_struct.field("workstation", &self.workstation);
685        debug_struct.field("validate_only", &self.validate_only);
686        if !self._unknown_fields.is_empty() {
687            debug_struct.field("_unknown_fields", &self._unknown_fields);
688        }
689        debug_struct.finish()
690    }
691}
692
693impl std::fmt::Debug for super::UpdateWorkstationRequest {
694    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
695        let mut debug_struct = f.debug_struct("UpdateWorkstationRequest");
696        debug_struct.field("workstation", &self.workstation);
697        debug_struct.field("update_mask", &self.update_mask);
698        debug_struct.field("validate_only", &self.validate_only);
699        debug_struct.field("allow_missing", &self.allow_missing);
700        if !self._unknown_fields.is_empty() {
701            debug_struct.field("_unknown_fields", &self._unknown_fields);
702        }
703        debug_struct.finish()
704    }
705}
706
707impl std::fmt::Debug for super::DeleteWorkstationRequest {
708    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
709        let mut debug_struct = f.debug_struct("DeleteWorkstationRequest");
710        debug_struct.field("name", &self.name);
711        debug_struct.field("validate_only", &self.validate_only);
712        debug_struct.field("etag", &self.etag);
713        if !self._unknown_fields.is_empty() {
714            debug_struct.field("_unknown_fields", &self._unknown_fields);
715        }
716        debug_struct.finish()
717    }
718}
719
720impl std::fmt::Debug for super::StartWorkstationRequest {
721    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
722        let mut debug_struct = f.debug_struct("StartWorkstationRequest");
723        debug_struct.field("name", &self.name);
724        debug_struct.field("validate_only", &self.validate_only);
725        debug_struct.field("etag", &self.etag);
726        debug_struct.field("boost_config", &self.boost_config);
727        if !self._unknown_fields.is_empty() {
728            debug_struct.field("_unknown_fields", &self._unknown_fields);
729        }
730        debug_struct.finish()
731    }
732}
733
734impl std::fmt::Debug for super::StopWorkstationRequest {
735    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
736        let mut debug_struct = f.debug_struct("StopWorkstationRequest");
737        debug_struct.field("name", &self.name);
738        debug_struct.field("validate_only", &self.validate_only);
739        debug_struct.field("etag", &self.etag);
740        if !self._unknown_fields.is_empty() {
741            debug_struct.field("_unknown_fields", &self._unknown_fields);
742        }
743        debug_struct.finish()
744    }
745}
746
747impl std::fmt::Debug for super::GenerateAccessTokenRequest {
748    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
749        let mut debug_struct = f.debug_struct("GenerateAccessTokenRequest");
750        debug_struct.field("workstation", &self.workstation);
751        debug_struct.field("port", &self.port);
752        debug_struct.field("expiration", &self.expiration);
753        if !self._unknown_fields.is_empty() {
754            debug_struct.field("_unknown_fields", &self._unknown_fields);
755        }
756        debug_struct.finish()
757    }
758}
759
760impl std::fmt::Debug for super::GenerateAccessTokenResponse {
761    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
762        let mut debug_struct = f.debug_struct("GenerateAccessTokenResponse");
763        debug_struct.field("access_token", &self.access_token);
764        debug_struct.field("expire_time", &self.expire_time);
765        if !self._unknown_fields.is_empty() {
766            debug_struct.field("_unknown_fields", &self._unknown_fields);
767        }
768        debug_struct.finish()
769    }
770}
771
772impl std::fmt::Debug for super::OperationMetadata {
773    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
774        let mut debug_struct = f.debug_struct("OperationMetadata");
775        debug_struct.field("create_time", &self.create_time);
776        debug_struct.field("end_time", &self.end_time);
777        debug_struct.field("target", &self.target);
778        debug_struct.field("verb", &self.verb);
779        debug_struct.field("status_message", &self.status_message);
780        debug_struct.field("requested_cancellation", &self.requested_cancellation);
781        debug_struct.field("api_version", &self.api_version);
782        if !self._unknown_fields.is_empty() {
783            debug_struct.field("_unknown_fields", &self._unknown_fields);
784        }
785        debug_struct.finish()
786    }
787}