Skip to main content

google_cloud_memorystore_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::Instance {
21    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22        let mut debug_struct = f.debug_struct("Instance");
23        debug_struct.field("name", &self.name);
24        debug_struct.field("create_time", &self.create_time);
25        debug_struct.field("update_time", &self.update_time);
26        debug_struct.field("labels", &self.labels);
27        debug_struct.field("state", &self.state);
28        debug_struct.field("state_info", &self.state_info);
29        debug_struct.field("uid", &self.uid);
30        debug_struct.field("replica_count", &self.replica_count);
31        debug_struct.field("authorization_mode", &self.authorization_mode);
32        debug_struct.field("transit_encryption_mode", &self.transit_encryption_mode);
33        debug_struct.field("shard_count", &self.shard_count);
34        debug_struct.field("discovery_endpoints", &self.discovery_endpoints);
35        debug_struct.field("node_type", &self.node_type);
36        debug_struct.field("persistence_config", &self.persistence_config);
37        debug_struct.field("engine_version", &self.engine_version);
38        debug_struct.field("engine_configs", &self.engine_configs);
39        debug_struct.field("node_config", &self.node_config);
40        debug_struct.field("zone_distribution_config", &self.zone_distribution_config);
41        debug_struct.field(
42            "deletion_protection_enabled",
43            &self.deletion_protection_enabled,
44        );
45        debug_struct.field("psc_auto_connections", &self.psc_auto_connections);
46        debug_struct.field("psc_attachment_details", &self.psc_attachment_details);
47        debug_struct.field("endpoints", &self.endpoints);
48        debug_struct.field("mode", &self.mode);
49        debug_struct.field(
50            "simulate_maintenance_event",
51            &self.simulate_maintenance_event,
52        );
53        debug_struct.field("ondemand_maintenance", &self.ondemand_maintenance);
54        debug_struct.field("satisfies_pzs", &self.satisfies_pzs);
55        debug_struct.field("satisfies_pzi", &self.satisfies_pzi);
56        debug_struct.field("maintenance_policy", &self.maintenance_policy);
57        debug_struct.field("maintenance_schedule", &self.maintenance_schedule);
58        debug_struct.field(
59            "cross_instance_replication_config",
60            &self.cross_instance_replication_config,
61        );
62        debug_struct.field(
63            "async_instance_endpoints_deletion_enabled",
64            &self.async_instance_endpoints_deletion_enabled,
65        );
66        debug_struct.field("kms_key", &self.kms_key);
67        debug_struct.field("encryption_info", &self.encryption_info);
68        debug_struct.field("backup_collection", &self.backup_collection);
69        debug_struct.field("automated_backup_config", &self.automated_backup_config);
70        debug_struct.field("maintenance_version", &self.maintenance_version);
71        debug_struct.field(
72            "effective_maintenance_version",
73            &self.effective_maintenance_version,
74        );
75        debug_struct.field(
76            "available_maintenance_versions",
77            &self.available_maintenance_versions,
78        );
79        debug_struct.field(
80            "allow_fewer_zones_deployment",
81            &self.allow_fewer_zones_deployment,
82        );
83        debug_struct.field("server_ca_mode", &self.server_ca_mode);
84        debug_struct.field("server_ca_pool", &self.server_ca_pool);
85        debug_struct.field("rotate_server_certificate", &self.rotate_server_certificate);
86        debug_struct.field("migration_config", &self.migration_config);
87        debug_struct.field("import_sources", &self.import_sources);
88        if !self._unknown_fields.is_empty() {
89            debug_struct.field("_unknown_fields", &self._unknown_fields);
90        }
91        debug_struct.finish()
92    }
93}
94
95impl std::fmt::Debug for super::instance::StateInfo {
96    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
97        let mut debug_struct = f.debug_struct("StateInfo");
98        debug_struct.field("info", &self.info);
99        if !self._unknown_fields.is_empty() {
100            debug_struct.field("_unknown_fields", &self._unknown_fields);
101        }
102        debug_struct.finish()
103    }
104}
105
106impl std::fmt::Debug for super::instance::state_info::UpdateInfo {
107    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
108        let mut debug_struct = f.debug_struct("UpdateInfo");
109        debug_struct.field("target_shard_count", &self.target_shard_count);
110        debug_struct.field("target_replica_count", &self.target_replica_count);
111        debug_struct.field("target_engine_version", &self.target_engine_version);
112        debug_struct.field("target_node_type", &self.target_node_type);
113        if !self._unknown_fields.is_empty() {
114            debug_struct.field("_unknown_fields", &self._unknown_fields);
115        }
116        debug_struct.finish()
117    }
118}
119
120impl std::fmt::Debug for super::instance::GcsBackupSource {
121    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
122        let mut debug_struct = f.debug_struct("GcsBackupSource");
123        debug_struct.field("uris", &self.uris);
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::instance::ManagedBackupSource {
132    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
133        let mut debug_struct = f.debug_struct("ManagedBackupSource");
134        debug_struct.field("backup", &self.backup);
135        if !self._unknown_fields.is_empty() {
136            debug_struct.field("_unknown_fields", &self._unknown_fields);
137        }
138        debug_struct.finish()
139    }
140}
141
142impl std::fmt::Debug for super::instance::InstanceEndpoint {
143    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
144        let mut debug_struct = f.debug_struct("InstanceEndpoint");
145        debug_struct.field("connections", &self.connections);
146        if !self._unknown_fields.is_empty() {
147            debug_struct.field("_unknown_fields", &self._unknown_fields);
148        }
149        debug_struct.finish()
150    }
151}
152
153impl std::fmt::Debug for super::instance::ConnectionDetail {
154    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
155        let mut debug_struct = f.debug_struct("ConnectionDetail");
156        debug_struct.field("connection", &self.connection);
157        if !self._unknown_fields.is_empty() {
158            debug_struct.field("_unknown_fields", &self._unknown_fields);
159        }
160        debug_struct.finish()
161    }
162}
163
164impl std::fmt::Debug for super::StartMigrationRequest {
165    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
166        let mut debug_struct = f.debug_struct("StartMigrationRequest");
167        debug_struct.field("name", &self.name);
168        debug_struct.field("source", &self.source);
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::FinishMigrationRequest {
177    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
178        let mut debug_struct = f.debug_struct("FinishMigrationRequest");
179        debug_struct.field("name", &self.name);
180        debug_struct.field("force", &self.force);
181        if !self._unknown_fields.is_empty() {
182            debug_struct.field("_unknown_fields", &self._unknown_fields);
183        }
184        debug_struct.finish()
185    }
186}
187
188impl std::fmt::Debug for super::SelfManagedSource {
189    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
190        let mut debug_struct = f.debug_struct("SelfManagedSource");
191        debug_struct.field("ip_address", &self.ip_address);
192        debug_struct.field("port", &self.port);
193        debug_struct.field("network_attachment", &self.network_attachment);
194        if !self._unknown_fields.is_empty() {
195            debug_struct.field("_unknown_fields", &self._unknown_fields);
196        }
197        debug_struct.finish()
198    }
199}
200
201impl std::fmt::Debug for super::MigrationConfig {
202    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
203        let mut debug_struct = f.debug_struct("MigrationConfig");
204        debug_struct.field("state", &self.state);
205        debug_struct.field("force_finish_migration", &self.force_finish_migration);
206        debug_struct.field("source", &self.source);
207        if !self._unknown_fields.is_empty() {
208            debug_struct.field("_unknown_fields", &self._unknown_fields);
209        }
210        debug_struct.finish()
211    }
212}
213
214impl std::fmt::Debug for super::AutomatedBackupConfig {
215    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
216        let mut debug_struct = f.debug_struct("AutomatedBackupConfig");
217        debug_struct.field("automated_backup_mode", &self.automated_backup_mode);
218        debug_struct.field("retention", &self.retention);
219        debug_struct.field("schedule", &self.schedule);
220        if !self._unknown_fields.is_empty() {
221            debug_struct.field("_unknown_fields", &self._unknown_fields);
222        }
223        debug_struct.finish()
224    }
225}
226
227impl std::fmt::Debug for super::automated_backup_config::FixedFrequencySchedule {
228    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
229        let mut debug_struct = f.debug_struct("FixedFrequencySchedule");
230        debug_struct.field("start_time", &self.start_time);
231        if !self._unknown_fields.is_empty() {
232            debug_struct.field("_unknown_fields", &self._unknown_fields);
233        }
234        debug_struct.finish()
235    }
236}
237
238impl std::fmt::Debug for super::BackupCollection {
239    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
240        let mut debug_struct = f.debug_struct("BackupCollection");
241        debug_struct.field("name", &self.name);
242        debug_struct.field("instance_uid", &self.instance_uid);
243        debug_struct.field("instance", &self.instance);
244        debug_struct.field("kms_key", &self.kms_key);
245        debug_struct.field("uid", &self.uid);
246        debug_struct.field("create_time", &self.create_time);
247        debug_struct.field("total_backup_size_bytes", &self.total_backup_size_bytes);
248        debug_struct.field("total_backup_count", &self.total_backup_count);
249        debug_struct.field("last_backup_time", &self.last_backup_time);
250        if !self._unknown_fields.is_empty() {
251            debug_struct.field("_unknown_fields", &self._unknown_fields);
252        }
253        debug_struct.finish()
254    }
255}
256
257impl std::fmt::Debug for super::Backup {
258    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
259        let mut debug_struct = f.debug_struct("Backup");
260        debug_struct.field("name", &self.name);
261        debug_struct.field("create_time", &self.create_time);
262        debug_struct.field("instance", &self.instance);
263        debug_struct.field("instance_uid", &self.instance_uid);
264        debug_struct.field("total_size_bytes", &self.total_size_bytes);
265        debug_struct.field("expire_time", &self.expire_time);
266        debug_struct.field("engine_version", &self.engine_version);
267        debug_struct.field("backup_files", &self.backup_files);
268        debug_struct.field("node_type", &self.node_type);
269        debug_struct.field("replica_count", &self.replica_count);
270        debug_struct.field("shard_count", &self.shard_count);
271        debug_struct.field("backup_type", &self.backup_type);
272        debug_struct.field("state", &self.state);
273        debug_struct.field("encryption_info", &self.encryption_info);
274        debug_struct.field("uid", &self.uid);
275        if !self._unknown_fields.is_empty() {
276            debug_struct.field("_unknown_fields", &self._unknown_fields);
277        }
278        debug_struct.finish()
279    }
280}
281
282impl std::fmt::Debug for super::BackupFile {
283    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
284        let mut debug_struct = f.debug_struct("BackupFile");
285        debug_struct.field("file_name", &self.file_name);
286        debug_struct.field("size_bytes", &self.size_bytes);
287        debug_struct.field("create_time", &self.create_time);
288        if !self._unknown_fields.is_empty() {
289            debug_struct.field("_unknown_fields", &self._unknown_fields);
290        }
291        debug_struct.finish()
292    }
293}
294
295impl std::fmt::Debug for super::CrossInstanceReplicationConfig {
296    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
297        let mut debug_struct = f.debug_struct("CrossInstanceReplicationConfig");
298        debug_struct.field("instance_role", &self.instance_role);
299        debug_struct.field("primary_instance", &self.primary_instance);
300        debug_struct.field("secondary_instances", &self.secondary_instances);
301        debug_struct.field("update_time", &self.update_time);
302        debug_struct.field("membership", &self.membership);
303        if !self._unknown_fields.is_empty() {
304            debug_struct.field("_unknown_fields", &self._unknown_fields);
305        }
306        debug_struct.finish()
307    }
308}
309
310impl std::fmt::Debug for super::cross_instance_replication_config::RemoteInstance {
311    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
312        let mut debug_struct = f.debug_struct("RemoteInstance");
313        debug_struct.field("instance", &self.instance);
314        debug_struct.field("uid", &self.uid);
315        if !self._unknown_fields.is_empty() {
316            debug_struct.field("_unknown_fields", &self._unknown_fields);
317        }
318        debug_struct.finish()
319    }
320}
321
322impl std::fmt::Debug for super::cross_instance_replication_config::Membership {
323    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
324        let mut debug_struct = f.debug_struct("Membership");
325        debug_struct.field("primary_instance", &self.primary_instance);
326        debug_struct.field("secondary_instances", &self.secondary_instances);
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::TokenAuthUser {
335    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
336        let mut debug_struct = f.debug_struct("TokenAuthUser");
337        debug_struct.field("name", &self.name);
338        debug_struct.field("state", &self.state);
339        if !self._unknown_fields.is_empty() {
340            debug_struct.field("_unknown_fields", &self._unknown_fields);
341        }
342        debug_struct.finish()
343    }
344}
345
346impl std::fmt::Debug for super::AuthToken {
347    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
348        let mut debug_struct = f.debug_struct("AuthToken");
349        debug_struct.field("name", &self.name);
350        debug_struct.field("token", &self.token);
351        debug_struct.field("create_time", &self.create_time);
352        debug_struct.field("state", &self.state);
353        if !self._unknown_fields.is_empty() {
354            debug_struct.field("_unknown_fields", &self._unknown_fields);
355        }
356        debug_struct.finish()
357    }
358}
359
360impl std::fmt::Debug for super::MaintenancePolicy {
361    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
362        let mut debug_struct = f.debug_struct("MaintenancePolicy");
363        debug_struct.field("create_time", &self.create_time);
364        debug_struct.field("update_time", &self.update_time);
365        debug_struct.field("weekly_maintenance_window", &self.weekly_maintenance_window);
366        if !self._unknown_fields.is_empty() {
367            debug_struct.field("_unknown_fields", &self._unknown_fields);
368        }
369        debug_struct.finish()
370    }
371}
372
373impl std::fmt::Debug for super::WeeklyMaintenanceWindow {
374    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
375        let mut debug_struct = f.debug_struct("WeeklyMaintenanceWindow");
376        debug_struct.field("day", &self.day);
377        debug_struct.field("start_time", &self.start_time);
378        if !self._unknown_fields.is_empty() {
379            debug_struct.field("_unknown_fields", &self._unknown_fields);
380        }
381        debug_struct.finish()
382    }
383}
384
385impl std::fmt::Debug for super::MaintenanceSchedule {
386    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
387        let mut debug_struct = f.debug_struct("MaintenanceSchedule");
388        debug_struct.field("start_time", &self.start_time);
389        debug_struct.field("end_time", &self.end_time);
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::PscAttachmentDetail {
398    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
399        let mut debug_struct = f.debug_struct("PscAttachmentDetail");
400        debug_struct.field("service_attachment", &self.service_attachment);
401        debug_struct.field("connection_type", &self.connection_type);
402        if !self._unknown_fields.is_empty() {
403            debug_struct.field("_unknown_fields", &self._unknown_fields);
404        }
405        debug_struct.finish()
406    }
407}
408
409impl std::fmt::Debug for super::PscAutoConnection {
410    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
411        let mut debug_struct = f.debug_struct("PscAutoConnection");
412        debug_struct.field("psc_connection_id", &self.psc_connection_id);
413        debug_struct.field("ip_address", &self.ip_address);
414        debug_struct.field("forwarding_rule", &self.forwarding_rule);
415        debug_struct.field("project_id", &self.project_id);
416        debug_struct.field("network", &self.network);
417        debug_struct.field("service_attachment", &self.service_attachment);
418        debug_struct.field("psc_connection_status", &self.psc_connection_status);
419        debug_struct.field("connection_type", &self.connection_type);
420        debug_struct.field("ports", &self.ports);
421        if !self._unknown_fields.is_empty() {
422            debug_struct.field("_unknown_fields", &self._unknown_fields);
423        }
424        debug_struct.finish()
425    }
426}
427
428impl std::fmt::Debug for super::PscConnection {
429    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
430        let mut debug_struct = f.debug_struct("PscConnection");
431        debug_struct.field("psc_connection_id", &self.psc_connection_id);
432        debug_struct.field("ip_address", &self.ip_address);
433        debug_struct.field("forwarding_rule", &self.forwarding_rule);
434        debug_struct.field("project_id", &self.project_id);
435        debug_struct.field("network", &self.network);
436        debug_struct.field("service_attachment", &self.service_attachment);
437        debug_struct.field("psc_connection_status", &self.psc_connection_status);
438        debug_struct.field("connection_type", &self.connection_type);
439        debug_struct.field("ports", &self.ports);
440        if !self._unknown_fields.is_empty() {
441            debug_struct.field("_unknown_fields", &self._unknown_fields);
442        }
443        debug_struct.finish()
444    }
445}
446
447impl std::fmt::Debug for super::DiscoveryEndpoint {
448    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
449        let mut debug_struct = f.debug_struct("DiscoveryEndpoint");
450        debug_struct.field("address", &self.address);
451        debug_struct.field("port", &self.port);
452        debug_struct.field("network", &self.network);
453        if !self._unknown_fields.is_empty() {
454            debug_struct.field("_unknown_fields", &self._unknown_fields);
455        }
456        debug_struct.finish()
457    }
458}
459
460impl std::fmt::Debug for super::PersistenceConfig {
461    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
462        let mut debug_struct = f.debug_struct("PersistenceConfig");
463        debug_struct.field("mode", &self.mode);
464        debug_struct.field("rdb_config", &self.rdb_config);
465        debug_struct.field("aof_config", &self.aof_config);
466        if !self._unknown_fields.is_empty() {
467            debug_struct.field("_unknown_fields", &self._unknown_fields);
468        }
469        debug_struct.finish()
470    }
471}
472
473impl std::fmt::Debug for super::persistence_config::RDBConfig {
474    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
475        let mut debug_struct = f.debug_struct("RDBConfig");
476        debug_struct.field("rdb_snapshot_period", &self.rdb_snapshot_period);
477        debug_struct.field("rdb_snapshot_start_time", &self.rdb_snapshot_start_time);
478        if !self._unknown_fields.is_empty() {
479            debug_struct.field("_unknown_fields", &self._unknown_fields);
480        }
481        debug_struct.finish()
482    }
483}
484
485impl std::fmt::Debug for super::persistence_config::AOFConfig {
486    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
487        let mut debug_struct = f.debug_struct("AOFConfig");
488        debug_struct.field("append_fsync", &self.append_fsync);
489        if !self._unknown_fields.is_empty() {
490            debug_struct.field("_unknown_fields", &self._unknown_fields);
491        }
492        debug_struct.finish()
493    }
494}
495
496impl std::fmt::Debug for super::NodeConfig {
497    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
498        let mut debug_struct = f.debug_struct("NodeConfig");
499        debug_struct.field("size_gb", &self.size_gb);
500        if !self._unknown_fields.is_empty() {
501            debug_struct.field("_unknown_fields", &self._unknown_fields);
502        }
503        debug_struct.finish()
504    }
505}
506
507impl std::fmt::Debug for super::ZoneDistributionConfig {
508    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
509        let mut debug_struct = f.debug_struct("ZoneDistributionConfig");
510        debug_struct.field("zone", &self.zone);
511        debug_struct.field("mode", &self.mode);
512        if !self._unknown_fields.is_empty() {
513            debug_struct.field("_unknown_fields", &self._unknown_fields);
514        }
515        debug_struct.finish()
516    }
517}
518
519impl std::fmt::Debug for super::RescheduleMaintenanceRequest {
520    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
521        let mut debug_struct = f.debug_struct("RescheduleMaintenanceRequest");
522        debug_struct.field("name", &self.name);
523        debug_struct.field("reschedule_type", &self.reschedule_type);
524        debug_struct.field("schedule_time", &self.schedule_time);
525        if !self._unknown_fields.is_empty() {
526            debug_struct.field("_unknown_fields", &self._unknown_fields);
527        }
528        debug_struct.finish()
529    }
530}
531
532impl std::fmt::Debug for super::ListInstancesRequest {
533    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
534        let mut debug_struct = f.debug_struct("ListInstancesRequest");
535        debug_struct.field("parent", &self.parent);
536        debug_struct.field("page_size", &self.page_size);
537        debug_struct.field("page_token", &self.page_token);
538        debug_struct.field("filter", &self.filter);
539        debug_struct.field("order_by", &self.order_by);
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::ListInstancesResponse {
548    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
549        let mut debug_struct = f.debug_struct("ListInstancesResponse");
550        debug_struct.field("instances", &self.instances);
551        debug_struct.field("next_page_token", &self.next_page_token);
552        debug_struct.field("unreachable", &self.unreachable);
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::GetInstanceRequest {
561    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
562        let mut debug_struct = f.debug_struct("GetInstanceRequest");
563        debug_struct.field("name", &self.name);
564        if !self._unknown_fields.is_empty() {
565            debug_struct.field("_unknown_fields", &self._unknown_fields);
566        }
567        debug_struct.finish()
568    }
569}
570
571impl std::fmt::Debug for super::CreateInstanceRequest {
572    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
573        let mut debug_struct = f.debug_struct("CreateInstanceRequest");
574        debug_struct.field("parent", &self.parent);
575        debug_struct.field("instance_id", &self.instance_id);
576        debug_struct.field("instance", &self.instance);
577        debug_struct.field("request_id", &self.request_id);
578        if !self._unknown_fields.is_empty() {
579            debug_struct.field("_unknown_fields", &self._unknown_fields);
580        }
581        debug_struct.finish()
582    }
583}
584
585impl std::fmt::Debug for super::UpdateInstanceRequest {
586    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
587        let mut debug_struct = f.debug_struct("UpdateInstanceRequest");
588        debug_struct.field("update_mask", &self.update_mask);
589        debug_struct.field("instance", &self.instance);
590        debug_struct.field("request_id", &self.request_id);
591        if !self._unknown_fields.is_empty() {
592            debug_struct.field("_unknown_fields", &self._unknown_fields);
593        }
594        debug_struct.finish()
595    }
596}
597
598impl std::fmt::Debug for super::DeleteInstanceRequest {
599    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
600        let mut debug_struct = f.debug_struct("DeleteInstanceRequest");
601        debug_struct.field("name", &self.name);
602        debug_struct.field("request_id", &self.request_id);
603        if !self._unknown_fields.is_empty() {
604            debug_struct.field("_unknown_fields", &self._unknown_fields);
605        }
606        debug_struct.finish()
607    }
608}
609
610impl std::fmt::Debug for super::ListBackupCollectionsRequest {
611    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
612        let mut debug_struct = f.debug_struct("ListBackupCollectionsRequest");
613        debug_struct.field("parent", &self.parent);
614        debug_struct.field("page_size", &self.page_size);
615        debug_struct.field("page_token", &self.page_token);
616        if !self._unknown_fields.is_empty() {
617            debug_struct.field("_unknown_fields", &self._unknown_fields);
618        }
619        debug_struct.finish()
620    }
621}
622
623impl std::fmt::Debug for super::ListBackupCollectionsResponse {
624    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
625        let mut debug_struct = f.debug_struct("ListBackupCollectionsResponse");
626        debug_struct.field("backup_collections", &self.backup_collections);
627        debug_struct.field("next_page_token", &self.next_page_token);
628        debug_struct.field("unreachable", &self.unreachable);
629        if !self._unknown_fields.is_empty() {
630            debug_struct.field("_unknown_fields", &self._unknown_fields);
631        }
632        debug_struct.finish()
633    }
634}
635
636impl std::fmt::Debug for super::GetBackupCollectionRequest {
637    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
638        let mut debug_struct = f.debug_struct("GetBackupCollectionRequest");
639        debug_struct.field("name", &self.name);
640        if !self._unknown_fields.is_empty() {
641            debug_struct.field("_unknown_fields", &self._unknown_fields);
642        }
643        debug_struct.finish()
644    }
645}
646
647impl std::fmt::Debug for super::ListBackupsRequest {
648    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
649        let mut debug_struct = f.debug_struct("ListBackupsRequest");
650        debug_struct.field("parent", &self.parent);
651        debug_struct.field("page_size", &self.page_size);
652        debug_struct.field("page_token", &self.page_token);
653        if !self._unknown_fields.is_empty() {
654            debug_struct.field("_unknown_fields", &self._unknown_fields);
655        }
656        debug_struct.finish()
657    }
658}
659
660impl std::fmt::Debug for super::ListBackupsResponse {
661    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
662        let mut debug_struct = f.debug_struct("ListBackupsResponse");
663        debug_struct.field("backups", &self.backups);
664        debug_struct.field("next_page_token", &self.next_page_token);
665        debug_struct.field("unreachable", &self.unreachable);
666        if !self._unknown_fields.is_empty() {
667            debug_struct.field("_unknown_fields", &self._unknown_fields);
668        }
669        debug_struct.finish()
670    }
671}
672
673impl std::fmt::Debug for super::GetBackupRequest {
674    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
675        let mut debug_struct = f.debug_struct("GetBackupRequest");
676        debug_struct.field("name", &self.name);
677        if !self._unknown_fields.is_empty() {
678            debug_struct.field("_unknown_fields", &self._unknown_fields);
679        }
680        debug_struct.finish()
681    }
682}
683
684impl std::fmt::Debug for super::DeleteBackupRequest {
685    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
686        let mut debug_struct = f.debug_struct("DeleteBackupRequest");
687        debug_struct.field("name", &self.name);
688        debug_struct.field("request_id", &self.request_id);
689        if !self._unknown_fields.is_empty() {
690            debug_struct.field("_unknown_fields", &self._unknown_fields);
691        }
692        debug_struct.finish()
693    }
694}
695
696impl std::fmt::Debug for super::ExportBackupRequest {
697    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
698        let mut debug_struct = f.debug_struct("ExportBackupRequest");
699        debug_struct.field("name", &self.name);
700        debug_struct.field("destination", &self.destination);
701        if !self._unknown_fields.is_empty() {
702            debug_struct.field("_unknown_fields", &self._unknown_fields);
703        }
704        debug_struct.finish()
705    }
706}
707
708impl std::fmt::Debug for super::BackupInstanceRequest {
709    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
710        let mut debug_struct = f.debug_struct("BackupInstanceRequest");
711        debug_struct.field("name", &self.name);
712        debug_struct.field("ttl", &self.ttl);
713        debug_struct.field("backup_id", &self.backup_id);
714        if !self._unknown_fields.is_empty() {
715            debug_struct.field("_unknown_fields", &self._unknown_fields);
716        }
717        debug_struct.finish()
718    }
719}
720
721impl std::fmt::Debug for super::GetCertificateAuthorityRequest {
722    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
723        let mut debug_struct = f.debug_struct("GetCertificateAuthorityRequest");
724        debug_struct.field("name", &self.name);
725        if !self._unknown_fields.is_empty() {
726            debug_struct.field("_unknown_fields", &self._unknown_fields);
727        }
728        debug_struct.finish()
729    }
730}
731
732impl std::fmt::Debug for super::ListTokenAuthUsersRequest {
733    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
734        let mut debug_struct = f.debug_struct("ListTokenAuthUsersRequest");
735        debug_struct.field("parent", &self.parent);
736        debug_struct.field("page_size", &self.page_size);
737        debug_struct.field("page_token", &self.page_token);
738        debug_struct.field("filter", &self.filter);
739        debug_struct.field("order_by", &self.order_by);
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::ListTokenAuthUsersResponse {
748    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
749        let mut debug_struct = f.debug_struct("ListTokenAuthUsersResponse");
750        debug_struct.field("token_auth_users", &self.token_auth_users);
751        debug_struct.field("next_page_token", &self.next_page_token);
752        debug_struct.field("unreachable", &self.unreachable);
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::GetTokenAuthUserRequest {
761    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
762        let mut debug_struct = f.debug_struct("GetTokenAuthUserRequest");
763        debug_struct.field("name", &self.name);
764        if !self._unknown_fields.is_empty() {
765            debug_struct.field("_unknown_fields", &self._unknown_fields);
766        }
767        debug_struct.finish()
768    }
769}
770
771impl std::fmt::Debug for super::ListAuthTokensRequest {
772    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
773        let mut debug_struct = f.debug_struct("ListAuthTokensRequest");
774        debug_struct.field("parent", &self.parent);
775        debug_struct.field("page_size", &self.page_size);
776        debug_struct.field("page_token", &self.page_token);
777        debug_struct.field("filter", &self.filter);
778        debug_struct.field("order_by", &self.order_by);
779        if !self._unknown_fields.is_empty() {
780            debug_struct.field("_unknown_fields", &self._unknown_fields);
781        }
782        debug_struct.finish()
783    }
784}
785
786impl std::fmt::Debug for super::ListAuthTokensResponse {
787    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
788        let mut debug_struct = f.debug_struct("ListAuthTokensResponse");
789        debug_struct.field("auth_tokens", &self.auth_tokens);
790        debug_struct.field("next_page_token", &self.next_page_token);
791        debug_struct.field("unreachable", &self.unreachable);
792        if !self._unknown_fields.is_empty() {
793            debug_struct.field("_unknown_fields", &self._unknown_fields);
794        }
795        debug_struct.finish()
796    }
797}
798
799impl std::fmt::Debug for super::GetAuthTokenRequest {
800    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
801        let mut debug_struct = f.debug_struct("GetAuthTokenRequest");
802        debug_struct.field("name", &self.name);
803        if !self._unknown_fields.is_empty() {
804            debug_struct.field("_unknown_fields", &self._unknown_fields);
805        }
806        debug_struct.finish()
807    }
808}
809
810impl std::fmt::Debug for super::AddTokenAuthUserRequest {
811    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
812        let mut debug_struct = f.debug_struct("AddTokenAuthUserRequest");
813        debug_struct.field("instance", &self.instance);
814        debug_struct.field("token_auth_user", &self.token_auth_user);
815        if !self._unknown_fields.is_empty() {
816            debug_struct.field("_unknown_fields", &self._unknown_fields);
817        }
818        debug_struct.finish()
819    }
820}
821
822impl std::fmt::Debug for super::DeleteTokenAuthUserRequest {
823    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
824        let mut debug_struct = f.debug_struct("DeleteTokenAuthUserRequest");
825        debug_struct.field("name", &self.name);
826        debug_struct.field("request_id", &self.request_id);
827        debug_struct.field("force", &self.force);
828        if !self._unknown_fields.is_empty() {
829            debug_struct.field("_unknown_fields", &self._unknown_fields);
830        }
831        debug_struct.finish()
832    }
833}
834
835impl std::fmt::Debug for super::AddAuthTokenRequest {
836    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
837        let mut debug_struct = f.debug_struct("AddAuthTokenRequest");
838        debug_struct.field("token_auth_user", &self.token_auth_user);
839        debug_struct.field("auth_token", &self.auth_token);
840        if !self._unknown_fields.is_empty() {
841            debug_struct.field("_unknown_fields", &self._unknown_fields);
842        }
843        debug_struct.finish()
844    }
845}
846
847impl std::fmt::Debug for super::DeleteAuthTokenRequest {
848    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
849        let mut debug_struct = f.debug_struct("DeleteAuthTokenRequest");
850        debug_struct.field("name", &self.name);
851        if !self._unknown_fields.is_empty() {
852            debug_struct.field("_unknown_fields", &self._unknown_fields);
853        }
854        debug_struct.finish()
855    }
856}
857
858impl std::fmt::Debug for super::CertificateAuthority {
859    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
860        let mut debug_struct = f.debug_struct("CertificateAuthority");
861        debug_struct.field("name", &self.name);
862        debug_struct.field("server_ca", &self.server_ca);
863        if !self._unknown_fields.is_empty() {
864            debug_struct.field("_unknown_fields", &self._unknown_fields);
865        }
866        debug_struct.finish()
867    }
868}
869
870impl std::fmt::Debug for super::certificate_authority::ManagedCertificateAuthority {
871    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
872        let mut debug_struct = f.debug_struct("ManagedCertificateAuthority");
873        debug_struct.field("ca_certs", &self.ca_certs);
874        if !self._unknown_fields.is_empty() {
875            debug_struct.field("_unknown_fields", &self._unknown_fields);
876        }
877        debug_struct.finish()
878    }
879}
880
881impl std::fmt::Debug for super::certificate_authority::managed_certificate_authority::CertChain {
882    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
883        let mut debug_struct = f.debug_struct("CertChain");
884        debug_struct.field("certificates", &self.certificates);
885        if !self._unknown_fields.is_empty() {
886            debug_struct.field("_unknown_fields", &self._unknown_fields);
887        }
888        debug_struct.finish()
889    }
890}
891
892impl std::fmt::Debug for super::SharedRegionalCertificateAuthority {
893    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
894        let mut debug_struct = f.debug_struct("SharedRegionalCertificateAuthority");
895        debug_struct.field("name", &self.name);
896        debug_struct.field("server_ca", &self.server_ca);
897        if !self._unknown_fields.is_empty() {
898            debug_struct.field("_unknown_fields", &self._unknown_fields);
899        }
900        debug_struct.finish()
901    }
902}
903
904impl std::fmt::Debug
905    for super::shared_regional_certificate_authority::RegionalManagedCertificateAuthority
906{
907    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
908        let mut debug_struct = f.debug_struct("RegionalManagedCertificateAuthority");
909        debug_struct.field("ca_certs", &self.ca_certs);
910        if !self._unknown_fields.is_empty() {
911            debug_struct.field("_unknown_fields", &self._unknown_fields);
912        }
913        debug_struct.finish()
914    }
915}
916
917impl std::fmt::Debug for super::shared_regional_certificate_authority::regional_managed_certificate_authority::RegionalCertChain {
918    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
919        let mut debug_struct = f.debug_struct("RegionalCertChain");
920        debug_struct.field("certificates", &self.certificates);
921        if !self._unknown_fields.is_empty() {
922            debug_struct.field("_unknown_fields", &self._unknown_fields);
923        }
924        debug_struct.finish()
925    }
926}
927
928impl std::fmt::Debug for super::GetSharedRegionalCertificateAuthorityRequest {
929    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
930        let mut debug_struct = f.debug_struct("GetSharedRegionalCertificateAuthorityRequest");
931        debug_struct.field("name", &self.name);
932        if !self._unknown_fields.is_empty() {
933            debug_struct.field("_unknown_fields", &self._unknown_fields);
934        }
935        debug_struct.finish()
936    }
937}
938
939impl std::fmt::Debug for super::OperationMetadata {
940    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
941        let mut debug_struct = f.debug_struct("OperationMetadata");
942        debug_struct.field("create_time", &self.create_time);
943        debug_struct.field("end_time", &self.end_time);
944        debug_struct.field("target", &self.target);
945        debug_struct.field("verb", &self.verb);
946        debug_struct.field("status_message", &self.status_message);
947        debug_struct.field("requested_cancellation", &self.requested_cancellation);
948        debug_struct.field("api_version", &self.api_version);
949        if !self._unknown_fields.is_empty() {
950            debug_struct.field("_unknown_fields", &self._unknown_fields);
951        }
952        debug_struct.finish()
953    }
954}
955
956impl std::fmt::Debug for super::EncryptionInfo {
957    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
958        let mut debug_struct = f.debug_struct("EncryptionInfo");
959        debug_struct.field("encryption_type", &self.encryption_type);
960        debug_struct.field("kms_key_versions", &self.kms_key_versions);
961        debug_struct.field("kms_key_primary_state", &self.kms_key_primary_state);
962        debug_struct.field("last_update_time", &self.last_update_time);
963        if !self._unknown_fields.is_empty() {
964            debug_struct.field("_unknown_fields", &self._unknown_fields);
965        }
966        debug_struct.finish()
967    }
968}