google_cloud_logging_v2/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::LogEntry {
21    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22        let mut debug_struct = f.debug_struct("LogEntry");
23        debug_struct.field("log_name", &self.log_name);
24        debug_struct.field("resource", &self.resource);
25        debug_struct.field("timestamp", &self.timestamp);
26        debug_struct.field("receive_timestamp", &self.receive_timestamp);
27        debug_struct.field("severity", &self.severity);
28        debug_struct.field("insert_id", &self.insert_id);
29        debug_struct.field("http_request", &self.http_request);
30        debug_struct.field("labels", &self.labels);
31        debug_struct.field("operation", &self.operation);
32        debug_struct.field("trace", &self.trace);
33        debug_struct.field("span_id", &self.span_id);
34        debug_struct.field("trace_sampled", &self.trace_sampled);
35        debug_struct.field("source_location", &self.source_location);
36        debug_struct.field("split", &self.split);
37        debug_struct.field("payload", &self.payload);
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::LogEntryOperation {
46    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
47        let mut debug_struct = f.debug_struct("LogEntryOperation");
48        debug_struct.field("id", &self.id);
49        debug_struct.field("producer", &self.producer);
50        debug_struct.field("first", &self.first);
51        debug_struct.field("last", &self.last);
52        if !self._unknown_fields.is_empty() {
53            debug_struct.field("_unknown_fields", &self._unknown_fields);
54        }
55        debug_struct.finish()
56    }
57}
58
59impl std::fmt::Debug for super::LogEntrySourceLocation {
60    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
61        let mut debug_struct = f.debug_struct("LogEntrySourceLocation");
62        debug_struct.field("file", &self.file);
63        debug_struct.field("line", &self.line);
64        debug_struct.field("function", &self.function);
65        if !self._unknown_fields.is_empty() {
66            debug_struct.field("_unknown_fields", &self._unknown_fields);
67        }
68        debug_struct.finish()
69    }
70}
71
72impl std::fmt::Debug for super::LogSplit {
73    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
74        let mut debug_struct = f.debug_struct("LogSplit");
75        debug_struct.field("uid", &self.uid);
76        debug_struct.field("index", &self.index);
77        debug_struct.field("total_splits", &self.total_splits);
78        if !self._unknown_fields.is_empty() {
79            debug_struct.field("_unknown_fields", &self._unknown_fields);
80        }
81        debug_struct.finish()
82    }
83}
84
85impl std::fmt::Debug for super::DeleteLogRequest {
86    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
87        let mut debug_struct = f.debug_struct("DeleteLogRequest");
88        debug_struct.field("log_name", &self.log_name);
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::WriteLogEntriesRequest {
97    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
98        let mut debug_struct = f.debug_struct("WriteLogEntriesRequest");
99        debug_struct.field("log_name", &self.log_name);
100        debug_struct.field("resource", &self.resource);
101        debug_struct.field("labels", &self.labels);
102        debug_struct.field("entries", &self.entries);
103        debug_struct.field("partial_success", &self.partial_success);
104        debug_struct.field("dry_run", &self.dry_run);
105        if !self._unknown_fields.is_empty() {
106            debug_struct.field("_unknown_fields", &self._unknown_fields);
107        }
108        debug_struct.finish()
109    }
110}
111
112impl std::fmt::Debug for super::WriteLogEntriesResponse {
113    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
114        let mut debug_struct = f.debug_struct("WriteLogEntriesResponse");
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::WriteLogEntriesPartialErrors {
123    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
124        let mut debug_struct = f.debug_struct("WriteLogEntriesPartialErrors");
125        debug_struct.field("log_entry_errors", &self.log_entry_errors);
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::ListLogEntriesRequest {
134    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
135        let mut debug_struct = f.debug_struct("ListLogEntriesRequest");
136        debug_struct.field("resource_names", &self.resource_names);
137        debug_struct.field("filter", &self.filter);
138        debug_struct.field("order_by", &self.order_by);
139        debug_struct.field("page_size", &self.page_size);
140        debug_struct.field("page_token", &self.page_token);
141        if !self._unknown_fields.is_empty() {
142            debug_struct.field("_unknown_fields", &self._unknown_fields);
143        }
144        debug_struct.finish()
145    }
146}
147
148impl std::fmt::Debug for super::ListLogEntriesResponse {
149    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
150        let mut debug_struct = f.debug_struct("ListLogEntriesResponse");
151        debug_struct.field("entries", &self.entries);
152        debug_struct.field("next_page_token", &self.next_page_token);
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::ListMonitoredResourceDescriptorsRequest {
161    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
162        let mut debug_struct = f.debug_struct("ListMonitoredResourceDescriptorsRequest");
163        debug_struct.field("page_size", &self.page_size);
164        debug_struct.field("page_token", &self.page_token);
165        if !self._unknown_fields.is_empty() {
166            debug_struct.field("_unknown_fields", &self._unknown_fields);
167        }
168        debug_struct.finish()
169    }
170}
171
172impl std::fmt::Debug for super::ListMonitoredResourceDescriptorsResponse {
173    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
174        let mut debug_struct = f.debug_struct("ListMonitoredResourceDescriptorsResponse");
175        debug_struct.field("resource_descriptors", &self.resource_descriptors);
176        debug_struct.field("next_page_token", &self.next_page_token);
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::ListLogsRequest {
185    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
186        let mut debug_struct = f.debug_struct("ListLogsRequest");
187        debug_struct.field("parent", &self.parent);
188        debug_struct.field("resource_names", &self.resource_names);
189        debug_struct.field("page_size", &self.page_size);
190        debug_struct.field("page_token", &self.page_token);
191        if !self._unknown_fields.is_empty() {
192            debug_struct.field("_unknown_fields", &self._unknown_fields);
193        }
194        debug_struct.finish()
195    }
196}
197
198impl std::fmt::Debug for super::ListLogsResponse {
199    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
200        let mut debug_struct = f.debug_struct("ListLogsResponse");
201        debug_struct.field("log_names", &self.log_names);
202        debug_struct.field("next_page_token", &self.next_page_token);
203        if !self._unknown_fields.is_empty() {
204            debug_struct.field("_unknown_fields", &self._unknown_fields);
205        }
206        debug_struct.finish()
207    }
208}
209
210impl std::fmt::Debug for super::TailLogEntriesRequest {
211    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
212        let mut debug_struct = f.debug_struct("TailLogEntriesRequest");
213        debug_struct.field("resource_names", &self.resource_names);
214        debug_struct.field("filter", &self.filter);
215        debug_struct.field("buffer_window", &self.buffer_window);
216        if !self._unknown_fields.is_empty() {
217            debug_struct.field("_unknown_fields", &self._unknown_fields);
218        }
219        debug_struct.finish()
220    }
221}
222
223impl std::fmt::Debug for super::TailLogEntriesResponse {
224    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
225        let mut debug_struct = f.debug_struct("TailLogEntriesResponse");
226        debug_struct.field("entries", &self.entries);
227        debug_struct.field("suppression_info", &self.suppression_info);
228        if !self._unknown_fields.is_empty() {
229            debug_struct.field("_unknown_fields", &self._unknown_fields);
230        }
231        debug_struct.finish()
232    }
233}
234
235impl std::fmt::Debug for super::tail_log_entries_response::SuppressionInfo {
236    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
237        let mut debug_struct = f.debug_struct("SuppressionInfo");
238        debug_struct.field("reason", &self.reason);
239        debug_struct.field("suppressed_count", &self.suppressed_count);
240        if !self._unknown_fields.is_empty() {
241            debug_struct.field("_unknown_fields", &self._unknown_fields);
242        }
243        debug_struct.finish()
244    }
245}
246
247impl std::fmt::Debug for super::IndexConfig {
248    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
249        let mut debug_struct = f.debug_struct("IndexConfig");
250        debug_struct.field("field_path", &self.field_path);
251        debug_struct.field("r#type", &self.r#type);
252        debug_struct.field("create_time", &self.create_time);
253        if !self._unknown_fields.is_empty() {
254            debug_struct.field("_unknown_fields", &self._unknown_fields);
255        }
256        debug_struct.finish()
257    }
258}
259
260impl std::fmt::Debug for super::LogBucket {
261    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
262        let mut debug_struct = f.debug_struct("LogBucket");
263        debug_struct.field("name", &self.name);
264        debug_struct.field("description", &self.description);
265        debug_struct.field("create_time", &self.create_time);
266        debug_struct.field("update_time", &self.update_time);
267        debug_struct.field("retention_days", &self.retention_days);
268        debug_struct.field("locked", &self.locked);
269        debug_struct.field("lifecycle_state", &self.lifecycle_state);
270        debug_struct.field("analytics_enabled", &self.analytics_enabled);
271        debug_struct.field("restricted_fields", &self.restricted_fields);
272        debug_struct.field("index_configs", &self.index_configs);
273        debug_struct.field("cmek_settings", &self.cmek_settings);
274        if !self._unknown_fields.is_empty() {
275            debug_struct.field("_unknown_fields", &self._unknown_fields);
276        }
277        debug_struct.finish()
278    }
279}
280
281impl std::fmt::Debug for super::LogView {
282    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
283        let mut debug_struct = f.debug_struct("LogView");
284        debug_struct.field("name", &self.name);
285        debug_struct.field("description", &self.description);
286        debug_struct.field("create_time", &self.create_time);
287        debug_struct.field("update_time", &self.update_time);
288        debug_struct.field("filter", &self.filter);
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::LogSink {
297    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
298        let mut debug_struct = f.debug_struct("LogSink");
299        debug_struct.field("name", &self.name);
300        debug_struct.field("destination", &self.destination);
301        debug_struct.field("filter", &self.filter);
302        debug_struct.field("description", &self.description);
303        debug_struct.field("disabled", &self.disabled);
304        debug_struct.field("exclusions", &self.exclusions);
305        debug_struct.field("output_version_format", &self.output_version_format);
306        debug_struct.field("writer_identity", &self.writer_identity);
307        debug_struct.field("include_children", &self.include_children);
308        debug_struct.field("create_time", &self.create_time);
309        debug_struct.field("update_time", &self.update_time);
310        debug_struct.field("options", &self.options);
311        if !self._unknown_fields.is_empty() {
312            debug_struct.field("_unknown_fields", &self._unknown_fields);
313        }
314        debug_struct.finish()
315    }
316}
317
318impl std::fmt::Debug for super::BigQueryDataset {
319    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
320        let mut debug_struct = f.debug_struct("BigQueryDataset");
321        debug_struct.field("dataset_id", &self.dataset_id);
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::Link {
330    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
331        let mut debug_struct = f.debug_struct("Link");
332        debug_struct.field("name", &self.name);
333        debug_struct.field("description", &self.description);
334        debug_struct.field("create_time", &self.create_time);
335        debug_struct.field("lifecycle_state", &self.lifecycle_state);
336        debug_struct.field("bigquery_dataset", &self.bigquery_dataset);
337        if !self._unknown_fields.is_empty() {
338            debug_struct.field("_unknown_fields", &self._unknown_fields);
339        }
340        debug_struct.finish()
341    }
342}
343
344impl std::fmt::Debug for super::BigQueryOptions {
345    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
346        let mut debug_struct = f.debug_struct("BigQueryOptions");
347        debug_struct.field("use_partitioned_tables", &self.use_partitioned_tables);
348        debug_struct.field(
349            "uses_timestamp_column_partitioning",
350            &self.uses_timestamp_column_partitioning,
351        );
352        if !self._unknown_fields.is_empty() {
353            debug_struct.field("_unknown_fields", &self._unknown_fields);
354        }
355        debug_struct.finish()
356    }
357}
358
359impl std::fmt::Debug for super::ListBucketsRequest {
360    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
361        let mut debug_struct = f.debug_struct("ListBucketsRequest");
362        debug_struct.field("parent", &self.parent);
363        debug_struct.field("page_token", &self.page_token);
364        debug_struct.field("page_size", &self.page_size);
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::ListBucketsResponse {
373    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
374        let mut debug_struct = f.debug_struct("ListBucketsResponse");
375        debug_struct.field("buckets", &self.buckets);
376        debug_struct.field("next_page_token", &self.next_page_token);
377        if !self._unknown_fields.is_empty() {
378            debug_struct.field("_unknown_fields", &self._unknown_fields);
379        }
380        debug_struct.finish()
381    }
382}
383
384impl std::fmt::Debug for super::CreateBucketRequest {
385    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
386        let mut debug_struct = f.debug_struct("CreateBucketRequest");
387        debug_struct.field("parent", &self.parent);
388        debug_struct.field("bucket_id", &self.bucket_id);
389        debug_struct.field("bucket", &self.bucket);
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::UpdateBucketRequest {
398    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
399        let mut debug_struct = f.debug_struct("UpdateBucketRequest");
400        debug_struct.field("name", &self.name);
401        debug_struct.field("bucket", &self.bucket);
402        debug_struct.field("update_mask", &self.update_mask);
403        if !self._unknown_fields.is_empty() {
404            debug_struct.field("_unknown_fields", &self._unknown_fields);
405        }
406        debug_struct.finish()
407    }
408}
409
410impl std::fmt::Debug for super::GetBucketRequest {
411    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
412        let mut debug_struct = f.debug_struct("GetBucketRequest");
413        debug_struct.field("name", &self.name);
414        if !self._unknown_fields.is_empty() {
415            debug_struct.field("_unknown_fields", &self._unknown_fields);
416        }
417        debug_struct.finish()
418    }
419}
420
421impl std::fmt::Debug for super::DeleteBucketRequest {
422    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
423        let mut debug_struct = f.debug_struct("DeleteBucketRequest");
424        debug_struct.field("name", &self.name);
425        if !self._unknown_fields.is_empty() {
426            debug_struct.field("_unknown_fields", &self._unknown_fields);
427        }
428        debug_struct.finish()
429    }
430}
431
432impl std::fmt::Debug for super::UndeleteBucketRequest {
433    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
434        let mut debug_struct = f.debug_struct("UndeleteBucketRequest");
435        debug_struct.field("name", &self.name);
436        if !self._unknown_fields.is_empty() {
437            debug_struct.field("_unknown_fields", &self._unknown_fields);
438        }
439        debug_struct.finish()
440    }
441}
442
443impl std::fmt::Debug for super::ListViewsRequest {
444    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
445        let mut debug_struct = f.debug_struct("ListViewsRequest");
446        debug_struct.field("parent", &self.parent);
447        debug_struct.field("page_token", &self.page_token);
448        debug_struct.field("page_size", &self.page_size);
449        if !self._unknown_fields.is_empty() {
450            debug_struct.field("_unknown_fields", &self._unknown_fields);
451        }
452        debug_struct.finish()
453    }
454}
455
456impl std::fmt::Debug for super::ListViewsResponse {
457    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
458        let mut debug_struct = f.debug_struct("ListViewsResponse");
459        debug_struct.field("views", &self.views);
460        debug_struct.field("next_page_token", &self.next_page_token);
461        if !self._unknown_fields.is_empty() {
462            debug_struct.field("_unknown_fields", &self._unknown_fields);
463        }
464        debug_struct.finish()
465    }
466}
467
468impl std::fmt::Debug for super::CreateViewRequest {
469    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
470        let mut debug_struct = f.debug_struct("CreateViewRequest");
471        debug_struct.field("parent", &self.parent);
472        debug_struct.field("view_id", &self.view_id);
473        debug_struct.field("view", &self.view);
474        if !self._unknown_fields.is_empty() {
475            debug_struct.field("_unknown_fields", &self._unknown_fields);
476        }
477        debug_struct.finish()
478    }
479}
480
481impl std::fmt::Debug for super::UpdateViewRequest {
482    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
483        let mut debug_struct = f.debug_struct("UpdateViewRequest");
484        debug_struct.field("name", &self.name);
485        debug_struct.field("view", &self.view);
486        debug_struct.field("update_mask", &self.update_mask);
487        if !self._unknown_fields.is_empty() {
488            debug_struct.field("_unknown_fields", &self._unknown_fields);
489        }
490        debug_struct.finish()
491    }
492}
493
494impl std::fmt::Debug for super::GetViewRequest {
495    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
496        let mut debug_struct = f.debug_struct("GetViewRequest");
497        debug_struct.field("name", &self.name);
498        if !self._unknown_fields.is_empty() {
499            debug_struct.field("_unknown_fields", &self._unknown_fields);
500        }
501        debug_struct.finish()
502    }
503}
504
505impl std::fmt::Debug for super::DeleteViewRequest {
506    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
507        let mut debug_struct = f.debug_struct("DeleteViewRequest");
508        debug_struct.field("name", &self.name);
509        if !self._unknown_fields.is_empty() {
510            debug_struct.field("_unknown_fields", &self._unknown_fields);
511        }
512        debug_struct.finish()
513    }
514}
515
516impl std::fmt::Debug for super::ListSinksRequest {
517    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
518        let mut debug_struct = f.debug_struct("ListSinksRequest");
519        debug_struct.field("parent", &self.parent);
520        debug_struct.field("page_token", &self.page_token);
521        debug_struct.field("page_size", &self.page_size);
522        if !self._unknown_fields.is_empty() {
523            debug_struct.field("_unknown_fields", &self._unknown_fields);
524        }
525        debug_struct.finish()
526    }
527}
528
529impl std::fmt::Debug for super::ListSinksResponse {
530    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
531        let mut debug_struct = f.debug_struct("ListSinksResponse");
532        debug_struct.field("sinks", &self.sinks);
533        debug_struct.field("next_page_token", &self.next_page_token);
534        if !self._unknown_fields.is_empty() {
535            debug_struct.field("_unknown_fields", &self._unknown_fields);
536        }
537        debug_struct.finish()
538    }
539}
540
541impl std::fmt::Debug for super::GetSinkRequest {
542    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
543        let mut debug_struct = f.debug_struct("GetSinkRequest");
544        debug_struct.field("sink_name", &self.sink_name);
545        if !self._unknown_fields.is_empty() {
546            debug_struct.field("_unknown_fields", &self._unknown_fields);
547        }
548        debug_struct.finish()
549    }
550}
551
552impl std::fmt::Debug for super::CreateSinkRequest {
553    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
554        let mut debug_struct = f.debug_struct("CreateSinkRequest");
555        debug_struct.field("parent", &self.parent);
556        debug_struct.field("sink", &self.sink);
557        debug_struct.field("unique_writer_identity", &self.unique_writer_identity);
558        if !self._unknown_fields.is_empty() {
559            debug_struct.field("_unknown_fields", &self._unknown_fields);
560        }
561        debug_struct.finish()
562    }
563}
564
565impl std::fmt::Debug for super::UpdateSinkRequest {
566    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
567        let mut debug_struct = f.debug_struct("UpdateSinkRequest");
568        debug_struct.field("sink_name", &self.sink_name);
569        debug_struct.field("sink", &self.sink);
570        debug_struct.field("unique_writer_identity", &self.unique_writer_identity);
571        debug_struct.field("update_mask", &self.update_mask);
572        if !self._unknown_fields.is_empty() {
573            debug_struct.field("_unknown_fields", &self._unknown_fields);
574        }
575        debug_struct.finish()
576    }
577}
578
579impl std::fmt::Debug for super::DeleteSinkRequest {
580    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
581        let mut debug_struct = f.debug_struct("DeleteSinkRequest");
582        debug_struct.field("sink_name", &self.sink_name);
583        if !self._unknown_fields.is_empty() {
584            debug_struct.field("_unknown_fields", &self._unknown_fields);
585        }
586        debug_struct.finish()
587    }
588}
589
590impl std::fmt::Debug for super::CreateLinkRequest {
591    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
592        let mut debug_struct = f.debug_struct("CreateLinkRequest");
593        debug_struct.field("parent", &self.parent);
594        debug_struct.field("link", &self.link);
595        debug_struct.field("link_id", &self.link_id);
596        if !self._unknown_fields.is_empty() {
597            debug_struct.field("_unknown_fields", &self._unknown_fields);
598        }
599        debug_struct.finish()
600    }
601}
602
603impl std::fmt::Debug for super::DeleteLinkRequest {
604    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
605        let mut debug_struct = f.debug_struct("DeleteLinkRequest");
606        debug_struct.field("name", &self.name);
607        if !self._unknown_fields.is_empty() {
608            debug_struct.field("_unknown_fields", &self._unknown_fields);
609        }
610        debug_struct.finish()
611    }
612}
613
614impl std::fmt::Debug for super::ListLinksRequest {
615    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
616        let mut debug_struct = f.debug_struct("ListLinksRequest");
617        debug_struct.field("parent", &self.parent);
618        debug_struct.field("page_token", &self.page_token);
619        debug_struct.field("page_size", &self.page_size);
620        if !self._unknown_fields.is_empty() {
621            debug_struct.field("_unknown_fields", &self._unknown_fields);
622        }
623        debug_struct.finish()
624    }
625}
626
627impl std::fmt::Debug for super::ListLinksResponse {
628    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
629        let mut debug_struct = f.debug_struct("ListLinksResponse");
630        debug_struct.field("links", &self.links);
631        debug_struct.field("next_page_token", &self.next_page_token);
632        if !self._unknown_fields.is_empty() {
633            debug_struct.field("_unknown_fields", &self._unknown_fields);
634        }
635        debug_struct.finish()
636    }
637}
638
639impl std::fmt::Debug for super::GetLinkRequest {
640    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
641        let mut debug_struct = f.debug_struct("GetLinkRequest");
642        debug_struct.field("name", &self.name);
643        if !self._unknown_fields.is_empty() {
644            debug_struct.field("_unknown_fields", &self._unknown_fields);
645        }
646        debug_struct.finish()
647    }
648}
649
650impl std::fmt::Debug for super::LogExclusion {
651    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
652        let mut debug_struct = f.debug_struct("LogExclusion");
653        debug_struct.field("name", &self.name);
654        debug_struct.field("description", &self.description);
655        debug_struct.field("filter", &self.filter);
656        debug_struct.field("disabled", &self.disabled);
657        debug_struct.field("create_time", &self.create_time);
658        debug_struct.field("update_time", &self.update_time);
659        if !self._unknown_fields.is_empty() {
660            debug_struct.field("_unknown_fields", &self._unknown_fields);
661        }
662        debug_struct.finish()
663    }
664}
665
666impl std::fmt::Debug for super::ListExclusionsRequest {
667    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
668        let mut debug_struct = f.debug_struct("ListExclusionsRequest");
669        debug_struct.field("parent", &self.parent);
670        debug_struct.field("page_token", &self.page_token);
671        debug_struct.field("page_size", &self.page_size);
672        if !self._unknown_fields.is_empty() {
673            debug_struct.field("_unknown_fields", &self._unknown_fields);
674        }
675        debug_struct.finish()
676    }
677}
678
679impl std::fmt::Debug for super::ListExclusionsResponse {
680    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
681        let mut debug_struct = f.debug_struct("ListExclusionsResponse");
682        debug_struct.field("exclusions", &self.exclusions);
683        debug_struct.field("next_page_token", &self.next_page_token);
684        if !self._unknown_fields.is_empty() {
685            debug_struct.field("_unknown_fields", &self._unknown_fields);
686        }
687        debug_struct.finish()
688    }
689}
690
691impl std::fmt::Debug for super::GetExclusionRequest {
692    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
693        let mut debug_struct = f.debug_struct("GetExclusionRequest");
694        debug_struct.field("name", &self.name);
695        if !self._unknown_fields.is_empty() {
696            debug_struct.field("_unknown_fields", &self._unknown_fields);
697        }
698        debug_struct.finish()
699    }
700}
701
702impl std::fmt::Debug for super::CreateExclusionRequest {
703    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
704        let mut debug_struct = f.debug_struct("CreateExclusionRequest");
705        debug_struct.field("parent", &self.parent);
706        debug_struct.field("exclusion", &self.exclusion);
707        if !self._unknown_fields.is_empty() {
708            debug_struct.field("_unknown_fields", &self._unknown_fields);
709        }
710        debug_struct.finish()
711    }
712}
713
714impl std::fmt::Debug for super::UpdateExclusionRequest {
715    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
716        let mut debug_struct = f.debug_struct("UpdateExclusionRequest");
717        debug_struct.field("name", &self.name);
718        debug_struct.field("exclusion", &self.exclusion);
719        debug_struct.field("update_mask", &self.update_mask);
720        if !self._unknown_fields.is_empty() {
721            debug_struct.field("_unknown_fields", &self._unknown_fields);
722        }
723        debug_struct.finish()
724    }
725}
726
727impl std::fmt::Debug for super::DeleteExclusionRequest {
728    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
729        let mut debug_struct = f.debug_struct("DeleteExclusionRequest");
730        debug_struct.field("name", &self.name);
731        if !self._unknown_fields.is_empty() {
732            debug_struct.field("_unknown_fields", &self._unknown_fields);
733        }
734        debug_struct.finish()
735    }
736}
737
738impl std::fmt::Debug for super::GetCmekSettingsRequest {
739    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
740        let mut debug_struct = f.debug_struct("GetCmekSettingsRequest");
741        debug_struct.field("name", &self.name);
742        if !self._unknown_fields.is_empty() {
743            debug_struct.field("_unknown_fields", &self._unknown_fields);
744        }
745        debug_struct.finish()
746    }
747}
748
749impl std::fmt::Debug for super::UpdateCmekSettingsRequest {
750    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
751        let mut debug_struct = f.debug_struct("UpdateCmekSettingsRequest");
752        debug_struct.field("name", &self.name);
753        debug_struct.field("cmek_settings", &self.cmek_settings);
754        debug_struct.field("update_mask", &self.update_mask);
755        if !self._unknown_fields.is_empty() {
756            debug_struct.field("_unknown_fields", &self._unknown_fields);
757        }
758        debug_struct.finish()
759    }
760}
761
762impl std::fmt::Debug for super::CmekSettings {
763    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
764        let mut debug_struct = f.debug_struct("CmekSettings");
765        debug_struct.field("name", &self.name);
766        debug_struct.field("kms_key_name", &self.kms_key_name);
767        debug_struct.field("kms_key_version_name", &self.kms_key_version_name);
768        debug_struct.field("service_account_id", &self.service_account_id);
769        if !self._unknown_fields.is_empty() {
770            debug_struct.field("_unknown_fields", &self._unknown_fields);
771        }
772        debug_struct.finish()
773    }
774}
775
776impl std::fmt::Debug for super::GetSettingsRequest {
777    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
778        let mut debug_struct = f.debug_struct("GetSettingsRequest");
779        debug_struct.field("name", &self.name);
780        if !self._unknown_fields.is_empty() {
781            debug_struct.field("_unknown_fields", &self._unknown_fields);
782        }
783        debug_struct.finish()
784    }
785}
786
787impl std::fmt::Debug for super::UpdateSettingsRequest {
788    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
789        let mut debug_struct = f.debug_struct("UpdateSettingsRequest");
790        debug_struct.field("name", &self.name);
791        debug_struct.field("settings", &self.settings);
792        debug_struct.field("update_mask", &self.update_mask);
793        if !self._unknown_fields.is_empty() {
794            debug_struct.field("_unknown_fields", &self._unknown_fields);
795        }
796        debug_struct.finish()
797    }
798}
799
800impl std::fmt::Debug for super::Settings {
801    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
802        let mut debug_struct = f.debug_struct("Settings");
803        debug_struct.field("name", &self.name);
804        debug_struct.field("kms_key_name", &self.kms_key_name);
805        debug_struct.field("kms_service_account_id", &self.kms_service_account_id);
806        debug_struct.field("storage_location", &self.storage_location);
807        debug_struct.field("disable_default_sink", &self.disable_default_sink);
808        if !self._unknown_fields.is_empty() {
809            debug_struct.field("_unknown_fields", &self._unknown_fields);
810        }
811        debug_struct.finish()
812    }
813}
814
815impl std::fmt::Debug for super::CopyLogEntriesRequest {
816    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
817        let mut debug_struct = f.debug_struct("CopyLogEntriesRequest");
818        debug_struct.field("name", &self.name);
819        debug_struct.field("filter", &self.filter);
820        debug_struct.field("destination", &self.destination);
821        if !self._unknown_fields.is_empty() {
822            debug_struct.field("_unknown_fields", &self._unknown_fields);
823        }
824        debug_struct.finish()
825    }
826}
827
828impl std::fmt::Debug for super::CopyLogEntriesMetadata {
829    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
830        let mut debug_struct = f.debug_struct("CopyLogEntriesMetadata");
831        debug_struct.field("start_time", &self.start_time);
832        debug_struct.field("end_time", &self.end_time);
833        debug_struct.field("state", &self.state);
834        debug_struct.field("cancellation_requested", &self.cancellation_requested);
835        debug_struct.field("request", &self.request);
836        debug_struct.field("progress", &self.progress);
837        debug_struct.field("writer_identity", &self.writer_identity);
838        if !self._unknown_fields.is_empty() {
839            debug_struct.field("_unknown_fields", &self._unknown_fields);
840        }
841        debug_struct.finish()
842    }
843}
844
845impl std::fmt::Debug for super::CopyLogEntriesResponse {
846    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
847        let mut debug_struct = f.debug_struct("CopyLogEntriesResponse");
848        debug_struct.field("log_entries_copied_count", &self.log_entries_copied_count);
849        if !self._unknown_fields.is_empty() {
850            debug_struct.field("_unknown_fields", &self._unknown_fields);
851        }
852        debug_struct.finish()
853    }
854}
855
856impl std::fmt::Debug for super::BucketMetadata {
857    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
858        let mut debug_struct = f.debug_struct("BucketMetadata");
859        debug_struct.field("start_time", &self.start_time);
860        debug_struct.field("end_time", &self.end_time);
861        debug_struct.field("state", &self.state);
862        debug_struct.field("request", &self.request);
863        if !self._unknown_fields.is_empty() {
864            debug_struct.field("_unknown_fields", &self._unknown_fields);
865        }
866        debug_struct.finish()
867    }
868}
869
870impl std::fmt::Debug for super::LinkMetadata {
871    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
872        let mut debug_struct = f.debug_struct("LinkMetadata");
873        debug_struct.field("start_time", &self.start_time);
874        debug_struct.field("end_time", &self.end_time);
875        debug_struct.field("state", &self.state);
876        debug_struct.field("request", &self.request);
877        if !self._unknown_fields.is_empty() {
878            debug_struct.field("_unknown_fields", &self._unknown_fields);
879        }
880        debug_struct.finish()
881    }
882}
883
884impl std::fmt::Debug for super::LocationMetadata {
885    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
886        let mut debug_struct = f.debug_struct("LocationMetadata");
887        debug_struct.field("log_analytics_enabled", &self.log_analytics_enabled);
888        if !self._unknown_fields.is_empty() {
889            debug_struct.field("_unknown_fields", &self._unknown_fields);
890        }
891        debug_struct.finish()
892    }
893}
894
895impl std::fmt::Debug for super::LogMetric {
896    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
897        let mut debug_struct = f.debug_struct("LogMetric");
898        debug_struct.field("name", &self.name);
899        debug_struct.field("description", &self.description);
900        debug_struct.field("filter", &self.filter);
901        debug_struct.field("bucket_name", &self.bucket_name);
902        debug_struct.field("disabled", &self.disabled);
903        debug_struct.field("metric_descriptor", &self.metric_descriptor);
904        debug_struct.field("value_extractor", &self.value_extractor);
905        debug_struct.field("label_extractors", &self.label_extractors);
906        debug_struct.field("bucket_options", &self.bucket_options);
907        debug_struct.field("create_time", &self.create_time);
908        debug_struct.field("update_time", &self.update_time);
909        debug_struct.field("version", &self.version);
910        if !self._unknown_fields.is_empty() {
911            debug_struct.field("_unknown_fields", &self._unknown_fields);
912        }
913        debug_struct.finish()
914    }
915}
916
917impl std::fmt::Debug for super::ListLogMetricsRequest {
918    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
919        let mut debug_struct = f.debug_struct("ListLogMetricsRequest");
920        debug_struct.field("parent", &self.parent);
921        debug_struct.field("page_token", &self.page_token);
922        debug_struct.field("page_size", &self.page_size);
923        if !self._unknown_fields.is_empty() {
924            debug_struct.field("_unknown_fields", &self._unknown_fields);
925        }
926        debug_struct.finish()
927    }
928}
929
930impl std::fmt::Debug for super::ListLogMetricsResponse {
931    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
932        let mut debug_struct = f.debug_struct("ListLogMetricsResponse");
933        debug_struct.field("metrics", &self.metrics);
934        debug_struct.field("next_page_token", &self.next_page_token);
935        if !self._unknown_fields.is_empty() {
936            debug_struct.field("_unknown_fields", &self._unknown_fields);
937        }
938        debug_struct.finish()
939    }
940}
941
942impl std::fmt::Debug for super::GetLogMetricRequest {
943    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
944        let mut debug_struct = f.debug_struct("GetLogMetricRequest");
945        debug_struct.field("metric_name", &self.metric_name);
946        if !self._unknown_fields.is_empty() {
947            debug_struct.field("_unknown_fields", &self._unknown_fields);
948        }
949        debug_struct.finish()
950    }
951}
952
953impl std::fmt::Debug for super::CreateLogMetricRequest {
954    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
955        let mut debug_struct = f.debug_struct("CreateLogMetricRequest");
956        debug_struct.field("parent", &self.parent);
957        debug_struct.field("metric", &self.metric);
958        if !self._unknown_fields.is_empty() {
959            debug_struct.field("_unknown_fields", &self._unknown_fields);
960        }
961        debug_struct.finish()
962    }
963}
964
965impl std::fmt::Debug for super::UpdateLogMetricRequest {
966    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
967        let mut debug_struct = f.debug_struct("UpdateLogMetricRequest");
968        debug_struct.field("metric_name", &self.metric_name);
969        debug_struct.field("metric", &self.metric);
970        if !self._unknown_fields.is_empty() {
971            debug_struct.field("_unknown_fields", &self._unknown_fields);
972        }
973        debug_struct.finish()
974    }
975}
976
977impl std::fmt::Debug for super::DeleteLogMetricRequest {
978    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
979        let mut debug_struct = f.debug_struct("DeleteLogMetricRequest");
980        debug_struct.field("metric_name", &self.metric_name);
981        if !self._unknown_fields.is_empty() {
982            debug_struct.field("_unknown_fields", &self._unknown_fields);
983        }
984        debug_struct.finish()
985    }
986}