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("import_sources", &self.import_sources);
87        if !self._unknown_fields.is_empty() {
88            debug_struct.field("_unknown_fields", &self._unknown_fields);
89        }
90        debug_struct.finish()
91    }
92}
93
94impl std::fmt::Debug for super::instance::StateInfo {
95    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
96        let mut debug_struct = f.debug_struct("StateInfo");
97        debug_struct.field("info", &self.info);
98        if !self._unknown_fields.is_empty() {
99            debug_struct.field("_unknown_fields", &self._unknown_fields);
100        }
101        debug_struct.finish()
102    }
103}
104
105impl std::fmt::Debug for super::instance::state_info::UpdateInfo {
106    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
107        let mut debug_struct = f.debug_struct("UpdateInfo");
108        debug_struct.field("target_shard_count", &self.target_shard_count);
109        debug_struct.field("target_replica_count", &self.target_replica_count);
110        debug_struct.field("target_engine_version", &self.target_engine_version);
111        debug_struct.field("target_node_type", &self.target_node_type);
112        if !self._unknown_fields.is_empty() {
113            debug_struct.field("_unknown_fields", &self._unknown_fields);
114        }
115        debug_struct.finish()
116    }
117}
118
119impl std::fmt::Debug for super::instance::GcsBackupSource {
120    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
121        let mut debug_struct = f.debug_struct("GcsBackupSource");
122        debug_struct.field("uris", &self.uris);
123        if !self._unknown_fields.is_empty() {
124            debug_struct.field("_unknown_fields", &self._unknown_fields);
125        }
126        debug_struct.finish()
127    }
128}
129
130impl std::fmt::Debug for super::instance::ManagedBackupSource {
131    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
132        let mut debug_struct = f.debug_struct("ManagedBackupSource");
133        debug_struct.field("backup", &self.backup);
134        if !self._unknown_fields.is_empty() {
135            debug_struct.field("_unknown_fields", &self._unknown_fields);
136        }
137        debug_struct.finish()
138    }
139}
140
141impl std::fmt::Debug for super::instance::InstanceEndpoint {
142    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
143        let mut debug_struct = f.debug_struct("InstanceEndpoint");
144        debug_struct.field("connections", &self.connections);
145        if !self._unknown_fields.is_empty() {
146            debug_struct.field("_unknown_fields", &self._unknown_fields);
147        }
148        debug_struct.finish()
149    }
150}
151
152impl std::fmt::Debug for super::instance::ConnectionDetail {
153    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
154        let mut debug_struct = f.debug_struct("ConnectionDetail");
155        debug_struct.field("connection", &self.connection);
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::AutomatedBackupConfig {
164    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
165        let mut debug_struct = f.debug_struct("AutomatedBackupConfig");
166        debug_struct.field("automated_backup_mode", &self.automated_backup_mode);
167        debug_struct.field("retention", &self.retention);
168        debug_struct.field("schedule", &self.schedule);
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::automated_backup_config::FixedFrequencySchedule {
177    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
178        let mut debug_struct = f.debug_struct("FixedFrequencySchedule");
179        debug_struct.field("start_time", &self.start_time);
180        if !self._unknown_fields.is_empty() {
181            debug_struct.field("_unknown_fields", &self._unknown_fields);
182        }
183        debug_struct.finish()
184    }
185}
186
187impl std::fmt::Debug for super::BackupCollection {
188    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
189        let mut debug_struct = f.debug_struct("BackupCollection");
190        debug_struct.field("name", &self.name);
191        debug_struct.field("instance_uid", &self.instance_uid);
192        debug_struct.field("instance", &self.instance);
193        debug_struct.field("kms_key", &self.kms_key);
194        debug_struct.field("uid", &self.uid);
195        debug_struct.field("create_time", &self.create_time);
196        debug_struct.field("total_backup_size_bytes", &self.total_backup_size_bytes);
197        debug_struct.field("total_backup_count", &self.total_backup_count);
198        debug_struct.field("last_backup_time", &self.last_backup_time);
199        if !self._unknown_fields.is_empty() {
200            debug_struct.field("_unknown_fields", &self._unknown_fields);
201        }
202        debug_struct.finish()
203    }
204}
205
206impl std::fmt::Debug for super::Backup {
207    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
208        let mut debug_struct = f.debug_struct("Backup");
209        debug_struct.field("name", &self.name);
210        debug_struct.field("create_time", &self.create_time);
211        debug_struct.field("instance", &self.instance);
212        debug_struct.field("instance_uid", &self.instance_uid);
213        debug_struct.field("total_size_bytes", &self.total_size_bytes);
214        debug_struct.field("expire_time", &self.expire_time);
215        debug_struct.field("engine_version", &self.engine_version);
216        debug_struct.field("backup_files", &self.backup_files);
217        debug_struct.field("node_type", &self.node_type);
218        debug_struct.field("replica_count", &self.replica_count);
219        debug_struct.field("shard_count", &self.shard_count);
220        debug_struct.field("backup_type", &self.backup_type);
221        debug_struct.field("state", &self.state);
222        debug_struct.field("encryption_info", &self.encryption_info);
223        debug_struct.field("uid", &self.uid);
224        if !self._unknown_fields.is_empty() {
225            debug_struct.field("_unknown_fields", &self._unknown_fields);
226        }
227        debug_struct.finish()
228    }
229}
230
231impl std::fmt::Debug for super::BackupFile {
232    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
233        let mut debug_struct = f.debug_struct("BackupFile");
234        debug_struct.field("file_name", &self.file_name);
235        debug_struct.field("size_bytes", &self.size_bytes);
236        debug_struct.field("create_time", &self.create_time);
237        if !self._unknown_fields.is_empty() {
238            debug_struct.field("_unknown_fields", &self._unknown_fields);
239        }
240        debug_struct.finish()
241    }
242}
243
244impl std::fmt::Debug for super::CrossInstanceReplicationConfig {
245    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
246        let mut debug_struct = f.debug_struct("CrossInstanceReplicationConfig");
247        debug_struct.field("instance_role", &self.instance_role);
248        debug_struct.field("primary_instance", &self.primary_instance);
249        debug_struct.field("secondary_instances", &self.secondary_instances);
250        debug_struct.field("update_time", &self.update_time);
251        debug_struct.field("membership", &self.membership);
252        if !self._unknown_fields.is_empty() {
253            debug_struct.field("_unknown_fields", &self._unknown_fields);
254        }
255        debug_struct.finish()
256    }
257}
258
259impl std::fmt::Debug for super::cross_instance_replication_config::RemoteInstance {
260    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
261        let mut debug_struct = f.debug_struct("RemoteInstance");
262        debug_struct.field("instance", &self.instance);
263        debug_struct.field("uid", &self.uid);
264        if !self._unknown_fields.is_empty() {
265            debug_struct.field("_unknown_fields", &self._unknown_fields);
266        }
267        debug_struct.finish()
268    }
269}
270
271impl std::fmt::Debug for super::cross_instance_replication_config::Membership {
272    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
273        let mut debug_struct = f.debug_struct("Membership");
274        debug_struct.field("primary_instance", &self.primary_instance);
275        debug_struct.field("secondary_instances", &self.secondary_instances);
276        if !self._unknown_fields.is_empty() {
277            debug_struct.field("_unknown_fields", &self._unknown_fields);
278        }
279        debug_struct.finish()
280    }
281}
282
283impl std::fmt::Debug for super::MaintenancePolicy {
284    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
285        let mut debug_struct = f.debug_struct("MaintenancePolicy");
286        debug_struct.field("create_time", &self.create_time);
287        debug_struct.field("update_time", &self.update_time);
288        debug_struct.field("weekly_maintenance_window", &self.weekly_maintenance_window);
289        if !self._unknown_fields.is_empty() {
290            debug_struct.field("_unknown_fields", &self._unknown_fields);
291        }
292        debug_struct.finish()
293    }
294}
295
296impl std::fmt::Debug for super::WeeklyMaintenanceWindow {
297    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
298        let mut debug_struct = f.debug_struct("WeeklyMaintenanceWindow");
299        debug_struct.field("day", &self.day);
300        debug_struct.field("start_time", &self.start_time);
301        if !self._unknown_fields.is_empty() {
302            debug_struct.field("_unknown_fields", &self._unknown_fields);
303        }
304        debug_struct.finish()
305    }
306}
307
308impl std::fmt::Debug for super::MaintenanceSchedule {
309    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
310        let mut debug_struct = f.debug_struct("MaintenanceSchedule");
311        debug_struct.field("start_time", &self.start_time);
312        debug_struct.field("end_time", &self.end_time);
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::PscAttachmentDetail {
321    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
322        let mut debug_struct = f.debug_struct("PscAttachmentDetail");
323        debug_struct.field("service_attachment", &self.service_attachment);
324        debug_struct.field("connection_type", &self.connection_type);
325        if !self._unknown_fields.is_empty() {
326            debug_struct.field("_unknown_fields", &self._unknown_fields);
327        }
328        debug_struct.finish()
329    }
330}
331
332impl std::fmt::Debug for super::PscAutoConnection {
333    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
334        let mut debug_struct = f.debug_struct("PscAutoConnection");
335        debug_struct.field("psc_connection_id", &self.psc_connection_id);
336        debug_struct.field("ip_address", &self.ip_address);
337        debug_struct.field("forwarding_rule", &self.forwarding_rule);
338        debug_struct.field("project_id", &self.project_id);
339        debug_struct.field("network", &self.network);
340        debug_struct.field("service_attachment", &self.service_attachment);
341        debug_struct.field("psc_connection_status", &self.psc_connection_status);
342        debug_struct.field("connection_type", &self.connection_type);
343        debug_struct.field("ports", &self.ports);
344        if !self._unknown_fields.is_empty() {
345            debug_struct.field("_unknown_fields", &self._unknown_fields);
346        }
347        debug_struct.finish()
348    }
349}
350
351impl std::fmt::Debug for super::PscConnection {
352    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
353        let mut debug_struct = f.debug_struct("PscConnection");
354        debug_struct.field("psc_connection_id", &self.psc_connection_id);
355        debug_struct.field("ip_address", &self.ip_address);
356        debug_struct.field("forwarding_rule", &self.forwarding_rule);
357        debug_struct.field("project_id", &self.project_id);
358        debug_struct.field("network", &self.network);
359        debug_struct.field("service_attachment", &self.service_attachment);
360        debug_struct.field("psc_connection_status", &self.psc_connection_status);
361        debug_struct.field("connection_type", &self.connection_type);
362        debug_struct.field("ports", &self.ports);
363        if !self._unknown_fields.is_empty() {
364            debug_struct.field("_unknown_fields", &self._unknown_fields);
365        }
366        debug_struct.finish()
367    }
368}
369
370impl std::fmt::Debug for super::DiscoveryEndpoint {
371    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
372        let mut debug_struct = f.debug_struct("DiscoveryEndpoint");
373        debug_struct.field("address", &self.address);
374        debug_struct.field("port", &self.port);
375        debug_struct.field("network", &self.network);
376        if !self._unknown_fields.is_empty() {
377            debug_struct.field("_unknown_fields", &self._unknown_fields);
378        }
379        debug_struct.finish()
380    }
381}
382
383impl std::fmt::Debug for super::PersistenceConfig {
384    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
385        let mut debug_struct = f.debug_struct("PersistenceConfig");
386        debug_struct.field("mode", &self.mode);
387        debug_struct.field("rdb_config", &self.rdb_config);
388        debug_struct.field("aof_config", &self.aof_config);
389        if !self._unknown_fields.is_empty() {
390            debug_struct.field("_unknown_fields", &self._unknown_fields);
391        }
392        debug_struct.finish()
393    }
394}
395
396impl std::fmt::Debug for super::persistence_config::RDBConfig {
397    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
398        let mut debug_struct = f.debug_struct("RDBConfig");
399        debug_struct.field("rdb_snapshot_period", &self.rdb_snapshot_period);
400        debug_struct.field("rdb_snapshot_start_time", &self.rdb_snapshot_start_time);
401        if !self._unknown_fields.is_empty() {
402            debug_struct.field("_unknown_fields", &self._unknown_fields);
403        }
404        debug_struct.finish()
405    }
406}
407
408impl std::fmt::Debug for super::persistence_config::AOFConfig {
409    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
410        let mut debug_struct = f.debug_struct("AOFConfig");
411        debug_struct.field("append_fsync", &self.append_fsync);
412        if !self._unknown_fields.is_empty() {
413            debug_struct.field("_unknown_fields", &self._unknown_fields);
414        }
415        debug_struct.finish()
416    }
417}
418
419impl std::fmt::Debug for super::NodeConfig {
420    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
421        let mut debug_struct = f.debug_struct("NodeConfig");
422        debug_struct.field("size_gb", &self.size_gb);
423        if !self._unknown_fields.is_empty() {
424            debug_struct.field("_unknown_fields", &self._unknown_fields);
425        }
426        debug_struct.finish()
427    }
428}
429
430impl std::fmt::Debug for super::ZoneDistributionConfig {
431    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
432        let mut debug_struct = f.debug_struct("ZoneDistributionConfig");
433        debug_struct.field("zone", &self.zone);
434        debug_struct.field("mode", &self.mode);
435        if !self._unknown_fields.is_empty() {
436            debug_struct.field("_unknown_fields", &self._unknown_fields);
437        }
438        debug_struct.finish()
439    }
440}
441
442impl std::fmt::Debug for super::RescheduleMaintenanceRequest {
443    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
444        let mut debug_struct = f.debug_struct("RescheduleMaintenanceRequest");
445        debug_struct.field("name", &self.name);
446        debug_struct.field("reschedule_type", &self.reschedule_type);
447        debug_struct.field("schedule_time", &self.schedule_time);
448        if !self._unknown_fields.is_empty() {
449            debug_struct.field("_unknown_fields", &self._unknown_fields);
450        }
451        debug_struct.finish()
452    }
453}
454
455impl std::fmt::Debug for super::ListInstancesRequest {
456    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
457        let mut debug_struct = f.debug_struct("ListInstancesRequest");
458        debug_struct.field("parent", &self.parent);
459        debug_struct.field("page_size", &self.page_size);
460        debug_struct.field("page_token", &self.page_token);
461        debug_struct.field("filter", &self.filter);
462        debug_struct.field("order_by", &self.order_by);
463        if !self._unknown_fields.is_empty() {
464            debug_struct.field("_unknown_fields", &self._unknown_fields);
465        }
466        debug_struct.finish()
467    }
468}
469
470impl std::fmt::Debug for super::ListInstancesResponse {
471    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
472        let mut debug_struct = f.debug_struct("ListInstancesResponse");
473        debug_struct.field("instances", &self.instances);
474        debug_struct.field("next_page_token", &self.next_page_token);
475        debug_struct.field("unreachable", &self.unreachable);
476        if !self._unknown_fields.is_empty() {
477            debug_struct.field("_unknown_fields", &self._unknown_fields);
478        }
479        debug_struct.finish()
480    }
481}
482
483impl std::fmt::Debug for super::GetInstanceRequest {
484    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
485        let mut debug_struct = f.debug_struct("GetInstanceRequest");
486        debug_struct.field("name", &self.name);
487        if !self._unknown_fields.is_empty() {
488            debug_struct.field("_unknown_fields", &self._unknown_fields);
489        }
490        debug_struct.finish()
491    }
492}
493
494impl std::fmt::Debug for super::CreateInstanceRequest {
495    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
496        let mut debug_struct = f.debug_struct("CreateInstanceRequest");
497        debug_struct.field("parent", &self.parent);
498        debug_struct.field("instance_id", &self.instance_id);
499        debug_struct.field("instance", &self.instance);
500        debug_struct.field("request_id", &self.request_id);
501        if !self._unknown_fields.is_empty() {
502            debug_struct.field("_unknown_fields", &self._unknown_fields);
503        }
504        debug_struct.finish()
505    }
506}
507
508impl std::fmt::Debug for super::UpdateInstanceRequest {
509    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
510        let mut debug_struct = f.debug_struct("UpdateInstanceRequest");
511        debug_struct.field("update_mask", &self.update_mask);
512        debug_struct.field("instance", &self.instance);
513        debug_struct.field("request_id", &self.request_id);
514        if !self._unknown_fields.is_empty() {
515            debug_struct.field("_unknown_fields", &self._unknown_fields);
516        }
517        debug_struct.finish()
518    }
519}
520
521impl std::fmt::Debug for super::DeleteInstanceRequest {
522    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
523        let mut debug_struct = f.debug_struct("DeleteInstanceRequest");
524        debug_struct.field("name", &self.name);
525        debug_struct.field("request_id", &self.request_id);
526        if !self._unknown_fields.is_empty() {
527            debug_struct.field("_unknown_fields", &self._unknown_fields);
528        }
529        debug_struct.finish()
530    }
531}
532
533impl std::fmt::Debug for super::ListBackupCollectionsRequest {
534    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
535        let mut debug_struct = f.debug_struct("ListBackupCollectionsRequest");
536        debug_struct.field("parent", &self.parent);
537        debug_struct.field("page_size", &self.page_size);
538        debug_struct.field("page_token", &self.page_token);
539        if !self._unknown_fields.is_empty() {
540            debug_struct.field("_unknown_fields", &self._unknown_fields);
541        }
542        debug_struct.finish()
543    }
544}
545
546impl std::fmt::Debug for super::ListBackupCollectionsResponse {
547    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
548        let mut debug_struct = f.debug_struct("ListBackupCollectionsResponse");
549        debug_struct.field("backup_collections", &self.backup_collections);
550        debug_struct.field("next_page_token", &self.next_page_token);
551        debug_struct.field("unreachable", &self.unreachable);
552        if !self._unknown_fields.is_empty() {
553            debug_struct.field("_unknown_fields", &self._unknown_fields);
554        }
555        debug_struct.finish()
556    }
557}
558
559impl std::fmt::Debug for super::GetBackupCollectionRequest {
560    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
561        let mut debug_struct = f.debug_struct("GetBackupCollectionRequest");
562        debug_struct.field("name", &self.name);
563        if !self._unknown_fields.is_empty() {
564            debug_struct.field("_unknown_fields", &self._unknown_fields);
565        }
566        debug_struct.finish()
567    }
568}
569
570impl std::fmt::Debug for super::ListBackupsRequest {
571    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
572        let mut debug_struct = f.debug_struct("ListBackupsRequest");
573        debug_struct.field("parent", &self.parent);
574        debug_struct.field("page_size", &self.page_size);
575        debug_struct.field("page_token", &self.page_token);
576        if !self._unknown_fields.is_empty() {
577            debug_struct.field("_unknown_fields", &self._unknown_fields);
578        }
579        debug_struct.finish()
580    }
581}
582
583impl std::fmt::Debug for super::ListBackupsResponse {
584    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
585        let mut debug_struct = f.debug_struct("ListBackupsResponse");
586        debug_struct.field("backups", &self.backups);
587        debug_struct.field("next_page_token", &self.next_page_token);
588        debug_struct.field("unreachable", &self.unreachable);
589        if !self._unknown_fields.is_empty() {
590            debug_struct.field("_unknown_fields", &self._unknown_fields);
591        }
592        debug_struct.finish()
593    }
594}
595
596impl std::fmt::Debug for super::GetBackupRequest {
597    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
598        let mut debug_struct = f.debug_struct("GetBackupRequest");
599        debug_struct.field("name", &self.name);
600        if !self._unknown_fields.is_empty() {
601            debug_struct.field("_unknown_fields", &self._unknown_fields);
602        }
603        debug_struct.finish()
604    }
605}
606
607impl std::fmt::Debug for super::DeleteBackupRequest {
608    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
609        let mut debug_struct = f.debug_struct("DeleteBackupRequest");
610        debug_struct.field("name", &self.name);
611        debug_struct.field("request_id", &self.request_id);
612        if !self._unknown_fields.is_empty() {
613            debug_struct.field("_unknown_fields", &self._unknown_fields);
614        }
615        debug_struct.finish()
616    }
617}
618
619impl std::fmt::Debug for super::ExportBackupRequest {
620    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
621        let mut debug_struct = f.debug_struct("ExportBackupRequest");
622        debug_struct.field("name", &self.name);
623        debug_struct.field("destination", &self.destination);
624        if !self._unknown_fields.is_empty() {
625            debug_struct.field("_unknown_fields", &self._unknown_fields);
626        }
627        debug_struct.finish()
628    }
629}
630
631impl std::fmt::Debug for super::BackupInstanceRequest {
632    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
633        let mut debug_struct = f.debug_struct("BackupInstanceRequest");
634        debug_struct.field("name", &self.name);
635        debug_struct.field("ttl", &self.ttl);
636        debug_struct.field("backup_id", &self.backup_id);
637        if !self._unknown_fields.is_empty() {
638            debug_struct.field("_unknown_fields", &self._unknown_fields);
639        }
640        debug_struct.finish()
641    }
642}
643
644impl std::fmt::Debug for super::GetCertificateAuthorityRequest {
645    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
646        let mut debug_struct = f.debug_struct("GetCertificateAuthorityRequest");
647        debug_struct.field("name", &self.name);
648        if !self._unknown_fields.is_empty() {
649            debug_struct.field("_unknown_fields", &self._unknown_fields);
650        }
651        debug_struct.finish()
652    }
653}
654
655impl std::fmt::Debug for super::CertificateAuthority {
656    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
657        let mut debug_struct = f.debug_struct("CertificateAuthority");
658        debug_struct.field("name", &self.name);
659        debug_struct.field("server_ca", &self.server_ca);
660        if !self._unknown_fields.is_empty() {
661            debug_struct.field("_unknown_fields", &self._unknown_fields);
662        }
663        debug_struct.finish()
664    }
665}
666
667impl std::fmt::Debug for super::certificate_authority::ManagedCertificateAuthority {
668    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
669        let mut debug_struct = f.debug_struct("ManagedCertificateAuthority");
670        debug_struct.field("ca_certs", &self.ca_certs);
671        if !self._unknown_fields.is_empty() {
672            debug_struct.field("_unknown_fields", &self._unknown_fields);
673        }
674        debug_struct.finish()
675    }
676}
677
678impl std::fmt::Debug for super::certificate_authority::managed_certificate_authority::CertChain {
679    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
680        let mut debug_struct = f.debug_struct("CertChain");
681        debug_struct.field("certificates", &self.certificates);
682        if !self._unknown_fields.is_empty() {
683            debug_struct.field("_unknown_fields", &self._unknown_fields);
684        }
685        debug_struct.finish()
686    }
687}
688
689impl std::fmt::Debug for super::SharedRegionalCertificateAuthority {
690    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
691        let mut debug_struct = f.debug_struct("SharedRegionalCertificateAuthority");
692        debug_struct.field("name", &self.name);
693        debug_struct.field("server_ca", &self.server_ca);
694        if !self._unknown_fields.is_empty() {
695            debug_struct.field("_unknown_fields", &self._unknown_fields);
696        }
697        debug_struct.finish()
698    }
699}
700
701impl std::fmt::Debug
702    for super::shared_regional_certificate_authority::RegionalManagedCertificateAuthority
703{
704    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
705        let mut debug_struct = f.debug_struct("RegionalManagedCertificateAuthority");
706        debug_struct.field("ca_certs", &self.ca_certs);
707        if !self._unknown_fields.is_empty() {
708            debug_struct.field("_unknown_fields", &self._unknown_fields);
709        }
710        debug_struct.finish()
711    }
712}
713
714impl std::fmt::Debug for super::shared_regional_certificate_authority::regional_managed_certificate_authority::RegionalCertChain {
715    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
716        let mut debug_struct = f.debug_struct("RegionalCertChain");
717        debug_struct.field("certificates", &self.certificates);
718        if !self._unknown_fields.is_empty() {
719            debug_struct.field("_unknown_fields", &self._unknown_fields);
720        }
721        debug_struct.finish()
722    }
723}
724
725impl std::fmt::Debug for super::GetSharedRegionalCertificateAuthorityRequest {
726    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
727        let mut debug_struct = f.debug_struct("GetSharedRegionalCertificateAuthorityRequest");
728        debug_struct.field("name", &self.name);
729        if !self._unknown_fields.is_empty() {
730            debug_struct.field("_unknown_fields", &self._unknown_fields);
731        }
732        debug_struct.finish()
733    }
734}
735
736impl std::fmt::Debug for super::OperationMetadata {
737    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
738        let mut debug_struct = f.debug_struct("OperationMetadata");
739        debug_struct.field("create_time", &self.create_time);
740        debug_struct.field("end_time", &self.end_time);
741        debug_struct.field("target", &self.target);
742        debug_struct.field("verb", &self.verb);
743        debug_struct.field("status_message", &self.status_message);
744        debug_struct.field("requested_cancellation", &self.requested_cancellation);
745        debug_struct.field("api_version", &self.api_version);
746        if !self._unknown_fields.is_empty() {
747            debug_struct.field("_unknown_fields", &self._unknown_fields);
748        }
749        debug_struct.finish()
750    }
751}
752
753impl std::fmt::Debug for super::EncryptionInfo {
754    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
755        let mut debug_struct = f.debug_struct("EncryptionInfo");
756        debug_struct.field("encryption_type", &self.encryption_type);
757        debug_struct.field("kms_key_versions", &self.kms_key_versions);
758        debug_struct.field("kms_key_primary_state", &self.kms_key_primary_state);
759        debug_struct.field("last_update_time", &self.last_update_time);
760        if !self._unknown_fields.is_empty() {
761            debug_struct.field("_unknown_fields", &self._unknown_fields);
762        }
763        debug_struct.finish()
764    }
765}