google_cloud_beyondcorp_clientgateways_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::ClientGateway {
21    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22        let mut debug_struct = f.debug_struct("ClientGateway");
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("state", &self.state);
27        debug_struct.field("id", &self.id);
28        debug_struct.field("client_connector_service", &self.client_connector_service);
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::ListClientGatewaysRequest {
37    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
38        let mut debug_struct = f.debug_struct("ListClientGatewaysRequest");
39        debug_struct.field("parent", &self.parent);
40        debug_struct.field("page_size", &self.page_size);
41        debug_struct.field("page_token", &self.page_token);
42        debug_struct.field("filter", &self.filter);
43        debug_struct.field("order_by", &self.order_by);
44        if !self._unknown_fields.is_empty() {
45            debug_struct.field("_unknown_fields", &self._unknown_fields);
46        }
47        debug_struct.finish()
48    }
49}
50
51impl std::fmt::Debug for super::ListClientGatewaysResponse {
52    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
53        let mut debug_struct = f.debug_struct("ListClientGatewaysResponse");
54        debug_struct.field("client_gateways", &self.client_gateways);
55        debug_struct.field("next_page_token", &self.next_page_token);
56        debug_struct.field("unreachable", &self.unreachable);
57        if !self._unknown_fields.is_empty() {
58            debug_struct.field("_unknown_fields", &self._unknown_fields);
59        }
60        debug_struct.finish()
61    }
62}
63
64impl std::fmt::Debug for super::GetClientGatewayRequest {
65    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
66        let mut debug_struct = f.debug_struct("GetClientGatewayRequest");
67        debug_struct.field("name", &self.name);
68        if !self._unknown_fields.is_empty() {
69            debug_struct.field("_unknown_fields", &self._unknown_fields);
70        }
71        debug_struct.finish()
72    }
73}
74
75impl std::fmt::Debug for super::CreateClientGatewayRequest {
76    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
77        let mut debug_struct = f.debug_struct("CreateClientGatewayRequest");
78        debug_struct.field("parent", &self.parent);
79        debug_struct.field("client_gateway_id", &self.client_gateway_id);
80        debug_struct.field("client_gateway", &self.client_gateway);
81        debug_struct.field("request_id", &self.request_id);
82        debug_struct.field("validate_only", &self.validate_only);
83        if !self._unknown_fields.is_empty() {
84            debug_struct.field("_unknown_fields", &self._unknown_fields);
85        }
86        debug_struct.finish()
87    }
88}
89
90impl std::fmt::Debug for super::DeleteClientGatewayRequest {
91    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
92        let mut debug_struct = f.debug_struct("DeleteClientGatewayRequest");
93        debug_struct.field("name", &self.name);
94        debug_struct.field("request_id", &self.request_id);
95        debug_struct.field("validate_only", &self.validate_only);
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::ClientGatewayOperationMetadata {
104    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
105        let mut debug_struct = f.debug_struct("ClientGatewayOperationMetadata");
106        debug_struct.field("create_time", &self.create_time);
107        debug_struct.field("end_time", &self.end_time);
108        debug_struct.field("target", &self.target);
109        debug_struct.field("verb", &self.verb);
110        debug_struct.field("status_message", &self.status_message);
111        debug_struct.field("requested_cancellation", &self.requested_cancellation);
112        debug_struct.field("api_version", &self.api_version);
113        if !self._unknown_fields.is_empty() {
114            debug_struct.field("_unknown_fields", &self._unknown_fields);
115        }
116        debug_struct.finish()
117    }
118}