Skip to main content

google_cloud_privilegedaccessmanager_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::CheckOnboardingStatusRequest {
21    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22        let mut debug_struct = f.debug_struct("CheckOnboardingStatusRequest");
23        debug_struct.field("parent", &self.parent);
24        if !self._unknown_fields.is_empty() {
25            debug_struct.field("_unknown_fields", &self._unknown_fields);
26        }
27        debug_struct.finish()
28    }
29}
30
31impl std::fmt::Debug for super::CheckOnboardingStatusResponse {
32    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
33        let mut debug_struct = f.debug_struct("CheckOnboardingStatusResponse");
34        debug_struct.field("service_account", &self.service_account);
35        debug_struct.field("findings", &self.findings);
36        if !self._unknown_fields.is_empty() {
37            debug_struct.field("_unknown_fields", &self._unknown_fields);
38        }
39        debug_struct.finish()
40    }
41}
42
43impl std::fmt::Debug for super::check_onboarding_status_response::Finding {
44    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
45        let mut debug_struct = f.debug_struct("Finding");
46        debug_struct.field("finding_type", &self.finding_type);
47        if !self._unknown_fields.is_empty() {
48            debug_struct.field("_unknown_fields", &self._unknown_fields);
49        }
50        debug_struct.finish()
51    }
52}
53
54impl std::fmt::Debug for super::check_onboarding_status_response::finding::IAMAccessDenied {
55    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
56        let mut debug_struct = f.debug_struct("IAMAccessDenied");
57        debug_struct.field("missing_permissions", &self.missing_permissions);
58        if !self._unknown_fields.is_empty() {
59            debug_struct.field("_unknown_fields", &self._unknown_fields);
60        }
61        debug_struct.finish()
62    }
63}
64
65impl std::fmt::Debug for super::Entitlement {
66    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
67        let mut debug_struct = f.debug_struct("Entitlement");
68        debug_struct.field("name", &self.name);
69        debug_struct.field("create_time", &self.create_time);
70        debug_struct.field("update_time", &self.update_time);
71        debug_struct.field("eligible_users", &self.eligible_users);
72        debug_struct.field("approval_workflow", &self.approval_workflow);
73        debug_struct.field("privileged_access", &self.privileged_access);
74        debug_struct.field("max_request_duration", &self.max_request_duration);
75        debug_struct.field("state", &self.state);
76        debug_struct.field(
77            "requester_justification_config",
78            &self.requester_justification_config,
79        );
80        debug_struct.field(
81            "additional_notification_targets",
82            &self.additional_notification_targets,
83        );
84        debug_struct.field("etag", &self.etag);
85        if !self._unknown_fields.is_empty() {
86            debug_struct.field("_unknown_fields", &self._unknown_fields);
87        }
88        debug_struct.finish()
89    }
90}
91
92impl std::fmt::Debug for super::entitlement::RequesterJustificationConfig {
93    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
94        let mut debug_struct = f.debug_struct("RequesterJustificationConfig");
95        debug_struct.field("justification_type", &self.justification_type);
96        if !self._unknown_fields.is_empty() {
97            debug_struct.field("_unknown_fields", &self._unknown_fields);
98        }
99        debug_struct.finish()
100    }
101}
102
103impl std::fmt::Debug for super::entitlement::requester_justification_config::NotMandatory {
104    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
105        let mut debug_struct = f.debug_struct("NotMandatory");
106        if !self._unknown_fields.is_empty() {
107            debug_struct.field("_unknown_fields", &self._unknown_fields);
108        }
109        debug_struct.finish()
110    }
111}
112
113impl std::fmt::Debug for super::entitlement::requester_justification_config::Unstructured {
114    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
115        let mut debug_struct = f.debug_struct("Unstructured");
116        if !self._unknown_fields.is_empty() {
117            debug_struct.field("_unknown_fields", &self._unknown_fields);
118        }
119        debug_struct.finish()
120    }
121}
122
123impl std::fmt::Debug for super::entitlement::AdditionalNotificationTargets {
124    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
125        let mut debug_struct = f.debug_struct("AdditionalNotificationTargets");
126        debug_struct.field("admin_email_recipients", &self.admin_email_recipients);
127        debug_struct.field(
128            "requester_email_recipients",
129            &self.requester_email_recipients,
130        );
131        if !self._unknown_fields.is_empty() {
132            debug_struct.field("_unknown_fields", &self._unknown_fields);
133        }
134        debug_struct.finish()
135    }
136}
137
138impl std::fmt::Debug for super::AccessControlEntry {
139    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
140        let mut debug_struct = f.debug_struct("AccessControlEntry");
141        debug_struct.field("principals", &self.principals);
142        if !self._unknown_fields.is_empty() {
143            debug_struct.field("_unknown_fields", &self._unknown_fields);
144        }
145        debug_struct.finish()
146    }
147}
148
149impl std::fmt::Debug for super::ApprovalWorkflow {
150    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
151        let mut debug_struct = f.debug_struct("ApprovalWorkflow");
152        debug_struct.field("approval_workflow", &self.approval_workflow);
153        if !self._unknown_fields.is_empty() {
154            debug_struct.field("_unknown_fields", &self._unknown_fields);
155        }
156        debug_struct.finish()
157    }
158}
159
160impl std::fmt::Debug for super::ManualApprovals {
161    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
162        let mut debug_struct = f.debug_struct("ManualApprovals");
163        debug_struct.field(
164            "require_approver_justification",
165            &self.require_approver_justification,
166        );
167        debug_struct.field("steps", &self.steps);
168        if !self._unknown_fields.is_empty() {
169            debug_struct.field("_unknown_fields", &self._unknown_fields);
170        }
171        debug_struct.finish()
172    }
173}
174
175impl std::fmt::Debug for super::manual_approvals::Step {
176    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
177        let mut debug_struct = f.debug_struct("Step");
178        debug_struct.field("approvers", &self.approvers);
179        debug_struct.field("approvals_needed", &self.approvals_needed);
180        debug_struct.field("approver_email_recipients", &self.approver_email_recipients);
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::PrivilegedAccess {
189    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
190        let mut debug_struct = f.debug_struct("PrivilegedAccess");
191        debug_struct.field("access_type", &self.access_type);
192        if !self._unknown_fields.is_empty() {
193            debug_struct.field("_unknown_fields", &self._unknown_fields);
194        }
195        debug_struct.finish()
196    }
197}
198
199impl std::fmt::Debug for super::privileged_access::GcpIamAccess {
200    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
201        let mut debug_struct = f.debug_struct("GcpIamAccess");
202        debug_struct.field("resource_type", &self.resource_type);
203        debug_struct.field("resource", &self.resource);
204        debug_struct.field("role_bindings", &self.role_bindings);
205        if !self._unknown_fields.is_empty() {
206            debug_struct.field("_unknown_fields", &self._unknown_fields);
207        }
208        debug_struct.finish()
209    }
210}
211
212impl std::fmt::Debug for super::privileged_access::gcp_iam_access::RoleBinding {
213    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
214        let mut debug_struct = f.debug_struct("RoleBinding");
215        debug_struct.field("role", &self.role);
216        debug_struct.field("condition_expression", &self.condition_expression);
217        if !self._unknown_fields.is_empty() {
218            debug_struct.field("_unknown_fields", &self._unknown_fields);
219        }
220        debug_struct.finish()
221    }
222}
223
224impl std::fmt::Debug for super::ListEntitlementsRequest {
225    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
226        let mut debug_struct = f.debug_struct("ListEntitlementsRequest");
227        debug_struct.field("parent", &self.parent);
228        debug_struct.field("page_size", &self.page_size);
229        debug_struct.field("page_token", &self.page_token);
230        debug_struct.field("filter", &self.filter);
231        debug_struct.field("order_by", &self.order_by);
232        if !self._unknown_fields.is_empty() {
233            debug_struct.field("_unknown_fields", &self._unknown_fields);
234        }
235        debug_struct.finish()
236    }
237}
238
239impl std::fmt::Debug for super::ListEntitlementsResponse {
240    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
241        let mut debug_struct = f.debug_struct("ListEntitlementsResponse");
242        debug_struct.field("entitlements", &self.entitlements);
243        debug_struct.field("next_page_token", &self.next_page_token);
244        debug_struct.field("unreachable", &self.unreachable);
245        if !self._unknown_fields.is_empty() {
246            debug_struct.field("_unknown_fields", &self._unknown_fields);
247        }
248        debug_struct.finish()
249    }
250}
251
252impl std::fmt::Debug for super::SearchEntitlementsRequest {
253    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
254        let mut debug_struct = f.debug_struct("SearchEntitlementsRequest");
255        debug_struct.field("parent", &self.parent);
256        debug_struct.field("caller_access_type", &self.caller_access_type);
257        debug_struct.field("filter", &self.filter);
258        debug_struct.field("page_size", &self.page_size);
259        debug_struct.field("page_token", &self.page_token);
260        if !self._unknown_fields.is_empty() {
261            debug_struct.field("_unknown_fields", &self._unknown_fields);
262        }
263        debug_struct.finish()
264    }
265}
266
267impl std::fmt::Debug for super::SearchEntitlementsResponse {
268    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
269        let mut debug_struct = f.debug_struct("SearchEntitlementsResponse");
270        debug_struct.field("entitlements", &self.entitlements);
271        debug_struct.field("next_page_token", &self.next_page_token);
272        if !self._unknown_fields.is_empty() {
273            debug_struct.field("_unknown_fields", &self._unknown_fields);
274        }
275        debug_struct.finish()
276    }
277}
278
279impl std::fmt::Debug for super::GetEntitlementRequest {
280    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
281        let mut debug_struct = f.debug_struct("GetEntitlementRequest");
282        debug_struct.field("name", &self.name);
283        if !self._unknown_fields.is_empty() {
284            debug_struct.field("_unknown_fields", &self._unknown_fields);
285        }
286        debug_struct.finish()
287    }
288}
289
290impl std::fmt::Debug for super::CreateEntitlementRequest {
291    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
292        let mut debug_struct = f.debug_struct("CreateEntitlementRequest");
293        debug_struct.field("parent", &self.parent);
294        debug_struct.field("entitlement_id", &self.entitlement_id);
295        debug_struct.field("entitlement", &self.entitlement);
296        debug_struct.field("request_id", &self.request_id);
297        if !self._unknown_fields.is_empty() {
298            debug_struct.field("_unknown_fields", &self._unknown_fields);
299        }
300        debug_struct.finish()
301    }
302}
303
304impl std::fmt::Debug for super::DeleteEntitlementRequest {
305    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
306        let mut debug_struct = f.debug_struct("DeleteEntitlementRequest");
307        debug_struct.field("name", &self.name);
308        debug_struct.field("request_id", &self.request_id);
309        debug_struct.field("force", &self.force);
310        if !self._unknown_fields.is_empty() {
311            debug_struct.field("_unknown_fields", &self._unknown_fields);
312        }
313        debug_struct.finish()
314    }
315}
316
317impl std::fmt::Debug for super::UpdateEntitlementRequest {
318    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
319        let mut debug_struct = f.debug_struct("UpdateEntitlementRequest");
320        debug_struct.field("entitlement", &self.entitlement);
321        debug_struct.field("update_mask", &self.update_mask);
322        if !self._unknown_fields.is_empty() {
323            debug_struct.field("_unknown_fields", &self._unknown_fields);
324        }
325        debug_struct.finish()
326    }
327}
328
329impl std::fmt::Debug for super::Grant {
330    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
331        let mut debug_struct = f.debug_struct("Grant");
332        debug_struct.field("name", &self.name);
333        debug_struct.field("create_time", &self.create_time);
334        debug_struct.field("update_time", &self.update_time);
335        debug_struct.field("requester", &self.requester);
336        debug_struct.field("requested_duration", &self.requested_duration);
337        debug_struct.field("justification", &self.justification);
338        debug_struct.field("state", &self.state);
339        debug_struct.field("timeline", &self.timeline);
340        debug_struct.field("privileged_access", &self.privileged_access);
341        debug_struct.field("audit_trail", &self.audit_trail);
342        debug_struct.field(
343            "additional_email_recipients",
344            &self.additional_email_recipients,
345        );
346        debug_struct.field("externally_modified", &self.externally_modified);
347        if !self._unknown_fields.is_empty() {
348            debug_struct.field("_unknown_fields", &self._unknown_fields);
349        }
350        debug_struct.finish()
351    }
352}
353
354impl std::fmt::Debug for super::grant::Timeline {
355    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
356        let mut debug_struct = f.debug_struct("Timeline");
357        debug_struct.field("events", &self.events);
358        if !self._unknown_fields.is_empty() {
359            debug_struct.field("_unknown_fields", &self._unknown_fields);
360        }
361        debug_struct.finish()
362    }
363}
364
365impl std::fmt::Debug for super::grant::timeline::Event {
366    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
367        let mut debug_struct = f.debug_struct("Event");
368        debug_struct.field("event_time", &self.event_time);
369        debug_struct.field("event", &self.event);
370        if !self._unknown_fields.is_empty() {
371            debug_struct.field("_unknown_fields", &self._unknown_fields);
372        }
373        debug_struct.finish()
374    }
375}
376
377impl std::fmt::Debug for super::grant::timeline::event::Requested {
378    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
379        let mut debug_struct = f.debug_struct("Requested");
380        debug_struct.field("expire_time", &self.expire_time);
381        if !self._unknown_fields.is_empty() {
382            debug_struct.field("_unknown_fields", &self._unknown_fields);
383        }
384        debug_struct.finish()
385    }
386}
387
388impl std::fmt::Debug for super::grant::timeline::event::Approved {
389    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
390        let mut debug_struct = f.debug_struct("Approved");
391        debug_struct.field("reason", &self.reason);
392        debug_struct.field("actor", &self.actor);
393        if !self._unknown_fields.is_empty() {
394            debug_struct.field("_unknown_fields", &self._unknown_fields);
395        }
396        debug_struct.finish()
397    }
398}
399
400impl std::fmt::Debug for super::grant::timeline::event::Denied {
401    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
402        let mut debug_struct = f.debug_struct("Denied");
403        debug_struct.field("reason", &self.reason);
404        debug_struct.field("actor", &self.actor);
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::grant::timeline::event::Revoked {
413    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
414        let mut debug_struct = f.debug_struct("Revoked");
415        debug_struct.field("reason", &self.reason);
416        debug_struct.field("actor", &self.actor);
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::grant::timeline::event::Withdrawn {
425    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
426        let mut debug_struct = f.debug_struct("Withdrawn");
427        if !self._unknown_fields.is_empty() {
428            debug_struct.field("_unknown_fields", &self._unknown_fields);
429        }
430        debug_struct.finish()
431    }
432}
433
434impl std::fmt::Debug for super::grant::timeline::event::Scheduled {
435    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
436        let mut debug_struct = f.debug_struct("Scheduled");
437        debug_struct.field("scheduled_activation_time", &self.scheduled_activation_time);
438        if !self._unknown_fields.is_empty() {
439            debug_struct.field("_unknown_fields", &self._unknown_fields);
440        }
441        debug_struct.finish()
442    }
443}
444
445impl std::fmt::Debug for super::grant::timeline::event::Activated {
446    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
447        let mut debug_struct = f.debug_struct("Activated");
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::grant::timeline::event::ActivationFailed {
456    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
457        let mut debug_struct = f.debug_struct("ActivationFailed");
458        debug_struct.field("error", &self.error);
459        if !self._unknown_fields.is_empty() {
460            debug_struct.field("_unknown_fields", &self._unknown_fields);
461        }
462        debug_struct.finish()
463    }
464}
465
466impl std::fmt::Debug for super::grant::timeline::event::Expired {
467    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
468        let mut debug_struct = f.debug_struct("Expired");
469        if !self._unknown_fields.is_empty() {
470            debug_struct.field("_unknown_fields", &self._unknown_fields);
471        }
472        debug_struct.finish()
473    }
474}
475
476impl std::fmt::Debug for super::grant::timeline::event::Ended {
477    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
478        let mut debug_struct = f.debug_struct("Ended");
479        if !self._unknown_fields.is_empty() {
480            debug_struct.field("_unknown_fields", &self._unknown_fields);
481        }
482        debug_struct.finish()
483    }
484}
485
486impl std::fmt::Debug for super::grant::timeline::event::ExternallyModified {
487    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
488        let mut debug_struct = f.debug_struct("ExternallyModified");
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::grant::AuditTrail {
497    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
498        let mut debug_struct = f.debug_struct("AuditTrail");
499        debug_struct.field("access_grant_time", &self.access_grant_time);
500        debug_struct.field("access_remove_time", &self.access_remove_time);
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::Justification {
509    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
510        let mut debug_struct = f.debug_struct("Justification");
511        debug_struct.field("justification", &self.justification);
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::ListGrantsRequest {
520    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
521        let mut debug_struct = f.debug_struct("ListGrantsRequest");
522        debug_struct.field("parent", &self.parent);
523        debug_struct.field("page_size", &self.page_size);
524        debug_struct.field("page_token", &self.page_token);
525        debug_struct.field("filter", &self.filter);
526        debug_struct.field("order_by", &self.order_by);
527        if !self._unknown_fields.is_empty() {
528            debug_struct.field("_unknown_fields", &self._unknown_fields);
529        }
530        debug_struct.finish()
531    }
532}
533
534impl std::fmt::Debug for super::ListGrantsResponse {
535    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
536        let mut debug_struct = f.debug_struct("ListGrantsResponse");
537        debug_struct.field("grants", &self.grants);
538        debug_struct.field("next_page_token", &self.next_page_token);
539        debug_struct.field("unreachable", &self.unreachable);
540        if !self._unknown_fields.is_empty() {
541            debug_struct.field("_unknown_fields", &self._unknown_fields);
542        }
543        debug_struct.finish()
544    }
545}
546
547impl std::fmt::Debug for super::SearchGrantsRequest {
548    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
549        let mut debug_struct = f.debug_struct("SearchGrantsRequest");
550        debug_struct.field("parent", &self.parent);
551        debug_struct.field("caller_relationship", &self.caller_relationship);
552        debug_struct.field("filter", &self.filter);
553        debug_struct.field("page_size", &self.page_size);
554        debug_struct.field("page_token", &self.page_token);
555        if !self._unknown_fields.is_empty() {
556            debug_struct.field("_unknown_fields", &self._unknown_fields);
557        }
558        debug_struct.finish()
559    }
560}
561
562impl std::fmt::Debug for super::SearchGrantsResponse {
563    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
564        let mut debug_struct = f.debug_struct("SearchGrantsResponse");
565        debug_struct.field("grants", &self.grants);
566        debug_struct.field("next_page_token", &self.next_page_token);
567        if !self._unknown_fields.is_empty() {
568            debug_struct.field("_unknown_fields", &self._unknown_fields);
569        }
570        debug_struct.finish()
571    }
572}
573
574impl std::fmt::Debug for super::GetGrantRequest {
575    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
576        let mut debug_struct = f.debug_struct("GetGrantRequest");
577        debug_struct.field("name", &self.name);
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::ApproveGrantRequest {
586    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
587        let mut debug_struct = f.debug_struct("ApproveGrantRequest");
588        debug_struct.field("name", &self.name);
589        debug_struct.field("reason", &self.reason);
590        if !self._unknown_fields.is_empty() {
591            debug_struct.field("_unknown_fields", &self._unknown_fields);
592        }
593        debug_struct.finish()
594    }
595}
596
597impl std::fmt::Debug for super::DenyGrantRequest {
598    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
599        let mut debug_struct = f.debug_struct("DenyGrantRequest");
600        debug_struct.field("name", &self.name);
601        debug_struct.field("reason", &self.reason);
602        if !self._unknown_fields.is_empty() {
603            debug_struct.field("_unknown_fields", &self._unknown_fields);
604        }
605        debug_struct.finish()
606    }
607}
608
609impl std::fmt::Debug for super::RevokeGrantRequest {
610    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
611        let mut debug_struct = f.debug_struct("RevokeGrantRequest");
612        debug_struct.field("name", &self.name);
613        debug_struct.field("reason", &self.reason);
614        if !self._unknown_fields.is_empty() {
615            debug_struct.field("_unknown_fields", &self._unknown_fields);
616        }
617        debug_struct.finish()
618    }
619}
620
621impl std::fmt::Debug for super::CreateGrantRequest {
622    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
623        let mut debug_struct = f.debug_struct("CreateGrantRequest");
624        debug_struct.field("parent", &self.parent);
625        debug_struct.field("grant", &self.grant);
626        debug_struct.field("request_id", &self.request_id);
627        if !self._unknown_fields.is_empty() {
628            debug_struct.field("_unknown_fields", &self._unknown_fields);
629        }
630        debug_struct.finish()
631    }
632}
633
634impl std::fmt::Debug for super::OperationMetadata {
635    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
636        let mut debug_struct = f.debug_struct("OperationMetadata");
637        debug_struct.field("create_time", &self.create_time);
638        debug_struct.field("end_time", &self.end_time);
639        debug_struct.field("target", &self.target);
640        debug_struct.field("verb", &self.verb);
641        debug_struct.field("status_message", &self.status_message);
642        debug_struct.field("requested_cancellation", &self.requested_cancellation);
643        debug_struct.field("api_version", &self.api_version);
644        if !self._unknown_fields.is_empty() {
645            debug_struct.field("_unknown_fields", &self._unknown_fields);
646        }
647        debug_struct.finish()
648    }
649}