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("degraded", &self.degraded);
38        debug_struct.field("conditions", &self.conditions);
39        if !self._unknown_fields.is_empty() {
40            debug_struct.field("_unknown_fields", &self._unknown_fields);
41        }
42        debug_struct.finish()
43    }
44}
45
46impl std::fmt::Debug for super::workstation_cluster::PrivateClusterConfig {
47    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
48        let mut debug_struct = f.debug_struct("PrivateClusterConfig");
49        debug_struct.field("enable_private_endpoint", &self.enable_private_endpoint);
50        debug_struct.field("cluster_hostname", &self.cluster_hostname);
51        debug_struct.field("service_attachment_uri", &self.service_attachment_uri);
52        debug_struct.field("allowed_projects", &self.allowed_projects);
53        if !self._unknown_fields.is_empty() {
54            debug_struct.field("_unknown_fields", &self._unknown_fields);
55        }
56        debug_struct.finish()
57    }
58}
59
60impl std::fmt::Debug for super::WorkstationConfig {
61    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
62        let mut debug_struct = f.debug_struct("WorkstationConfig");
63        debug_struct.field("name", &self.name);
64        debug_struct.field("display_name", &self.display_name);
65        debug_struct.field("uid", &self.uid);
66        debug_struct.field("reconciling", &self.reconciling);
67        debug_struct.field("annotations", &self.annotations);
68        debug_struct.field("labels", &self.labels);
69        debug_struct.field("create_time", &self.create_time);
70        debug_struct.field("update_time", &self.update_time);
71        debug_struct.field("delete_time", &self.delete_time);
72        debug_struct.field("etag", &self.etag);
73        debug_struct.field("idle_timeout", &self.idle_timeout);
74        debug_struct.field("running_timeout", &self.running_timeout);
75        debug_struct.field("host", &self.host);
76        debug_struct.field("persistent_directories", &self.persistent_directories);
77        debug_struct.field("container", &self.container);
78        debug_struct.field("encryption_key", &self.encryption_key);
79        debug_struct.field("readiness_checks", &self.readiness_checks);
80        debug_struct.field("replica_zones", &self.replica_zones);
81        debug_struct.field("degraded", &self.degraded);
82        debug_struct.field("conditions", &self.conditions);
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::workstation_config::Host {
91    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
92        let mut debug_struct = f.debug_struct("Host");
93        debug_struct.field("config", &self.config);
94        if !self._unknown_fields.is_empty() {
95            debug_struct.field("_unknown_fields", &self._unknown_fields);
96        }
97        debug_struct.finish()
98    }
99}
100
101impl std::fmt::Debug for super::workstation_config::host::GceInstance {
102    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
103        let mut debug_struct = f.debug_struct("GceInstance");
104        debug_struct.field("machine_type", &self.machine_type);
105        debug_struct.field("service_account", &self.service_account);
106        debug_struct.field("service_account_scopes", &self.service_account_scopes);
107        debug_struct.field("tags", &self.tags);
108        debug_struct.field("pool_size", &self.pool_size);
109        debug_struct.field("pooled_instances", &self.pooled_instances);
110        debug_struct.field(
111            "disable_public_ip_addresses",
112            &self.disable_public_ip_addresses,
113        );
114        debug_struct.field(
115            "enable_nested_virtualization",
116            &self.enable_nested_virtualization,
117        );
118        debug_struct.field("shielded_instance_config", &self.shielded_instance_config);
119        debug_struct.field(
120            "confidential_instance_config",
121            &self.confidential_instance_config,
122        );
123        debug_struct.field("boot_disk_size_gb", &self.boot_disk_size_gb);
124        if !self._unknown_fields.is_empty() {
125            debug_struct.field("_unknown_fields", &self._unknown_fields);
126        }
127        debug_struct.finish()
128    }
129}
130
131impl std::fmt::Debug for super::workstation_config::host::gce_instance::GceShieldedInstanceConfig {
132    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
133        let mut debug_struct = f.debug_struct("GceShieldedInstanceConfig");
134        debug_struct.field("enable_secure_boot", &self.enable_secure_boot);
135        debug_struct.field("enable_vtpm", &self.enable_vtpm);
136        debug_struct.field(
137            "enable_integrity_monitoring",
138            &self.enable_integrity_monitoring,
139        );
140        if !self._unknown_fields.is_empty() {
141            debug_struct.field("_unknown_fields", &self._unknown_fields);
142        }
143        debug_struct.finish()
144    }
145}
146
147impl std::fmt::Debug
148    for super::workstation_config::host::gce_instance::GceConfidentialInstanceConfig
149{
150    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
151        let mut debug_struct = f.debug_struct("GceConfidentialInstanceConfig");
152        debug_struct.field(
153            "enable_confidential_compute",
154            &self.enable_confidential_compute,
155        );
156        if !self._unknown_fields.is_empty() {
157            debug_struct.field("_unknown_fields", &self._unknown_fields);
158        }
159        debug_struct.finish()
160    }
161}
162
163impl std::fmt::Debug for super::workstation_config::PersistentDirectory {
164    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
165        let mut debug_struct = f.debug_struct("PersistentDirectory");
166        debug_struct.field("mount_path", &self.mount_path);
167        debug_struct.field("directory_type", &self.directory_type);
168        if !self._unknown_fields.is_empty() {
169            debug_struct.field("_unknown_fields", &self._unknown_fields);
170        }
171        debug_struct.finish()
172    }
173}
174
175impl std::fmt::Debug
176    for super::workstation_config::persistent_directory::GceRegionalPersistentDisk
177{
178    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
179        let mut debug_struct = f.debug_struct("GceRegionalPersistentDisk");
180        debug_struct.field("size_gb", &self.size_gb);
181        debug_struct.field("fs_type", &self.fs_type);
182        debug_struct.field("disk_type", &self.disk_type);
183        debug_struct.field("source_snapshot", &self.source_snapshot);
184        debug_struct.field("reclaim_policy", &self.reclaim_policy);
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 for super::workstation_config::Container {
193    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
194        let mut debug_struct = f.debug_struct("Container");
195        debug_struct.field("image", &self.image);
196        debug_struct.field("command", &self.command);
197        debug_struct.field("args", &self.args);
198        debug_struct.field("env", &self.env);
199        debug_struct.field("working_dir", &self.working_dir);
200        debug_struct.field("run_as_user", &self.run_as_user);
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::CustomerEncryptionKey {
209    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
210        let mut debug_struct = f.debug_struct("CustomerEncryptionKey");
211        debug_struct.field("kms_key", &self.kms_key);
212        debug_struct.field("kms_key_service_account", &self.kms_key_service_account);
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::ReadinessCheck {
221    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
222        let mut debug_struct = f.debug_struct("ReadinessCheck");
223        debug_struct.field("path", &self.path);
224        debug_struct.field("port", &self.port);
225        if !self._unknown_fields.is_empty() {
226            debug_struct.field("_unknown_fields", &self._unknown_fields);
227        }
228        debug_struct.finish()
229    }
230}
231
232impl std::fmt::Debug for super::Workstation {
233    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
234        let mut debug_struct = f.debug_struct("Workstation");
235        debug_struct.field("name", &self.name);
236        debug_struct.field("display_name", &self.display_name);
237        debug_struct.field("uid", &self.uid);
238        debug_struct.field("reconciling", &self.reconciling);
239        debug_struct.field("annotations", &self.annotations);
240        debug_struct.field("labels", &self.labels);
241        debug_struct.field("create_time", &self.create_time);
242        debug_struct.field("update_time", &self.update_time);
243        debug_struct.field("start_time", &self.start_time);
244        debug_struct.field("delete_time", &self.delete_time);
245        debug_struct.field("etag", &self.etag);
246        debug_struct.field("state", &self.state);
247        debug_struct.field("host", &self.host);
248        if !self._unknown_fields.is_empty() {
249            debug_struct.field("_unknown_fields", &self._unknown_fields);
250        }
251        debug_struct.finish()
252    }
253}
254
255impl std::fmt::Debug for super::GetWorkstationClusterRequest {
256    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
257        let mut debug_struct = f.debug_struct("GetWorkstationClusterRequest");
258        debug_struct.field("name", &self.name);
259        if !self._unknown_fields.is_empty() {
260            debug_struct.field("_unknown_fields", &self._unknown_fields);
261        }
262        debug_struct.finish()
263    }
264}
265
266impl std::fmt::Debug for super::ListWorkstationClustersRequest {
267    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
268        let mut debug_struct = f.debug_struct("ListWorkstationClustersRequest");
269        debug_struct.field("parent", &self.parent);
270        debug_struct.field("page_size", &self.page_size);
271        debug_struct.field("page_token", &self.page_token);
272        if !self._unknown_fields.is_empty() {
273            debug_struct.field("_unknown_fields", &self._unknown_fields);
274        }
275        debug_struct.finish()
276    }
277}
278
279impl std::fmt::Debug for super::ListWorkstationClustersResponse {
280    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
281        let mut debug_struct = f.debug_struct("ListWorkstationClustersResponse");
282        debug_struct.field("workstation_clusters", &self.workstation_clusters);
283        debug_struct.field("next_page_token", &self.next_page_token);
284        debug_struct.field("unreachable", &self.unreachable);
285        if !self._unknown_fields.is_empty() {
286            debug_struct.field("_unknown_fields", &self._unknown_fields);
287        }
288        debug_struct.finish()
289    }
290}
291
292impl std::fmt::Debug for super::CreateWorkstationClusterRequest {
293    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
294        let mut debug_struct = f.debug_struct("CreateWorkstationClusterRequest");
295        debug_struct.field("parent", &self.parent);
296        debug_struct.field("workstation_cluster_id", &self.workstation_cluster_id);
297        debug_struct.field("workstation_cluster", &self.workstation_cluster);
298        debug_struct.field("validate_only", &self.validate_only);
299        if !self._unknown_fields.is_empty() {
300            debug_struct.field("_unknown_fields", &self._unknown_fields);
301        }
302        debug_struct.finish()
303    }
304}
305
306impl std::fmt::Debug for super::UpdateWorkstationClusterRequest {
307    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
308        let mut debug_struct = f.debug_struct("UpdateWorkstationClusterRequest");
309        debug_struct.field("workstation_cluster", &self.workstation_cluster);
310        debug_struct.field("update_mask", &self.update_mask);
311        debug_struct.field("validate_only", &self.validate_only);
312        debug_struct.field("allow_missing", &self.allow_missing);
313        if !self._unknown_fields.is_empty() {
314            debug_struct.field("_unknown_fields", &self._unknown_fields);
315        }
316        debug_struct.finish()
317    }
318}
319
320impl std::fmt::Debug for super::DeleteWorkstationClusterRequest {
321    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
322        let mut debug_struct = f.debug_struct("DeleteWorkstationClusterRequest");
323        debug_struct.field("name", &self.name);
324        debug_struct.field("validate_only", &self.validate_only);
325        debug_struct.field("etag", &self.etag);
326        debug_struct.field("force", &self.force);
327        if !self._unknown_fields.is_empty() {
328            debug_struct.field("_unknown_fields", &self._unknown_fields);
329        }
330        debug_struct.finish()
331    }
332}
333
334impl std::fmt::Debug for super::GetWorkstationConfigRequest {
335    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
336        let mut debug_struct = f.debug_struct("GetWorkstationConfigRequest");
337        debug_struct.field("name", &self.name);
338        if !self._unknown_fields.is_empty() {
339            debug_struct.field("_unknown_fields", &self._unknown_fields);
340        }
341        debug_struct.finish()
342    }
343}
344
345impl std::fmt::Debug for super::ListWorkstationConfigsRequest {
346    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
347        let mut debug_struct = f.debug_struct("ListWorkstationConfigsRequest");
348        debug_struct.field("parent", &self.parent);
349        debug_struct.field("page_size", &self.page_size);
350        debug_struct.field("page_token", &self.page_token);
351        if !self._unknown_fields.is_empty() {
352            debug_struct.field("_unknown_fields", &self._unknown_fields);
353        }
354        debug_struct.finish()
355    }
356}
357
358impl std::fmt::Debug for super::ListWorkstationConfigsResponse {
359    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
360        let mut debug_struct = f.debug_struct("ListWorkstationConfigsResponse");
361        debug_struct.field("workstation_configs", &self.workstation_configs);
362        debug_struct.field("next_page_token", &self.next_page_token);
363        debug_struct.field("unreachable", &self.unreachable);
364        if !self._unknown_fields.is_empty() {
365            debug_struct.field("_unknown_fields", &self._unknown_fields);
366        }
367        debug_struct.finish()
368    }
369}
370
371impl std::fmt::Debug for super::ListUsableWorkstationConfigsRequest {
372    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
373        let mut debug_struct = f.debug_struct("ListUsableWorkstationConfigsRequest");
374        debug_struct.field("parent", &self.parent);
375        debug_struct.field("page_size", &self.page_size);
376        debug_struct.field("page_token", &self.page_token);
377        if !self._unknown_fields.is_empty() {
378            debug_struct.field("_unknown_fields", &self._unknown_fields);
379        }
380        debug_struct.finish()
381    }
382}
383
384impl std::fmt::Debug for super::ListUsableWorkstationConfigsResponse {
385    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
386        let mut debug_struct = f.debug_struct("ListUsableWorkstationConfigsResponse");
387        debug_struct.field("workstation_configs", &self.workstation_configs);
388        debug_struct.field("next_page_token", &self.next_page_token);
389        debug_struct.field("unreachable", &self.unreachable);
390        if !self._unknown_fields.is_empty() {
391            debug_struct.field("_unknown_fields", &self._unknown_fields);
392        }
393        debug_struct.finish()
394    }
395}
396
397impl std::fmt::Debug for super::CreateWorkstationConfigRequest {
398    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
399        let mut debug_struct = f.debug_struct("CreateWorkstationConfigRequest");
400        debug_struct.field("parent", &self.parent);
401        debug_struct.field("workstation_config_id", &self.workstation_config_id);
402        debug_struct.field("workstation_config", &self.workstation_config);
403        debug_struct.field("validate_only", &self.validate_only);
404        if !self._unknown_fields.is_empty() {
405            debug_struct.field("_unknown_fields", &self._unknown_fields);
406        }
407        debug_struct.finish()
408    }
409}
410
411impl std::fmt::Debug for super::UpdateWorkstationConfigRequest {
412    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
413        let mut debug_struct = f.debug_struct("UpdateWorkstationConfigRequest");
414        debug_struct.field("workstation_config", &self.workstation_config);
415        debug_struct.field("update_mask", &self.update_mask);
416        debug_struct.field("validate_only", &self.validate_only);
417        debug_struct.field("allow_missing", &self.allow_missing);
418        if !self._unknown_fields.is_empty() {
419            debug_struct.field("_unknown_fields", &self._unknown_fields);
420        }
421        debug_struct.finish()
422    }
423}
424
425impl std::fmt::Debug for super::DeleteWorkstationConfigRequest {
426    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
427        let mut debug_struct = f.debug_struct("DeleteWorkstationConfigRequest");
428        debug_struct.field("name", &self.name);
429        debug_struct.field("validate_only", &self.validate_only);
430        debug_struct.field("etag", &self.etag);
431        debug_struct.field("force", &self.force);
432        if !self._unknown_fields.is_empty() {
433            debug_struct.field("_unknown_fields", &self._unknown_fields);
434        }
435        debug_struct.finish()
436    }
437}
438
439impl std::fmt::Debug for super::GetWorkstationRequest {
440    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
441        let mut debug_struct = f.debug_struct("GetWorkstationRequest");
442        debug_struct.field("name", &self.name);
443        if !self._unknown_fields.is_empty() {
444            debug_struct.field("_unknown_fields", &self._unknown_fields);
445        }
446        debug_struct.finish()
447    }
448}
449
450impl std::fmt::Debug for super::ListWorkstationsRequest {
451    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
452        let mut debug_struct = f.debug_struct("ListWorkstationsRequest");
453        debug_struct.field("parent", &self.parent);
454        debug_struct.field("page_size", &self.page_size);
455        debug_struct.field("page_token", &self.page_token);
456        if !self._unknown_fields.is_empty() {
457            debug_struct.field("_unknown_fields", &self._unknown_fields);
458        }
459        debug_struct.finish()
460    }
461}
462
463impl std::fmt::Debug for super::ListWorkstationsResponse {
464    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
465        let mut debug_struct = f.debug_struct("ListWorkstationsResponse");
466        debug_struct.field("workstations", &self.workstations);
467        debug_struct.field("next_page_token", &self.next_page_token);
468        debug_struct.field("unreachable", &self.unreachable);
469        if !self._unknown_fields.is_empty() {
470            debug_struct.field("_unknown_fields", &self._unknown_fields);
471        }
472        debug_struct.finish()
473    }
474}
475
476impl std::fmt::Debug for super::ListUsableWorkstationsRequest {
477    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
478        let mut debug_struct = f.debug_struct("ListUsableWorkstationsRequest");
479        debug_struct.field("parent", &self.parent);
480        debug_struct.field("page_size", &self.page_size);
481        debug_struct.field("page_token", &self.page_token);
482        if !self._unknown_fields.is_empty() {
483            debug_struct.field("_unknown_fields", &self._unknown_fields);
484        }
485        debug_struct.finish()
486    }
487}
488
489impl std::fmt::Debug for super::ListUsableWorkstationsResponse {
490    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
491        let mut debug_struct = f.debug_struct("ListUsableWorkstationsResponse");
492        debug_struct.field("workstations", &self.workstations);
493        debug_struct.field("next_page_token", &self.next_page_token);
494        debug_struct.field("unreachable", &self.unreachable);
495        if !self._unknown_fields.is_empty() {
496            debug_struct.field("_unknown_fields", &self._unknown_fields);
497        }
498        debug_struct.finish()
499    }
500}
501
502impl std::fmt::Debug for super::CreateWorkstationRequest {
503    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
504        let mut debug_struct = f.debug_struct("CreateWorkstationRequest");
505        debug_struct.field("parent", &self.parent);
506        debug_struct.field("workstation_id", &self.workstation_id);
507        debug_struct.field("workstation", &self.workstation);
508        debug_struct.field("validate_only", &self.validate_only);
509        if !self._unknown_fields.is_empty() {
510            debug_struct.field("_unknown_fields", &self._unknown_fields);
511        }
512        debug_struct.finish()
513    }
514}
515
516impl std::fmt::Debug for super::UpdateWorkstationRequest {
517    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
518        let mut debug_struct = f.debug_struct("UpdateWorkstationRequest");
519        debug_struct.field("workstation", &self.workstation);
520        debug_struct.field("update_mask", &self.update_mask);
521        debug_struct.field("validate_only", &self.validate_only);
522        debug_struct.field("allow_missing", &self.allow_missing);
523        if !self._unknown_fields.is_empty() {
524            debug_struct.field("_unknown_fields", &self._unknown_fields);
525        }
526        debug_struct.finish()
527    }
528}
529
530impl std::fmt::Debug for super::DeleteWorkstationRequest {
531    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
532        let mut debug_struct = f.debug_struct("DeleteWorkstationRequest");
533        debug_struct.field("name", &self.name);
534        debug_struct.field("validate_only", &self.validate_only);
535        debug_struct.field("etag", &self.etag);
536        if !self._unknown_fields.is_empty() {
537            debug_struct.field("_unknown_fields", &self._unknown_fields);
538        }
539        debug_struct.finish()
540    }
541}
542
543impl std::fmt::Debug for super::StartWorkstationRequest {
544    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
545        let mut debug_struct = f.debug_struct("StartWorkstationRequest");
546        debug_struct.field("name", &self.name);
547        debug_struct.field("validate_only", &self.validate_only);
548        debug_struct.field("etag", &self.etag);
549        if !self._unknown_fields.is_empty() {
550            debug_struct.field("_unknown_fields", &self._unknown_fields);
551        }
552        debug_struct.finish()
553    }
554}
555
556impl std::fmt::Debug for super::StopWorkstationRequest {
557    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
558        let mut debug_struct = f.debug_struct("StopWorkstationRequest");
559        debug_struct.field("name", &self.name);
560        debug_struct.field("validate_only", &self.validate_only);
561        debug_struct.field("etag", &self.etag);
562        if !self._unknown_fields.is_empty() {
563            debug_struct.field("_unknown_fields", &self._unknown_fields);
564        }
565        debug_struct.finish()
566    }
567}
568
569impl std::fmt::Debug for super::GenerateAccessTokenRequest {
570    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
571        let mut debug_struct = f.debug_struct("GenerateAccessTokenRequest");
572        debug_struct.field("workstation", &self.workstation);
573        debug_struct.field("expiration", &self.expiration);
574        if !self._unknown_fields.is_empty() {
575            debug_struct.field("_unknown_fields", &self._unknown_fields);
576        }
577        debug_struct.finish()
578    }
579}
580
581impl std::fmt::Debug for super::GenerateAccessTokenResponse {
582    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
583        let mut debug_struct = f.debug_struct("GenerateAccessTokenResponse");
584        debug_struct.field("access_token", &self.access_token);
585        debug_struct.field("expire_time", &self.expire_time);
586        if !self._unknown_fields.is_empty() {
587            debug_struct.field("_unknown_fields", &self._unknown_fields);
588        }
589        debug_struct.finish()
590    }
591}
592
593impl std::fmt::Debug for super::OperationMetadata {
594    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
595        let mut debug_struct = f.debug_struct("OperationMetadata");
596        debug_struct.field("create_time", &self.create_time);
597        debug_struct.field("end_time", &self.end_time);
598        debug_struct.field("target", &self.target);
599        debug_struct.field("verb", &self.verb);
600        debug_struct.field("status_message", &self.status_message);
601        debug_struct.field("requested_cancellation", &self.requested_cancellation);
602        debug_struct.field("api_version", &self.api_version);
603        if !self._unknown_fields.is_empty() {
604            debug_struct.field("_unknown_fields", &self._unknown_fields);
605        }
606        debug_struct.finish()
607    }
608}