Skip to main content

google_cloud_managedidentities_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::OpMetadata {
21    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22        let mut debug_struct = f.debug_struct("OpMetadata");
23        debug_struct.field("create_time", &self.create_time);
24        debug_struct.field("end_time", &self.end_time);
25        debug_struct.field("target", &self.target);
26        debug_struct.field("verb", &self.verb);
27        debug_struct.field("requested_cancellation", &self.requested_cancellation);
28        debug_struct.field("api_version", &self.api_version);
29        if !self._unknown_fields.is_empty() {
30            debug_struct.field("_unknown_fields", &self._unknown_fields);
31        }
32        debug_struct.finish()
33    }
34}
35
36impl std::fmt::Debug for super::CreateMicrosoftAdDomainRequest {
37    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
38        let mut debug_struct = f.debug_struct("CreateMicrosoftAdDomainRequest");
39        debug_struct.field("parent", &self.parent);
40        debug_struct.field("domain_name", &self.domain_name);
41        debug_struct.field("domain", &self.domain);
42        if !self._unknown_fields.is_empty() {
43            debug_struct.field("_unknown_fields", &self._unknown_fields);
44        }
45        debug_struct.finish()
46    }
47}
48
49impl std::fmt::Debug for super::ResetAdminPasswordRequest {
50    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
51        let mut debug_struct = f.debug_struct("ResetAdminPasswordRequest");
52        debug_struct.field("name", &self.name);
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::ResetAdminPasswordResponse {
61    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
62        let mut debug_struct = f.debug_struct("ResetAdminPasswordResponse");
63        debug_struct.field("password", &self.password);
64        if !self._unknown_fields.is_empty() {
65            debug_struct.field("_unknown_fields", &self._unknown_fields);
66        }
67        debug_struct.finish()
68    }
69}
70
71impl std::fmt::Debug for super::ListDomainsRequest {
72    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
73        let mut debug_struct = f.debug_struct("ListDomainsRequest");
74        debug_struct.field("parent", &self.parent);
75        debug_struct.field("page_size", &self.page_size);
76        debug_struct.field("page_token", &self.page_token);
77        debug_struct.field("filter", &self.filter);
78        debug_struct.field("order_by", &self.order_by);
79        if !self._unknown_fields.is_empty() {
80            debug_struct.field("_unknown_fields", &self._unknown_fields);
81        }
82        debug_struct.finish()
83    }
84}
85
86impl std::fmt::Debug for super::ListDomainsResponse {
87    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
88        let mut debug_struct = f.debug_struct("ListDomainsResponse");
89        debug_struct.field("domains", &self.domains);
90        debug_struct.field("next_page_token", &self.next_page_token);
91        debug_struct.field("unreachable", &self.unreachable);
92        if !self._unknown_fields.is_empty() {
93            debug_struct.field("_unknown_fields", &self._unknown_fields);
94        }
95        debug_struct.finish()
96    }
97}
98
99impl std::fmt::Debug for super::GetDomainRequest {
100    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
101        let mut debug_struct = f.debug_struct("GetDomainRequest");
102        debug_struct.field("name", &self.name);
103        if !self._unknown_fields.is_empty() {
104            debug_struct.field("_unknown_fields", &self._unknown_fields);
105        }
106        debug_struct.finish()
107    }
108}
109
110impl std::fmt::Debug for super::UpdateDomainRequest {
111    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
112        let mut debug_struct = f.debug_struct("UpdateDomainRequest");
113        debug_struct.field("update_mask", &self.update_mask);
114        debug_struct.field("domain", &self.domain);
115        if !self._unknown_fields.is_empty() {
116            debug_struct.field("_unknown_fields", &self._unknown_fields);
117        }
118        debug_struct.finish()
119    }
120}
121
122impl std::fmt::Debug for super::DeleteDomainRequest {
123    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
124        let mut debug_struct = f.debug_struct("DeleteDomainRequest");
125        debug_struct.field("name", &self.name);
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::AttachTrustRequest {
134    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
135        let mut debug_struct = f.debug_struct("AttachTrustRequest");
136        debug_struct.field("name", &self.name);
137        debug_struct.field("trust", &self.trust);
138        if !self._unknown_fields.is_empty() {
139            debug_struct.field("_unknown_fields", &self._unknown_fields);
140        }
141        debug_struct.finish()
142    }
143}
144
145impl std::fmt::Debug for super::ReconfigureTrustRequest {
146    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
147        let mut debug_struct = f.debug_struct("ReconfigureTrustRequest");
148        debug_struct.field("name", &self.name);
149        debug_struct.field("target_domain_name", &self.target_domain_name);
150        debug_struct.field("target_dns_ip_addresses", &self.target_dns_ip_addresses);
151        if !self._unknown_fields.is_empty() {
152            debug_struct.field("_unknown_fields", &self._unknown_fields);
153        }
154        debug_struct.finish()
155    }
156}
157
158impl std::fmt::Debug for super::DetachTrustRequest {
159    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
160        let mut debug_struct = f.debug_struct("DetachTrustRequest");
161        debug_struct.field("name", &self.name);
162        debug_struct.field("trust", &self.trust);
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::ValidateTrustRequest {
171    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
172        let mut debug_struct = f.debug_struct("ValidateTrustRequest");
173        debug_struct.field("name", &self.name);
174        debug_struct.field("trust", &self.trust);
175        if !self._unknown_fields.is_empty() {
176            debug_struct.field("_unknown_fields", &self._unknown_fields);
177        }
178        debug_struct.finish()
179    }
180}
181
182impl std::fmt::Debug for super::Domain {
183    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
184        let mut debug_struct = f.debug_struct("Domain");
185        debug_struct.field("name", &self.name);
186        debug_struct.field("labels", &self.labels);
187        debug_struct.field("authorized_networks", &self.authorized_networks);
188        debug_struct.field("reserved_ip_range", &self.reserved_ip_range);
189        debug_struct.field("locations", &self.locations);
190        debug_struct.field("admin", &self.admin);
191        debug_struct.field("fqdn", &self.fqdn);
192        debug_struct.field("create_time", &self.create_time);
193        debug_struct.field("update_time", &self.update_time);
194        debug_struct.field("state", &self.state);
195        debug_struct.field("status_message", &self.status_message);
196        debug_struct.field("trusts", &self.trusts);
197        if !self._unknown_fields.is_empty() {
198            debug_struct.field("_unknown_fields", &self._unknown_fields);
199        }
200        debug_struct.finish()
201    }
202}
203
204impl std::fmt::Debug for super::Trust {
205    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
206        let mut debug_struct = f.debug_struct("Trust");
207        debug_struct.field("target_domain_name", &self.target_domain_name);
208        debug_struct.field("trust_type", &self.trust_type);
209        debug_struct.field("trust_direction", &self.trust_direction);
210        debug_struct.field("selective_authentication", &self.selective_authentication);
211        debug_struct.field("target_dns_ip_addresses", &self.target_dns_ip_addresses);
212        debug_struct.field("trust_handshake_secret", &self.trust_handshake_secret);
213        debug_struct.field("create_time", &self.create_time);
214        debug_struct.field("update_time", &self.update_time);
215        debug_struct.field("state", &self.state);
216        debug_struct.field("state_description", &self.state_description);
217        debug_struct.field("last_trust_heartbeat_time", &self.last_trust_heartbeat_time);
218        if !self._unknown_fields.is_empty() {
219            debug_struct.field("_unknown_fields", &self._unknown_fields);
220        }
221        debug_struct.finish()
222    }
223}