google_cloud_iap_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::ListTunnelDestGroupsRequest {
21    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22        let mut debug_struct = f.debug_struct("ListTunnelDestGroupsRequest");
23        debug_struct.field("parent", &self.parent);
24        debug_struct.field("page_size", &self.page_size);
25        debug_struct.field("page_token", &self.page_token);
26        if !self._unknown_fields.is_empty() {
27            debug_struct.field("_unknown_fields", &self._unknown_fields);
28        }
29        debug_struct.finish()
30    }
31}
32
33impl std::fmt::Debug for super::ListTunnelDestGroupsResponse {
34    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
35        let mut debug_struct = f.debug_struct("ListTunnelDestGroupsResponse");
36        debug_struct.field("tunnel_dest_groups", &self.tunnel_dest_groups);
37        debug_struct.field("next_page_token", &self.next_page_token);
38        if !self._unknown_fields.is_empty() {
39            debug_struct.field("_unknown_fields", &self._unknown_fields);
40        }
41        debug_struct.finish()
42    }
43}
44
45impl std::fmt::Debug for super::CreateTunnelDestGroupRequest {
46    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
47        let mut debug_struct = f.debug_struct("CreateTunnelDestGroupRequest");
48        debug_struct.field("parent", &self.parent);
49        debug_struct.field("tunnel_dest_group", &self.tunnel_dest_group);
50        debug_struct.field("tunnel_dest_group_id", &self.tunnel_dest_group_id);
51        if !self._unknown_fields.is_empty() {
52            debug_struct.field("_unknown_fields", &self._unknown_fields);
53        }
54        debug_struct.finish()
55    }
56}
57
58impl std::fmt::Debug for super::GetTunnelDestGroupRequest {
59    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
60        let mut debug_struct = f.debug_struct("GetTunnelDestGroupRequest");
61        debug_struct.field("name", &self.name);
62        if !self._unknown_fields.is_empty() {
63            debug_struct.field("_unknown_fields", &self._unknown_fields);
64        }
65        debug_struct.finish()
66    }
67}
68
69impl std::fmt::Debug for super::DeleteTunnelDestGroupRequest {
70    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
71        let mut debug_struct = f.debug_struct("DeleteTunnelDestGroupRequest");
72        debug_struct.field("name", &self.name);
73        if !self._unknown_fields.is_empty() {
74            debug_struct.field("_unknown_fields", &self._unknown_fields);
75        }
76        debug_struct.finish()
77    }
78}
79
80impl std::fmt::Debug for super::UpdateTunnelDestGroupRequest {
81    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
82        let mut debug_struct = f.debug_struct("UpdateTunnelDestGroupRequest");
83        debug_struct.field("tunnel_dest_group", &self.tunnel_dest_group);
84        debug_struct.field("update_mask", &self.update_mask);
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::TunnelDestGroup {
93    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
94        let mut debug_struct = f.debug_struct("TunnelDestGroup");
95        debug_struct.field("name", &self.name);
96        debug_struct.field("cidrs", &self.cidrs);
97        debug_struct.field("fqdns", &self.fqdns);
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::GetIapSettingsRequest {
106    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
107        let mut debug_struct = f.debug_struct("GetIapSettingsRequest");
108        debug_struct.field("name", &self.name);
109        if !self._unknown_fields.is_empty() {
110            debug_struct.field("_unknown_fields", &self._unknown_fields);
111        }
112        debug_struct.finish()
113    }
114}
115
116impl std::fmt::Debug for super::UpdateIapSettingsRequest {
117    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
118        let mut debug_struct = f.debug_struct("UpdateIapSettingsRequest");
119        debug_struct.field("iap_settings", &self.iap_settings);
120        debug_struct.field("update_mask", &self.update_mask);
121        if !self._unknown_fields.is_empty() {
122            debug_struct.field("_unknown_fields", &self._unknown_fields);
123        }
124        debug_struct.finish()
125    }
126}
127
128impl std::fmt::Debug for super::IapSettings {
129    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
130        let mut debug_struct = f.debug_struct("IapSettings");
131        debug_struct.field("name", &self.name);
132        debug_struct.field("access_settings", &self.access_settings);
133        debug_struct.field("application_settings", &self.application_settings);
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::AccessSettings {
142    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
143        let mut debug_struct = f.debug_struct("AccessSettings");
144        debug_struct.field("gcip_settings", &self.gcip_settings);
145        debug_struct.field("cors_settings", &self.cors_settings);
146        debug_struct.field("oauth_settings", &self.oauth_settings);
147        debug_struct.field("reauth_settings", &self.reauth_settings);
148        debug_struct.field("allowed_domains_settings", &self.allowed_domains_settings);
149        debug_struct.field(
150            "workforce_identity_settings",
151            &self.workforce_identity_settings,
152        );
153        debug_struct.field("identity_sources", &self.identity_sources);
154        if !self._unknown_fields.is_empty() {
155            debug_struct.field("_unknown_fields", &self._unknown_fields);
156        }
157        debug_struct.finish()
158    }
159}
160
161impl std::fmt::Debug for super::GcipSettings {
162    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
163        let mut debug_struct = f.debug_struct("GcipSettings");
164        debug_struct.field("tenant_ids", &self.tenant_ids);
165        debug_struct.field("login_page_uri", &self.login_page_uri);
166        if !self._unknown_fields.is_empty() {
167            debug_struct.field("_unknown_fields", &self._unknown_fields);
168        }
169        debug_struct.finish()
170    }
171}
172
173impl std::fmt::Debug for super::CorsSettings {
174    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
175        let mut debug_struct = f.debug_struct("CorsSettings");
176        debug_struct.field("allow_http_options", &self.allow_http_options);
177        if !self._unknown_fields.is_empty() {
178            debug_struct.field("_unknown_fields", &self._unknown_fields);
179        }
180        debug_struct.finish()
181    }
182}
183
184impl std::fmt::Debug for super::OAuthSettings {
185    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
186        let mut debug_struct = f.debug_struct("OAuthSettings");
187        debug_struct.field("login_hint", &self.login_hint);
188        debug_struct.field("programmatic_clients", &self.programmatic_clients);
189        if !self._unknown_fields.is_empty() {
190            debug_struct.field("_unknown_fields", &self._unknown_fields);
191        }
192        debug_struct.finish()
193    }
194}
195
196impl std::fmt::Debug for super::WorkforceIdentitySettings {
197    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
198        let mut debug_struct = f.debug_struct("WorkforceIdentitySettings");
199        debug_struct.field("workforce_pools", &self.workforce_pools);
200        debug_struct.field("oauth2", &self.oauth2);
201        if !self._unknown_fields.is_empty() {
202            debug_struct.field("_unknown_fields", &self._unknown_fields);
203        }
204        debug_struct.finish()
205    }
206}
207
208impl std::fmt::Debug for super::OAuth2 {
209    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
210        let mut debug_struct = f.debug_struct("OAuth2");
211        debug_struct.field("client_id", &self.client_id);
212        debug_struct.field("client_secret", &self.client_secret);
213        debug_struct.field("client_secret_sha256", &self.client_secret_sha256);
214        if !self._unknown_fields.is_empty() {
215            debug_struct.field("_unknown_fields", &self._unknown_fields);
216        }
217        debug_struct.finish()
218    }
219}
220
221impl std::fmt::Debug for super::ReauthSettings {
222    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
223        let mut debug_struct = f.debug_struct("ReauthSettings");
224        debug_struct.field("method", &self.method);
225        debug_struct.field("max_age", &self.max_age);
226        debug_struct.field("policy_type", &self.policy_type);
227        if !self._unknown_fields.is_empty() {
228            debug_struct.field("_unknown_fields", &self._unknown_fields);
229        }
230        debug_struct.finish()
231    }
232}
233
234impl std::fmt::Debug for super::AllowedDomainsSettings {
235    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
236        let mut debug_struct = f.debug_struct("AllowedDomainsSettings");
237        debug_struct.field("enable", &self.enable);
238        debug_struct.field("domains", &self.domains);
239        if !self._unknown_fields.is_empty() {
240            debug_struct.field("_unknown_fields", &self._unknown_fields);
241        }
242        debug_struct.finish()
243    }
244}
245
246impl std::fmt::Debug for super::ApplicationSettings {
247    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
248        let mut debug_struct = f.debug_struct("ApplicationSettings");
249        debug_struct.field("csm_settings", &self.csm_settings);
250        debug_struct.field(
251            "access_denied_page_settings",
252            &self.access_denied_page_settings,
253        );
254        debug_struct.field("cookie_domain", &self.cookie_domain);
255        debug_struct.field(
256            "attribute_propagation_settings",
257            &self.attribute_propagation_settings,
258        );
259        if !self._unknown_fields.is_empty() {
260            debug_struct.field("_unknown_fields", &self._unknown_fields);
261        }
262        debug_struct.finish()
263    }
264}
265
266impl std::fmt::Debug for super::CsmSettings {
267    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
268        let mut debug_struct = f.debug_struct("CsmSettings");
269        debug_struct.field("rctoken_aud", &self.rctoken_aud);
270        if !self._unknown_fields.is_empty() {
271            debug_struct.field("_unknown_fields", &self._unknown_fields);
272        }
273        debug_struct.finish()
274    }
275}
276
277impl std::fmt::Debug for super::AccessDeniedPageSettings {
278    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
279        let mut debug_struct = f.debug_struct("AccessDeniedPageSettings");
280        debug_struct.field("access_denied_page_uri", &self.access_denied_page_uri);
281        debug_struct.field(
282            "generate_troubleshooting_uri",
283            &self.generate_troubleshooting_uri,
284        );
285        debug_struct.field(
286            "remediation_token_generation_enabled",
287            &self.remediation_token_generation_enabled,
288        );
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::AttributePropagationSettings {
297    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
298        let mut debug_struct = f.debug_struct("AttributePropagationSettings");
299        debug_struct.field("expression", &self.expression);
300        debug_struct.field("output_credentials", &self.output_credentials);
301        debug_struct.field("enable", &self.enable);
302        if !self._unknown_fields.is_empty() {
303            debug_struct.field("_unknown_fields", &self._unknown_fields);
304        }
305        debug_struct.finish()
306    }
307}
308
309impl std::fmt::Debug for super::ValidateIapAttributeExpressionRequest {
310    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
311        let mut debug_struct = f.debug_struct("ValidateIapAttributeExpressionRequest");
312        debug_struct.field("name", &self.name);
313        debug_struct.field("expression", &self.expression);
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::ValidateIapAttributeExpressionResponse {
322    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
323        let mut debug_struct = f.debug_struct("ValidateIapAttributeExpressionResponse");
324        if !self._unknown_fields.is_empty() {
325            debug_struct.field("_unknown_fields", &self._unknown_fields);
326        }
327        debug_struct.finish()
328    }
329}
330
331impl std::fmt::Debug for super::ListBrandsRequest {
332    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
333        let mut debug_struct = f.debug_struct("ListBrandsRequest");
334        debug_struct.field("parent", &self.parent);
335        if !self._unknown_fields.is_empty() {
336            debug_struct.field("_unknown_fields", &self._unknown_fields);
337        }
338        debug_struct.finish()
339    }
340}
341
342impl std::fmt::Debug for super::ListBrandsResponse {
343    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
344        let mut debug_struct = f.debug_struct("ListBrandsResponse");
345        debug_struct.field("brands", &self.brands);
346        if !self._unknown_fields.is_empty() {
347            debug_struct.field("_unknown_fields", &self._unknown_fields);
348        }
349        debug_struct.finish()
350    }
351}
352
353impl std::fmt::Debug for super::CreateBrandRequest {
354    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
355        let mut debug_struct = f.debug_struct("CreateBrandRequest");
356        debug_struct.field("parent", &self.parent);
357        debug_struct.field("brand", &self.brand);
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::GetBrandRequest {
366    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
367        let mut debug_struct = f.debug_struct("GetBrandRequest");
368        debug_struct.field("name", &self.name);
369        if !self._unknown_fields.is_empty() {
370            debug_struct.field("_unknown_fields", &self._unknown_fields);
371        }
372        debug_struct.finish()
373    }
374}
375
376impl std::fmt::Debug for super::ListIdentityAwareProxyClientsRequest {
377    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
378        let mut debug_struct = f.debug_struct("ListIdentityAwareProxyClientsRequest");
379        debug_struct.field("parent", &self.parent);
380        debug_struct.field("page_size", &self.page_size);
381        debug_struct.field("page_token", &self.page_token);
382        if !self._unknown_fields.is_empty() {
383            debug_struct.field("_unknown_fields", &self._unknown_fields);
384        }
385        debug_struct.finish()
386    }
387}
388
389impl std::fmt::Debug for super::ListIdentityAwareProxyClientsResponse {
390    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
391        let mut debug_struct = f.debug_struct("ListIdentityAwareProxyClientsResponse");
392        debug_struct.field(
393            "identity_aware_proxy_clients",
394            &self.identity_aware_proxy_clients,
395        );
396        debug_struct.field("next_page_token", &self.next_page_token);
397        if !self._unknown_fields.is_empty() {
398            debug_struct.field("_unknown_fields", &self._unknown_fields);
399        }
400        debug_struct.finish()
401    }
402}
403
404impl std::fmt::Debug for super::CreateIdentityAwareProxyClientRequest {
405    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
406        let mut debug_struct = f.debug_struct("CreateIdentityAwareProxyClientRequest");
407        debug_struct.field("parent", &self.parent);
408        debug_struct.field(
409            "identity_aware_proxy_client",
410            &self.identity_aware_proxy_client,
411        );
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::GetIdentityAwareProxyClientRequest {
420    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
421        let mut debug_struct = f.debug_struct("GetIdentityAwareProxyClientRequest");
422        debug_struct.field("name", &self.name);
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::ResetIdentityAwareProxyClientSecretRequest {
431    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
432        let mut debug_struct = f.debug_struct("ResetIdentityAwareProxyClientSecretRequest");
433        debug_struct.field("name", &self.name);
434        if !self._unknown_fields.is_empty() {
435            debug_struct.field("_unknown_fields", &self._unknown_fields);
436        }
437        debug_struct.finish()
438    }
439}
440
441impl std::fmt::Debug for super::DeleteIdentityAwareProxyClientRequest {
442    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
443        let mut debug_struct = f.debug_struct("DeleteIdentityAwareProxyClientRequest");
444        debug_struct.field("name", &self.name);
445        if !self._unknown_fields.is_empty() {
446            debug_struct.field("_unknown_fields", &self._unknown_fields);
447        }
448        debug_struct.finish()
449    }
450}
451
452impl std::fmt::Debug for super::Brand {
453    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
454        let mut debug_struct = f.debug_struct("Brand");
455        debug_struct.field("name", &self.name);
456        debug_struct.field("support_email", &self.support_email);
457        debug_struct.field("application_title", &self.application_title);
458        debug_struct.field("org_internal_only", &self.org_internal_only);
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::IdentityAwareProxyClient {
467    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
468        let mut debug_struct = f.debug_struct("IdentityAwareProxyClient");
469        debug_struct.field("name", &self.name);
470        debug_struct.field("secret", &self.secret);
471        debug_struct.field("display_name", &self.display_name);
472        if !self._unknown_fields.is_empty() {
473            debug_struct.field("_unknown_fields", &self._unknown_fields);
474        }
475        debug_struct.finish()
476    }
477}