google_cloud_redis_cluster_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::CreateClusterRequest {
21    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22        let mut debug_struct = f.debug_struct("CreateClusterRequest");
23        debug_struct.field("parent", &self.parent);
24        debug_struct.field("cluster_id", &self.cluster_id);
25        debug_struct.field("cluster", &self.cluster);
26        debug_struct.field("request_id", &self.request_id);
27        if !self._unknown_fields.is_empty() {
28            debug_struct.field("_unknown_fields", &self._unknown_fields);
29        }
30        debug_struct.finish()
31    }
32}
33
34impl std::fmt::Debug for super::ListClustersRequest {
35    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
36        let mut debug_struct = f.debug_struct("ListClustersRequest");
37        debug_struct.field("parent", &self.parent);
38        debug_struct.field("page_size", &self.page_size);
39        debug_struct.field("page_token", &self.page_token);
40        if !self._unknown_fields.is_empty() {
41            debug_struct.field("_unknown_fields", &self._unknown_fields);
42        }
43        debug_struct.finish()
44    }
45}
46
47impl std::fmt::Debug for super::ListClustersResponse {
48    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
49        let mut debug_struct = f.debug_struct("ListClustersResponse");
50        debug_struct.field("clusters", &self.clusters);
51        debug_struct.field("next_page_token", &self.next_page_token);
52        debug_struct.field("unreachable", &self.unreachable);
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::UpdateClusterRequest {
61    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
62        let mut debug_struct = f.debug_struct("UpdateClusterRequest");
63        debug_struct.field("update_mask", &self.update_mask);
64        debug_struct.field("cluster", &self.cluster);
65        debug_struct.field("request_id", &self.request_id);
66        if !self._unknown_fields.is_empty() {
67            debug_struct.field("_unknown_fields", &self._unknown_fields);
68        }
69        debug_struct.finish()
70    }
71}
72
73impl std::fmt::Debug for super::GetClusterRequest {
74    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
75        let mut debug_struct = f.debug_struct("GetClusterRequest");
76        debug_struct.field("name", &self.name);
77        if !self._unknown_fields.is_empty() {
78            debug_struct.field("_unknown_fields", &self._unknown_fields);
79        }
80        debug_struct.finish()
81    }
82}
83
84impl std::fmt::Debug for super::DeleteClusterRequest {
85    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
86        let mut debug_struct = f.debug_struct("DeleteClusterRequest");
87        debug_struct.field("name", &self.name);
88        debug_struct.field("request_id", &self.request_id);
89        if !self._unknown_fields.is_empty() {
90            debug_struct.field("_unknown_fields", &self._unknown_fields);
91        }
92        debug_struct.finish()
93    }
94}
95
96impl std::fmt::Debug for super::GetClusterCertificateAuthorityRequest {
97    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
98        let mut debug_struct = f.debug_struct("GetClusterCertificateAuthorityRequest");
99        debug_struct.field("name", &self.name);
100        if !self._unknown_fields.is_empty() {
101            debug_struct.field("_unknown_fields", &self._unknown_fields);
102        }
103        debug_struct.finish()
104    }
105}
106
107impl std::fmt::Debug for super::ListBackupCollectionsRequest {
108    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
109        let mut debug_struct = f.debug_struct("ListBackupCollectionsRequest");
110        debug_struct.field("parent", &self.parent);
111        debug_struct.field("page_size", &self.page_size);
112        debug_struct.field("page_token", &self.page_token);
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::ListBackupCollectionsResponse {
121    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
122        let mut debug_struct = f.debug_struct("ListBackupCollectionsResponse");
123        debug_struct.field("backup_collections", &self.backup_collections);
124        debug_struct.field("next_page_token", &self.next_page_token);
125        debug_struct.field("unreachable", &self.unreachable);
126        if !self._unknown_fields.is_empty() {
127            debug_struct.field("_unknown_fields", &self._unknown_fields);
128        }
129        debug_struct.finish()
130    }
131}
132
133impl std::fmt::Debug for super::GetBackupCollectionRequest {
134    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
135        let mut debug_struct = f.debug_struct("GetBackupCollectionRequest");
136        debug_struct.field("name", &self.name);
137        if !self._unknown_fields.is_empty() {
138            debug_struct.field("_unknown_fields", &self._unknown_fields);
139        }
140        debug_struct.finish()
141    }
142}
143
144impl std::fmt::Debug for super::ListBackupsRequest {
145    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
146        let mut debug_struct = f.debug_struct("ListBackupsRequest");
147        debug_struct.field("parent", &self.parent);
148        debug_struct.field("page_size", &self.page_size);
149        debug_struct.field("page_token", &self.page_token);
150        if !self._unknown_fields.is_empty() {
151            debug_struct.field("_unknown_fields", &self._unknown_fields);
152        }
153        debug_struct.finish()
154    }
155}
156
157impl std::fmt::Debug for super::ListBackupsResponse {
158    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
159        let mut debug_struct = f.debug_struct("ListBackupsResponse");
160        debug_struct.field("backups", &self.backups);
161        debug_struct.field("next_page_token", &self.next_page_token);
162        debug_struct.field("unreachable", &self.unreachable);
163        if !self._unknown_fields.is_empty() {
164            debug_struct.field("_unknown_fields", &self._unknown_fields);
165        }
166        debug_struct.finish()
167    }
168}
169
170impl std::fmt::Debug for super::GetBackupRequest {
171    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
172        let mut debug_struct = f.debug_struct("GetBackupRequest");
173        debug_struct.field("name", &self.name);
174        if !self._unknown_fields.is_empty() {
175            debug_struct.field("_unknown_fields", &self._unknown_fields);
176        }
177        debug_struct.finish()
178    }
179}
180
181impl std::fmt::Debug for super::DeleteBackupRequest {
182    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
183        let mut debug_struct = f.debug_struct("DeleteBackupRequest");
184        debug_struct.field("name", &self.name);
185        debug_struct.field("request_id", &self.request_id);
186        if !self._unknown_fields.is_empty() {
187            debug_struct.field("_unknown_fields", &self._unknown_fields);
188        }
189        debug_struct.finish()
190    }
191}
192
193impl std::fmt::Debug for super::ExportBackupRequest {
194    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
195        let mut debug_struct = f.debug_struct("ExportBackupRequest");
196        debug_struct.field("name", &self.name);
197        debug_struct.field("destination", &self.destination);
198        if !self._unknown_fields.is_empty() {
199            debug_struct.field("_unknown_fields", &self._unknown_fields);
200        }
201        debug_struct.finish()
202    }
203}
204
205impl std::fmt::Debug for super::BackupClusterRequest {
206    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
207        let mut debug_struct = f.debug_struct("BackupClusterRequest");
208        debug_struct.field("name", &self.name);
209        debug_struct.field("ttl", &self.ttl);
210        debug_struct.field("backup_id", &self.backup_id);
211        if !self._unknown_fields.is_empty() {
212            debug_struct.field("_unknown_fields", &self._unknown_fields);
213        }
214        debug_struct.finish()
215    }
216}
217
218impl std::fmt::Debug for super::Cluster {
219    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
220        let mut debug_struct = f.debug_struct("Cluster");
221        debug_struct.field("name", &self.name);
222        debug_struct.field("create_time", &self.create_time);
223        debug_struct.field("state", &self.state);
224        debug_struct.field("uid", &self.uid);
225        debug_struct.field("replica_count", &self.replica_count);
226        debug_struct.field("authorization_mode", &self.authorization_mode);
227        debug_struct.field("transit_encryption_mode", &self.transit_encryption_mode);
228        debug_struct.field("size_gb", &self.size_gb);
229        debug_struct.field("shard_count", &self.shard_count);
230        debug_struct.field("psc_configs", &self.psc_configs);
231        debug_struct.field("discovery_endpoints", &self.discovery_endpoints);
232        debug_struct.field("psc_connections", &self.psc_connections);
233        debug_struct.field("state_info", &self.state_info);
234        debug_struct.field("node_type", &self.node_type);
235        debug_struct.field("persistence_config", &self.persistence_config);
236        debug_struct.field("redis_configs", &self.redis_configs);
237        debug_struct.field("precise_size_gb", &self.precise_size_gb);
238        debug_struct.field("zone_distribution_config", &self.zone_distribution_config);
239        debug_struct.field(
240            "cross_cluster_replication_config",
241            &self.cross_cluster_replication_config,
242        );
243        debug_struct.field(
244            "deletion_protection_enabled",
245            &self.deletion_protection_enabled,
246        );
247        debug_struct.field("maintenance_policy", &self.maintenance_policy);
248        debug_struct.field("maintenance_schedule", &self.maintenance_schedule);
249        debug_struct.field("psc_service_attachments", &self.psc_service_attachments);
250        debug_struct.field("cluster_endpoints", &self.cluster_endpoints);
251        debug_struct.field("backup_collection", &self.backup_collection);
252        debug_struct.field("kms_key", &self.kms_key);
253        debug_struct.field("automated_backup_config", &self.automated_backup_config);
254        debug_struct.field("encryption_info", &self.encryption_info);
255        debug_struct.field("import_sources", &self.import_sources);
256        if !self._unknown_fields.is_empty() {
257            debug_struct.field("_unknown_fields", &self._unknown_fields);
258        }
259        debug_struct.finish()
260    }
261}
262
263impl std::fmt::Debug for super::cluster::StateInfo {
264    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
265        let mut debug_struct = f.debug_struct("StateInfo");
266        debug_struct.field("info", &self.info);
267        if !self._unknown_fields.is_empty() {
268            debug_struct.field("_unknown_fields", &self._unknown_fields);
269        }
270        debug_struct.finish()
271    }
272}
273
274impl std::fmt::Debug for super::cluster::state_info::UpdateInfo {
275    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
276        let mut debug_struct = f.debug_struct("UpdateInfo");
277        debug_struct.field("target_shard_count", &self.target_shard_count);
278        debug_struct.field("target_replica_count", &self.target_replica_count);
279        if !self._unknown_fields.is_empty() {
280            debug_struct.field("_unknown_fields", &self._unknown_fields);
281        }
282        debug_struct.finish()
283    }
284}
285
286impl std::fmt::Debug for super::cluster::GcsBackupSource {
287    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
288        let mut debug_struct = f.debug_struct("GcsBackupSource");
289        debug_struct.field("uris", &self.uris);
290        if !self._unknown_fields.is_empty() {
291            debug_struct.field("_unknown_fields", &self._unknown_fields);
292        }
293        debug_struct.finish()
294    }
295}
296
297impl std::fmt::Debug for super::cluster::ManagedBackupSource {
298    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
299        let mut debug_struct = f.debug_struct("ManagedBackupSource");
300        debug_struct.field("backup", &self.backup);
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::AutomatedBackupConfig {
309    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
310        let mut debug_struct = f.debug_struct("AutomatedBackupConfig");
311        debug_struct.field("automated_backup_mode", &self.automated_backup_mode);
312        debug_struct.field("retention", &self.retention);
313        debug_struct.field("schedule", &self.schedule);
314        if !self._unknown_fields.is_empty() {
315            debug_struct.field("_unknown_fields", &self._unknown_fields);
316        }
317        debug_struct.finish()
318    }
319}
320
321impl std::fmt::Debug for super::automated_backup_config::FixedFrequencySchedule {
322    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
323        let mut debug_struct = f.debug_struct("FixedFrequencySchedule");
324        debug_struct.field("start_time", &self.start_time);
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::BackupCollection {
333    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
334        let mut debug_struct = f.debug_struct("BackupCollection");
335        debug_struct.field("name", &self.name);
336        debug_struct.field("cluster_uid", &self.cluster_uid);
337        debug_struct.field("cluster", &self.cluster);
338        debug_struct.field("kms_key", &self.kms_key);
339        debug_struct.field("uid", &self.uid);
340        if !self._unknown_fields.is_empty() {
341            debug_struct.field("_unknown_fields", &self._unknown_fields);
342        }
343        debug_struct.finish()
344    }
345}
346
347impl std::fmt::Debug for super::Backup {
348    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
349        let mut debug_struct = f.debug_struct("Backup");
350        debug_struct.field("name", &self.name);
351        debug_struct.field("create_time", &self.create_time);
352        debug_struct.field("cluster", &self.cluster);
353        debug_struct.field("cluster_uid", &self.cluster_uid);
354        debug_struct.field("total_size_bytes", &self.total_size_bytes);
355        debug_struct.field("expire_time", &self.expire_time);
356        debug_struct.field("engine_version", &self.engine_version);
357        debug_struct.field("backup_files", &self.backup_files);
358        debug_struct.field("node_type", &self.node_type);
359        debug_struct.field("replica_count", &self.replica_count);
360        debug_struct.field("shard_count", &self.shard_count);
361        debug_struct.field("backup_type", &self.backup_type);
362        debug_struct.field("state", &self.state);
363        debug_struct.field("encryption_info", &self.encryption_info);
364        debug_struct.field("uid", &self.uid);
365        if !self._unknown_fields.is_empty() {
366            debug_struct.field("_unknown_fields", &self._unknown_fields);
367        }
368        debug_struct.finish()
369    }
370}
371
372impl std::fmt::Debug for super::BackupFile {
373    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
374        let mut debug_struct = f.debug_struct("BackupFile");
375        debug_struct.field("file_name", &self.file_name);
376        debug_struct.field("size_bytes", &self.size_bytes);
377        debug_struct.field("create_time", &self.create_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::PscServiceAttachment {
386    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
387        let mut debug_struct = f.debug_struct("PscServiceAttachment");
388        debug_struct.field("service_attachment", &self.service_attachment);
389        debug_struct.field("connection_type", &self.connection_type);
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::CrossClusterReplicationConfig {
398    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
399        let mut debug_struct = f.debug_struct("CrossClusterReplicationConfig");
400        debug_struct.field("cluster_role", &self.cluster_role);
401        debug_struct.field("primary_cluster", &self.primary_cluster);
402        debug_struct.field("secondary_clusters", &self.secondary_clusters);
403        debug_struct.field("update_time", &self.update_time);
404        debug_struct.field("membership", &self.membership);
405        if !self._unknown_fields.is_empty() {
406            debug_struct.field("_unknown_fields", &self._unknown_fields);
407        }
408        debug_struct.finish()
409    }
410}
411
412impl std::fmt::Debug for super::cross_cluster_replication_config::RemoteCluster {
413    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
414        let mut debug_struct = f.debug_struct("RemoteCluster");
415        debug_struct.field("cluster", &self.cluster);
416        debug_struct.field("uid", &self.uid);
417        if !self._unknown_fields.is_empty() {
418            debug_struct.field("_unknown_fields", &self._unknown_fields);
419        }
420        debug_struct.finish()
421    }
422}
423
424impl std::fmt::Debug for super::cross_cluster_replication_config::Membership {
425    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
426        let mut debug_struct = f.debug_struct("Membership");
427        debug_struct.field("primary_cluster", &self.primary_cluster);
428        debug_struct.field("secondary_clusters", &self.secondary_clusters);
429        if !self._unknown_fields.is_empty() {
430            debug_struct.field("_unknown_fields", &self._unknown_fields);
431        }
432        debug_struct.finish()
433    }
434}
435
436impl std::fmt::Debug for super::ClusterMaintenancePolicy {
437    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
438        let mut debug_struct = f.debug_struct("ClusterMaintenancePolicy");
439        debug_struct.field("create_time", &self.create_time);
440        debug_struct.field("update_time", &self.update_time);
441        debug_struct.field("weekly_maintenance_window", &self.weekly_maintenance_window);
442        if !self._unknown_fields.is_empty() {
443            debug_struct.field("_unknown_fields", &self._unknown_fields);
444        }
445        debug_struct.finish()
446    }
447}
448
449impl std::fmt::Debug for super::ClusterWeeklyMaintenanceWindow {
450    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
451        let mut debug_struct = f.debug_struct("ClusterWeeklyMaintenanceWindow");
452        debug_struct.field("day", &self.day);
453        debug_struct.field("start_time", &self.start_time);
454        if !self._unknown_fields.is_empty() {
455            debug_struct.field("_unknown_fields", &self._unknown_fields);
456        }
457        debug_struct.finish()
458    }
459}
460
461impl std::fmt::Debug for super::ClusterMaintenanceSchedule {
462    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
463        let mut debug_struct = f.debug_struct("ClusterMaintenanceSchedule");
464        debug_struct.field("start_time", &self.start_time);
465        debug_struct.field("end_time", &self.end_time);
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::PscConfig {
474    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
475        let mut debug_struct = f.debug_struct("PscConfig");
476        debug_struct.field("network", &self.network);
477        if !self._unknown_fields.is_empty() {
478            debug_struct.field("_unknown_fields", &self._unknown_fields);
479        }
480        debug_struct.finish()
481    }
482}
483
484impl std::fmt::Debug for super::DiscoveryEndpoint {
485    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
486        let mut debug_struct = f.debug_struct("DiscoveryEndpoint");
487        debug_struct.field("address", &self.address);
488        debug_struct.field("port", &self.port);
489        debug_struct.field("psc_config", &self.psc_config);
490        if !self._unknown_fields.is_empty() {
491            debug_struct.field("_unknown_fields", &self._unknown_fields);
492        }
493        debug_struct.finish()
494    }
495}
496
497impl std::fmt::Debug for super::PscConnection {
498    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
499        let mut debug_struct = f.debug_struct("PscConnection");
500        debug_struct.field("psc_connection_id", &self.psc_connection_id);
501        debug_struct.field("address", &self.address);
502        debug_struct.field("forwarding_rule", &self.forwarding_rule);
503        debug_struct.field("project_id", &self.project_id);
504        debug_struct.field("network", &self.network);
505        debug_struct.field("service_attachment", &self.service_attachment);
506        debug_struct.field("psc_connection_status", &self.psc_connection_status);
507        debug_struct.field("connection_type", &self.connection_type);
508        if !self._unknown_fields.is_empty() {
509            debug_struct.field("_unknown_fields", &self._unknown_fields);
510        }
511        debug_struct.finish()
512    }
513}
514
515impl std::fmt::Debug for super::ClusterEndpoint {
516    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
517        let mut debug_struct = f.debug_struct("ClusterEndpoint");
518        debug_struct.field("connections", &self.connections);
519        if !self._unknown_fields.is_empty() {
520            debug_struct.field("_unknown_fields", &self._unknown_fields);
521        }
522        debug_struct.finish()
523    }
524}
525
526impl std::fmt::Debug for super::ConnectionDetail {
527    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
528        let mut debug_struct = f.debug_struct("ConnectionDetail");
529        debug_struct.field("connection", &self.connection);
530        if !self._unknown_fields.is_empty() {
531            debug_struct.field("_unknown_fields", &self._unknown_fields);
532        }
533        debug_struct.finish()
534    }
535}
536
537impl std::fmt::Debug for super::PscAutoConnection {
538    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
539        let mut debug_struct = f.debug_struct("PscAutoConnection");
540        debug_struct.field("psc_connection_id", &self.psc_connection_id);
541        debug_struct.field("address", &self.address);
542        debug_struct.field("forwarding_rule", &self.forwarding_rule);
543        debug_struct.field("project_id", &self.project_id);
544        debug_struct.field("network", &self.network);
545        debug_struct.field("service_attachment", &self.service_attachment);
546        debug_struct.field("psc_connection_status", &self.psc_connection_status);
547        debug_struct.field("connection_type", &self.connection_type);
548        if !self._unknown_fields.is_empty() {
549            debug_struct.field("_unknown_fields", &self._unknown_fields);
550        }
551        debug_struct.finish()
552    }
553}
554
555impl std::fmt::Debug for super::OperationMetadata {
556    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
557        let mut debug_struct = f.debug_struct("OperationMetadata");
558        debug_struct.field("create_time", &self.create_time);
559        debug_struct.field("end_time", &self.end_time);
560        debug_struct.field("target", &self.target);
561        debug_struct.field("verb", &self.verb);
562        debug_struct.field("status_message", &self.status_message);
563        debug_struct.field("requested_cancellation", &self.requested_cancellation);
564        debug_struct.field("api_version", &self.api_version);
565        if !self._unknown_fields.is_empty() {
566            debug_struct.field("_unknown_fields", &self._unknown_fields);
567        }
568        debug_struct.finish()
569    }
570}
571
572impl std::fmt::Debug for super::CertificateAuthority {
573    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
574        let mut debug_struct = f.debug_struct("CertificateAuthority");
575        debug_struct.field("name", &self.name);
576        debug_struct.field("server_ca", &self.server_ca);
577        if !self._unknown_fields.is_empty() {
578            debug_struct.field("_unknown_fields", &self._unknown_fields);
579        }
580        debug_struct.finish()
581    }
582}
583
584impl std::fmt::Debug for super::certificate_authority::ManagedCertificateAuthority {
585    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
586        let mut debug_struct = f.debug_struct("ManagedCertificateAuthority");
587        debug_struct.field("ca_certs", &self.ca_certs);
588        if !self._unknown_fields.is_empty() {
589            debug_struct.field("_unknown_fields", &self._unknown_fields);
590        }
591        debug_struct.finish()
592    }
593}
594
595impl std::fmt::Debug for super::certificate_authority::managed_certificate_authority::CertChain {
596    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
597        let mut debug_struct = f.debug_struct("CertChain");
598        debug_struct.field("certificates", &self.certificates);
599        if !self._unknown_fields.is_empty() {
600            debug_struct.field("_unknown_fields", &self._unknown_fields);
601        }
602        debug_struct.finish()
603    }
604}
605
606impl std::fmt::Debug for super::ClusterPersistenceConfig {
607    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
608        let mut debug_struct = f.debug_struct("ClusterPersistenceConfig");
609        debug_struct.field("mode", &self.mode);
610        debug_struct.field("rdb_config", &self.rdb_config);
611        debug_struct.field("aof_config", &self.aof_config);
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::cluster_persistence_config::RDBConfig {
620    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
621        let mut debug_struct = f.debug_struct("RDBConfig");
622        debug_struct.field("rdb_snapshot_period", &self.rdb_snapshot_period);
623        debug_struct.field("rdb_snapshot_start_time", &self.rdb_snapshot_start_time);
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::cluster_persistence_config::AOFConfig {
632    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
633        let mut debug_struct = f.debug_struct("AOFConfig");
634        debug_struct.field("append_fsync", &self.append_fsync);
635        if !self._unknown_fields.is_empty() {
636            debug_struct.field("_unknown_fields", &self._unknown_fields);
637        }
638        debug_struct.finish()
639    }
640}
641
642impl std::fmt::Debug for super::ZoneDistributionConfig {
643    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
644        let mut debug_struct = f.debug_struct("ZoneDistributionConfig");
645        debug_struct.field("mode", &self.mode);
646        debug_struct.field("zone", &self.zone);
647        if !self._unknown_fields.is_empty() {
648            debug_struct.field("_unknown_fields", &self._unknown_fields);
649        }
650        debug_struct.finish()
651    }
652}
653
654impl std::fmt::Debug for super::RescheduleClusterMaintenanceRequest {
655    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
656        let mut debug_struct = f.debug_struct("RescheduleClusterMaintenanceRequest");
657        debug_struct.field("name", &self.name);
658        debug_struct.field("reschedule_type", &self.reschedule_type);
659        debug_struct.field("schedule_time", &self.schedule_time);
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::EncryptionInfo {
668    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
669        let mut debug_struct = f.debug_struct("EncryptionInfo");
670        debug_struct.field("encryption_type", &self.encryption_type);
671        debug_struct.field("kms_key_versions", &self.kms_key_versions);
672        debug_struct.field("kms_key_primary_state", &self.kms_key_primary_state);
673        debug_struct.field("last_update_time", &self.last_update_time);
674        if !self._unknown_fields.is_empty() {
675            debug_struct.field("_unknown_fields", &self._unknown_fields);
676        }
677        debug_struct.finish()
678    }
679}