1#[allow(unused_imports)]
18use super::*;
19
20impl std::fmt::Debug for super::DeleteBucketRequest {
21 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
22 let mut debug_struct = f.debug_struct("DeleteBucketRequest");
23 debug_struct.field("name", &self.name);
24 debug_struct.field("if_metageneration_match", &self.if_metageneration_match);
25 debug_struct.field(
26 "if_metageneration_not_match",
27 &self.if_metageneration_not_match,
28 );
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::GetBucketRequest {
37 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
38 let mut debug_struct = f.debug_struct("GetBucketRequest");
39 debug_struct.field("name", &self.name);
40 debug_struct.field("if_metageneration_match", &self.if_metageneration_match);
41 debug_struct.field(
42 "if_metageneration_not_match",
43 &self.if_metageneration_not_match,
44 );
45 debug_struct.field("read_mask", &self.read_mask);
46 if !self._unknown_fields.is_empty() {
47 debug_struct.field("_unknown_fields", &self._unknown_fields);
48 }
49 debug_struct.finish()
50 }
51}
52
53impl std::fmt::Debug for super::CreateBucketRequest {
54 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
55 let mut debug_struct = f.debug_struct("CreateBucketRequest");
56 debug_struct.field("parent", &self.parent);
57 debug_struct.field("bucket", &self.bucket);
58 debug_struct.field("bucket_id", &self.bucket_id);
59 debug_struct.field("predefined_acl", &self.predefined_acl);
60 debug_struct.field(
61 "predefined_default_object_acl",
62 &self.predefined_default_object_acl,
63 );
64 debug_struct.field("enable_object_retention", &self.enable_object_retention);
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::ListBucketsRequest {
73 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
74 let mut debug_struct = f.debug_struct("ListBucketsRequest");
75 debug_struct.field("parent", &self.parent);
76 debug_struct.field("page_size", &self.page_size);
77 debug_struct.field("page_token", &self.page_token);
78 debug_struct.field("prefix", &self.prefix);
79 debug_struct.field("read_mask", &self.read_mask);
80 debug_struct.field("return_partial_success", &self.return_partial_success);
81 if !self._unknown_fields.is_empty() {
82 debug_struct.field("_unknown_fields", &self._unknown_fields);
83 }
84 debug_struct.finish()
85 }
86}
87
88impl std::fmt::Debug for super::ListBucketsResponse {
89 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
90 let mut debug_struct = f.debug_struct("ListBucketsResponse");
91 debug_struct.field("buckets", &self.buckets);
92 debug_struct.field("next_page_token", &self.next_page_token);
93 debug_struct.field("unreachable", &self.unreachable);
94 if !self._unknown_fields.is_empty() {
95 debug_struct.field("_unknown_fields", &self._unknown_fields);
96 }
97 debug_struct.finish()
98 }
99}
100
101impl std::fmt::Debug for super::LockBucketRetentionPolicyRequest {
102 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
103 let mut debug_struct = f.debug_struct("LockBucketRetentionPolicyRequest");
104 debug_struct.field("bucket", &self.bucket);
105 debug_struct.field("if_metageneration_match", &self.if_metageneration_match);
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::UpdateBucketRequest {
114 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
115 let mut debug_struct = f.debug_struct("UpdateBucketRequest");
116 debug_struct.field("bucket", &self.bucket);
117 debug_struct.field("if_metageneration_match", &self.if_metageneration_match);
118 debug_struct.field(
119 "if_metageneration_not_match",
120 &self.if_metageneration_not_match,
121 );
122 debug_struct.field("predefined_acl", &self.predefined_acl);
123 debug_struct.field(
124 "predefined_default_object_acl",
125 &self.predefined_default_object_acl,
126 );
127 debug_struct.field("update_mask", &self.update_mask);
128 if !self._unknown_fields.is_empty() {
129 debug_struct.field("_unknown_fields", &self._unknown_fields);
130 }
131 debug_struct.finish()
132 }
133}
134
135impl std::fmt::Debug for super::ComposeObjectRequest {
136 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
137 let mut debug_struct = f.debug_struct("ComposeObjectRequest");
138 debug_struct.field("destination", &self.destination);
139 debug_struct.field("source_objects", &self.source_objects);
140 debug_struct.field(
141 "destination_predefined_acl",
142 &self.destination_predefined_acl,
143 );
144 debug_struct.field("if_generation_match", &self.if_generation_match);
145 debug_struct.field("if_metageneration_match", &self.if_metageneration_match);
146 debug_struct.field("kms_key", &self.kms_key);
147 debug_struct.field(
148 "common_object_request_params",
149 &self.common_object_request_params,
150 );
151 debug_struct.field("object_checksums", &self.object_checksums);
152 if !self._unknown_fields.is_empty() {
153 debug_struct.field("_unknown_fields", &self._unknown_fields);
154 }
155 debug_struct.finish()
156 }
157}
158
159impl std::fmt::Debug for super::compose_object_request::SourceObject {
160 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
161 let mut debug_struct = f.debug_struct("SourceObject");
162 debug_struct.field("name", &self.name);
163 debug_struct.field("generation", &self.generation);
164 debug_struct.field("object_preconditions", &self.object_preconditions);
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::compose_object_request::source_object::ObjectPreconditions {
173 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
174 let mut debug_struct = f.debug_struct("ObjectPreconditions");
175 debug_struct.field("if_generation_match", &self.if_generation_match);
176 if !self._unknown_fields.is_empty() {
177 debug_struct.field("_unknown_fields", &self._unknown_fields);
178 }
179 debug_struct.finish()
180 }
181}
182
183impl std::fmt::Debug for super::DeleteObjectRequest {
184 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
185 let mut debug_struct = f.debug_struct("DeleteObjectRequest");
186 debug_struct.field("bucket", &self.bucket);
187 debug_struct.field("object", &self.object);
188 debug_struct.field("generation", &self.generation);
189 debug_struct.field("if_generation_match", &self.if_generation_match);
190 debug_struct.field("if_generation_not_match", &self.if_generation_not_match);
191 debug_struct.field("if_metageneration_match", &self.if_metageneration_match);
192 debug_struct.field(
193 "if_metageneration_not_match",
194 &self.if_metageneration_not_match,
195 );
196 debug_struct.field(
197 "common_object_request_params",
198 &self.common_object_request_params,
199 );
200 if !self._unknown_fields.is_empty() {
201 debug_struct.field("_unknown_fields", &self._unknown_fields);
202 }
203 debug_struct.finish()
204 }
205}
206
207impl std::fmt::Debug for super::RestoreObjectRequest {
208 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
209 let mut debug_struct = f.debug_struct("RestoreObjectRequest");
210 debug_struct.field("bucket", &self.bucket);
211 debug_struct.field("object", &self.object);
212 debug_struct.field("generation", &self.generation);
213 debug_struct.field("restore_token", &self.restore_token);
214 debug_struct.field("if_generation_match", &self.if_generation_match);
215 debug_struct.field("if_generation_not_match", &self.if_generation_not_match);
216 debug_struct.field("if_metageneration_match", &self.if_metageneration_match);
217 debug_struct.field(
218 "if_metageneration_not_match",
219 &self.if_metageneration_not_match,
220 );
221 debug_struct.field("copy_source_acl", &self.copy_source_acl);
222 debug_struct.field(
223 "common_object_request_params",
224 &self.common_object_request_params,
225 );
226 if !self._unknown_fields.is_empty() {
227 debug_struct.field("_unknown_fields", &self._unknown_fields);
228 }
229 debug_struct.finish()
230 }
231}
232
233impl std::fmt::Debug for super::ReadObjectRequest {
234 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
235 let mut debug_struct = f.debug_struct("ReadObjectRequest");
236 debug_struct.field("bucket", &self.bucket);
237 debug_struct.field("object", &self.object);
238 debug_struct.field("generation", &self.generation);
239 debug_struct.field("read_offset", &self.read_offset);
240 debug_struct.field("read_limit", &self.read_limit);
241 debug_struct.field("if_generation_match", &self.if_generation_match);
242 debug_struct.field("if_generation_not_match", &self.if_generation_not_match);
243 debug_struct.field("if_metageneration_match", &self.if_metageneration_match);
244 debug_struct.field(
245 "if_metageneration_not_match",
246 &self.if_metageneration_not_match,
247 );
248 debug_struct.field(
249 "common_object_request_params",
250 &self.common_object_request_params,
251 );
252 debug_struct.field("read_mask", &self.read_mask);
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::GetObjectRequest {
261 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
262 let mut debug_struct = f.debug_struct("GetObjectRequest");
263 debug_struct.field("bucket", &self.bucket);
264 debug_struct.field("object", &self.object);
265 debug_struct.field("generation", &self.generation);
266 debug_struct.field("soft_deleted", &self.soft_deleted);
267 debug_struct.field("if_generation_match", &self.if_generation_match);
268 debug_struct.field("if_generation_not_match", &self.if_generation_not_match);
269 debug_struct.field("if_metageneration_match", &self.if_metageneration_match);
270 debug_struct.field(
271 "if_metageneration_not_match",
272 &self.if_metageneration_not_match,
273 );
274 debug_struct.field(
275 "common_object_request_params",
276 &self.common_object_request_params,
277 );
278 debug_struct.field("read_mask", &self.read_mask);
279 debug_struct.field("restore_token", &self.restore_token);
280 if !self._unknown_fields.is_empty() {
281 debug_struct.field("_unknown_fields", &self._unknown_fields);
282 }
283 debug_struct.finish()
284 }
285}
286
287impl std::fmt::Debug for super::WriteObjectSpec {
288 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
289 let mut debug_struct = f.debug_struct("WriteObjectSpec");
290 debug_struct.field("resource", &self.resource);
291 debug_struct.field("predefined_acl", &self.predefined_acl);
292 debug_struct.field("if_generation_match", &self.if_generation_match);
293 debug_struct.field("if_generation_not_match", &self.if_generation_not_match);
294 debug_struct.field("if_metageneration_match", &self.if_metageneration_match);
295 debug_struct.field(
296 "if_metageneration_not_match",
297 &self.if_metageneration_not_match,
298 );
299 debug_struct.field("object_size", &self.object_size);
300 debug_struct.field("appendable", &self.appendable);
301 if !self._unknown_fields.is_empty() {
302 debug_struct.field("_unknown_fields", &self._unknown_fields);
303 }
304 debug_struct.finish()
305 }
306}
307
308impl std::fmt::Debug for super::ListObjectsRequest {
309 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
310 let mut debug_struct = f.debug_struct("ListObjectsRequest");
311 debug_struct.field("parent", &self.parent);
312 debug_struct.field("page_size", &self.page_size);
313 debug_struct.field("page_token", &self.page_token);
314 debug_struct.field("delimiter", &self.delimiter);
315 debug_struct.field(
316 "include_trailing_delimiter",
317 &self.include_trailing_delimiter,
318 );
319 debug_struct.field("prefix", &self.prefix);
320 debug_struct.field("versions", &self.versions);
321 debug_struct.field("read_mask", &self.read_mask);
322 debug_struct.field("lexicographic_start", &self.lexicographic_start);
323 debug_struct.field("lexicographic_end", &self.lexicographic_end);
324 debug_struct.field("soft_deleted", &self.soft_deleted);
325 debug_struct.field(
326 "include_folders_as_prefixes",
327 &self.include_folders_as_prefixes,
328 );
329 debug_struct.field("match_glob", &self.match_glob);
330 debug_struct.field("filter", &self.filter);
331 if !self._unknown_fields.is_empty() {
332 debug_struct.field("_unknown_fields", &self._unknown_fields);
333 }
334 debug_struct.finish()
335 }
336}
337
338impl std::fmt::Debug for super::RewriteObjectRequest {
339 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
340 let mut debug_struct = f.debug_struct("RewriteObjectRequest");
341 debug_struct.field("destination_name", &self.destination_name);
342 debug_struct.field("destination_bucket", &self.destination_bucket);
343 debug_struct.field("destination_kms_key", &self.destination_kms_key);
344 debug_struct.field("destination", &self.destination);
345 debug_struct.field("source_bucket", &self.source_bucket);
346 debug_struct.field("source_object", &self.source_object);
347 debug_struct.field("source_generation", &self.source_generation);
348 debug_struct.field("rewrite_token", &self.rewrite_token);
349 debug_struct.field(
350 "destination_predefined_acl",
351 &self.destination_predefined_acl,
352 );
353 debug_struct.field("if_generation_match", &self.if_generation_match);
354 debug_struct.field("if_generation_not_match", &self.if_generation_not_match);
355 debug_struct.field("if_metageneration_match", &self.if_metageneration_match);
356 debug_struct.field(
357 "if_metageneration_not_match",
358 &self.if_metageneration_not_match,
359 );
360 debug_struct.field(
361 "if_source_generation_match",
362 &self.if_source_generation_match,
363 );
364 debug_struct.field(
365 "if_source_generation_not_match",
366 &self.if_source_generation_not_match,
367 );
368 debug_struct.field(
369 "if_source_metageneration_match",
370 &self.if_source_metageneration_match,
371 );
372 debug_struct.field(
373 "if_source_metageneration_not_match",
374 &self.if_source_metageneration_not_match,
375 );
376 debug_struct.field(
377 "max_bytes_rewritten_per_call",
378 &self.max_bytes_rewritten_per_call,
379 );
380 debug_struct.field(
381 "copy_source_encryption_algorithm",
382 &self.copy_source_encryption_algorithm,
383 );
384 debug_struct.field(
385 "copy_source_encryption_key_bytes",
386 &self.copy_source_encryption_key_bytes,
387 );
388 debug_struct.field(
389 "copy_source_encryption_key_sha256_bytes",
390 &self.copy_source_encryption_key_sha256_bytes,
391 );
392 debug_struct.field(
393 "common_object_request_params",
394 &self.common_object_request_params,
395 );
396 debug_struct.field("object_checksums", &self.object_checksums);
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::RewriteResponse {
405 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
406 let mut debug_struct = f.debug_struct("RewriteResponse");
407 debug_struct.field("total_bytes_rewritten", &self.total_bytes_rewritten);
408 debug_struct.field("object_size", &self.object_size);
409 debug_struct.field("done", &self.done);
410 debug_struct.field("rewrite_token", &self.rewrite_token);
411 debug_struct.field("resource", &self.resource);
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::MoveObjectRequest {
420 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
421 let mut debug_struct = f.debug_struct("MoveObjectRequest");
422 debug_struct.field("bucket", &self.bucket);
423 debug_struct.field("source_object", &self.source_object);
424 debug_struct.field("destination_object", &self.destination_object);
425 debug_struct.field(
426 "if_source_generation_match",
427 &self.if_source_generation_match,
428 );
429 debug_struct.field(
430 "if_source_generation_not_match",
431 &self.if_source_generation_not_match,
432 );
433 debug_struct.field(
434 "if_source_metageneration_match",
435 &self.if_source_metageneration_match,
436 );
437 debug_struct.field(
438 "if_source_metageneration_not_match",
439 &self.if_source_metageneration_not_match,
440 );
441 debug_struct.field("if_generation_match", &self.if_generation_match);
442 debug_struct.field("if_generation_not_match", &self.if_generation_not_match);
443 debug_struct.field("if_metageneration_match", &self.if_metageneration_match);
444 debug_struct.field(
445 "if_metageneration_not_match",
446 &self.if_metageneration_not_match,
447 );
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::UpdateObjectRequest {
456 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
457 let mut debug_struct = f.debug_struct("UpdateObjectRequest");
458 debug_struct.field("object", &self.object);
459 debug_struct.field("if_generation_match", &self.if_generation_match);
460 debug_struct.field("if_generation_not_match", &self.if_generation_not_match);
461 debug_struct.field("if_metageneration_match", &self.if_metageneration_match);
462 debug_struct.field(
463 "if_metageneration_not_match",
464 &self.if_metageneration_not_match,
465 );
466 debug_struct.field("predefined_acl", &self.predefined_acl);
467 debug_struct.field("update_mask", &self.update_mask);
468 debug_struct.field(
469 "common_object_request_params",
470 &self.common_object_request_params,
471 );
472 debug_struct.field(
473 "override_unlocked_retention",
474 &self.override_unlocked_retention,
475 );
476 if !self._unknown_fields.is_empty() {
477 debug_struct.field("_unknown_fields", &self._unknown_fields);
478 }
479 debug_struct.finish()
480 }
481}
482
483impl std::fmt::Debug for super::CommonObjectRequestParams {
484 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
485 let mut debug_struct = f.debug_struct("CommonObjectRequestParams");
486 debug_struct.field("encryption_algorithm", &self.encryption_algorithm);
487 debug_struct.field("encryption_key_bytes", &self.encryption_key_bytes);
488 debug_struct.field(
489 "encryption_key_sha256_bytes",
490 &self.encryption_key_sha256_bytes,
491 );
492 if !self._unknown_fields.is_empty() {
493 debug_struct.field("_unknown_fields", &self._unknown_fields);
494 }
495 debug_struct.finish()
496 }
497}
498
499impl std::fmt::Debug for super::Bucket {
500 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
501 let mut debug_struct = f.debug_struct("Bucket");
502 debug_struct.field("name", &self.name);
503 debug_struct.field("bucket_id", &self.bucket_id);
504 debug_struct.field("etag", &self.etag);
505 debug_struct.field("project", &self.project);
506 debug_struct.field("metageneration", &self.metageneration);
507 debug_struct.field("location", &self.location);
508 debug_struct.field("location_type", &self.location_type);
509 debug_struct.field("storage_class", &self.storage_class);
510 debug_struct.field("rpo", &self.rpo);
511 debug_struct.field("acl", &self.acl);
512 debug_struct.field("default_object_acl", &self.default_object_acl);
513 debug_struct.field("lifecycle", &self.lifecycle);
514 debug_struct.field("create_time", &self.create_time);
515 debug_struct.field("cors", &self.cors);
516 debug_struct.field("update_time", &self.update_time);
517 debug_struct.field("default_event_based_hold", &self.default_event_based_hold);
518 debug_struct.field("labels", &self.labels);
519 debug_struct.field("website", &self.website);
520 debug_struct.field("versioning", &self.versioning);
521 debug_struct.field("logging", &self.logging);
522 debug_struct.field("owner", &self.owner);
523 debug_struct.field("encryption", &self.encryption);
524 debug_struct.field("billing", &self.billing);
525 debug_struct.field("retention_policy", &self.retention_policy);
526 debug_struct.field("iam_config", &self.iam_config);
527 debug_struct.field("satisfies_pzs", &self.satisfies_pzs);
528 debug_struct.field("custom_placement_config", &self.custom_placement_config);
529 debug_struct.field("autoclass", &self.autoclass);
530 debug_struct.field("hierarchical_namespace", &self.hierarchical_namespace);
531 debug_struct.field("soft_delete_policy", &self.soft_delete_policy);
532 debug_struct.field("object_retention", &self.object_retention);
533 debug_struct.field("ip_filter", &self.ip_filter);
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::bucket::Billing {
542 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
543 let mut debug_struct = f.debug_struct("Billing");
544 debug_struct.field("requester_pays", &self.requester_pays);
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::bucket::Cors {
553 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
554 let mut debug_struct = f.debug_struct("Cors");
555 debug_struct.field("origin", &self.origin);
556 debug_struct.field("method", &self.method);
557 debug_struct.field("response_header", &self.response_header);
558 debug_struct.field("max_age_seconds", &self.max_age_seconds);
559 if !self._unknown_fields.is_empty() {
560 debug_struct.field("_unknown_fields", &self._unknown_fields);
561 }
562 debug_struct.finish()
563 }
564}
565
566impl std::fmt::Debug for super::bucket::Encryption {
567 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
568 let mut debug_struct = f.debug_struct("Encryption");
569 debug_struct.field("default_kms_key", &self.default_kms_key);
570 debug_struct.field(
571 "google_managed_encryption_enforcement_config",
572 &self.google_managed_encryption_enforcement_config,
573 );
574 debug_struct.field(
575 "customer_managed_encryption_enforcement_config",
576 &self.customer_managed_encryption_enforcement_config,
577 );
578 debug_struct.field(
579 "customer_supplied_encryption_enforcement_config",
580 &self.customer_supplied_encryption_enforcement_config,
581 );
582 if !self._unknown_fields.is_empty() {
583 debug_struct.field("_unknown_fields", &self._unknown_fields);
584 }
585 debug_struct.finish()
586 }
587}
588
589impl std::fmt::Debug for super::bucket::encryption::GoogleManagedEncryptionEnforcementConfig {
590 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
591 let mut debug_struct = f.debug_struct("GoogleManagedEncryptionEnforcementConfig");
592 debug_struct.field("restriction_mode", &self.restriction_mode);
593 debug_struct.field("effective_time", &self.effective_time);
594 if !self._unknown_fields.is_empty() {
595 debug_struct.field("_unknown_fields", &self._unknown_fields);
596 }
597 debug_struct.finish()
598 }
599}
600
601impl std::fmt::Debug for super::bucket::encryption::CustomerManagedEncryptionEnforcementConfig {
602 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
603 let mut debug_struct = f.debug_struct("CustomerManagedEncryptionEnforcementConfig");
604 debug_struct.field("restriction_mode", &self.restriction_mode);
605 debug_struct.field("effective_time", &self.effective_time);
606 if !self._unknown_fields.is_empty() {
607 debug_struct.field("_unknown_fields", &self._unknown_fields);
608 }
609 debug_struct.finish()
610 }
611}
612
613impl std::fmt::Debug for super::bucket::encryption::CustomerSuppliedEncryptionEnforcementConfig {
614 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
615 let mut debug_struct = f.debug_struct("CustomerSuppliedEncryptionEnforcementConfig");
616 debug_struct.field("restriction_mode", &self.restriction_mode);
617 debug_struct.field("effective_time", &self.effective_time);
618 if !self._unknown_fields.is_empty() {
619 debug_struct.field("_unknown_fields", &self._unknown_fields);
620 }
621 debug_struct.finish()
622 }
623}
624
625impl std::fmt::Debug for super::bucket::IamConfig {
626 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
627 let mut debug_struct = f.debug_struct("IamConfig");
628 debug_struct.field(
629 "uniform_bucket_level_access",
630 &self.uniform_bucket_level_access,
631 );
632 debug_struct.field("public_access_prevention", &self.public_access_prevention);
633 if !self._unknown_fields.is_empty() {
634 debug_struct.field("_unknown_fields", &self._unknown_fields);
635 }
636 debug_struct.finish()
637 }
638}
639
640impl std::fmt::Debug for super::bucket::iam_config::UniformBucketLevelAccess {
641 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
642 let mut debug_struct = f.debug_struct("UniformBucketLevelAccess");
643 debug_struct.field("enabled", &self.enabled);
644 debug_struct.field("lock_time", &self.lock_time);
645 if !self._unknown_fields.is_empty() {
646 debug_struct.field("_unknown_fields", &self._unknown_fields);
647 }
648 debug_struct.finish()
649 }
650}
651
652impl std::fmt::Debug for super::bucket::Lifecycle {
653 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
654 let mut debug_struct = f.debug_struct("Lifecycle");
655 debug_struct.field("rule", &self.rule);
656 if !self._unknown_fields.is_empty() {
657 debug_struct.field("_unknown_fields", &self._unknown_fields);
658 }
659 debug_struct.finish()
660 }
661}
662
663impl std::fmt::Debug for super::bucket::lifecycle::Rule {
664 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
665 let mut debug_struct = f.debug_struct("Rule");
666 debug_struct.field("action", &self.action);
667 debug_struct.field("condition", &self.condition);
668 if !self._unknown_fields.is_empty() {
669 debug_struct.field("_unknown_fields", &self._unknown_fields);
670 }
671 debug_struct.finish()
672 }
673}
674
675impl std::fmt::Debug for super::bucket::lifecycle::rule::Action {
676 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
677 let mut debug_struct = f.debug_struct("Action");
678 debug_struct.field("r#type", &self.r#type);
679 debug_struct.field("storage_class", &self.storage_class);
680 if !self._unknown_fields.is_empty() {
681 debug_struct.field("_unknown_fields", &self._unknown_fields);
682 }
683 debug_struct.finish()
684 }
685}
686
687impl std::fmt::Debug for super::bucket::lifecycle::rule::Condition {
688 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
689 let mut debug_struct = f.debug_struct("Condition");
690 debug_struct.field("age_days", &self.age_days);
691 debug_struct.field("created_before", &self.created_before);
692 debug_struct.field("is_live", &self.is_live);
693 debug_struct.field("num_newer_versions", &self.num_newer_versions);
694 debug_struct.field("matches_storage_class", &self.matches_storage_class);
695 debug_struct.field("days_since_custom_time", &self.days_since_custom_time);
696 debug_struct.field("custom_time_before", &self.custom_time_before);
697 debug_struct.field(
698 "days_since_noncurrent_time",
699 &self.days_since_noncurrent_time,
700 );
701 debug_struct.field("noncurrent_time_before", &self.noncurrent_time_before);
702 debug_struct.field("matches_prefix", &self.matches_prefix);
703 debug_struct.field("matches_suffix", &self.matches_suffix);
704 if !self._unknown_fields.is_empty() {
705 debug_struct.field("_unknown_fields", &self._unknown_fields);
706 }
707 debug_struct.finish()
708 }
709}
710
711impl std::fmt::Debug for super::bucket::Logging {
712 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
713 let mut debug_struct = f.debug_struct("Logging");
714 debug_struct.field("log_bucket", &self.log_bucket);
715 debug_struct.field("log_object_prefix", &self.log_object_prefix);
716 if !self._unknown_fields.is_empty() {
717 debug_struct.field("_unknown_fields", &self._unknown_fields);
718 }
719 debug_struct.finish()
720 }
721}
722
723impl std::fmt::Debug for super::bucket::ObjectRetention {
724 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
725 let mut debug_struct = f.debug_struct("ObjectRetention");
726 debug_struct.field("enabled", &self.enabled);
727 if !self._unknown_fields.is_empty() {
728 debug_struct.field("_unknown_fields", &self._unknown_fields);
729 }
730 debug_struct.finish()
731 }
732}
733
734impl std::fmt::Debug for super::bucket::RetentionPolicy {
735 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
736 let mut debug_struct = f.debug_struct("RetentionPolicy");
737 debug_struct.field("effective_time", &self.effective_time);
738 debug_struct.field("is_locked", &self.is_locked);
739 debug_struct.field("retention_duration", &self.retention_duration);
740 if !self._unknown_fields.is_empty() {
741 debug_struct.field("_unknown_fields", &self._unknown_fields);
742 }
743 debug_struct.finish()
744 }
745}
746
747impl std::fmt::Debug for super::bucket::SoftDeletePolicy {
748 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
749 let mut debug_struct = f.debug_struct("SoftDeletePolicy");
750 debug_struct.field("retention_duration", &self.retention_duration);
751 debug_struct.field("effective_time", &self.effective_time);
752 if !self._unknown_fields.is_empty() {
753 debug_struct.field("_unknown_fields", &self._unknown_fields);
754 }
755 debug_struct.finish()
756 }
757}
758
759impl std::fmt::Debug for super::bucket::Versioning {
760 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
761 let mut debug_struct = f.debug_struct("Versioning");
762 debug_struct.field("enabled", &self.enabled);
763 if !self._unknown_fields.is_empty() {
764 debug_struct.field("_unknown_fields", &self._unknown_fields);
765 }
766 debug_struct.finish()
767 }
768}
769
770impl std::fmt::Debug for super::bucket::Website {
771 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
772 let mut debug_struct = f.debug_struct("Website");
773 debug_struct.field("main_page_suffix", &self.main_page_suffix);
774 debug_struct.field("not_found_page", &self.not_found_page);
775 if !self._unknown_fields.is_empty() {
776 debug_struct.field("_unknown_fields", &self._unknown_fields);
777 }
778 debug_struct.finish()
779 }
780}
781
782impl std::fmt::Debug for super::bucket::CustomPlacementConfig {
783 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
784 let mut debug_struct = f.debug_struct("CustomPlacementConfig");
785 debug_struct.field("data_locations", &self.data_locations);
786 if !self._unknown_fields.is_empty() {
787 debug_struct.field("_unknown_fields", &self._unknown_fields);
788 }
789 debug_struct.finish()
790 }
791}
792
793impl std::fmt::Debug for super::bucket::Autoclass {
794 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
795 let mut debug_struct = f.debug_struct("Autoclass");
796 debug_struct.field("enabled", &self.enabled);
797 debug_struct.field("toggle_time", &self.toggle_time);
798 debug_struct.field("terminal_storage_class", &self.terminal_storage_class);
799 debug_struct.field(
800 "terminal_storage_class_update_time",
801 &self.terminal_storage_class_update_time,
802 );
803 if !self._unknown_fields.is_empty() {
804 debug_struct.field("_unknown_fields", &self._unknown_fields);
805 }
806 debug_struct.finish()
807 }
808}
809
810impl std::fmt::Debug for super::bucket::IpFilter {
811 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
812 let mut debug_struct = f.debug_struct("IpFilter");
813 debug_struct.field("mode", &self.mode);
814 debug_struct.field("public_network_source", &self.public_network_source);
815 debug_struct.field("vpc_network_sources", &self.vpc_network_sources);
816 debug_struct.field("allow_cross_org_vpcs", &self.allow_cross_org_vpcs);
817 debug_struct.field(
818 "allow_all_service_agent_access",
819 &self.allow_all_service_agent_access,
820 );
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::bucket::ip_filter::PublicNetworkSource {
829 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
830 let mut debug_struct = f.debug_struct("PublicNetworkSource");
831 debug_struct.field("allowed_ip_cidr_ranges", &self.allowed_ip_cidr_ranges);
832 if !self._unknown_fields.is_empty() {
833 debug_struct.field("_unknown_fields", &self._unknown_fields);
834 }
835 debug_struct.finish()
836 }
837}
838
839impl std::fmt::Debug for super::bucket::ip_filter::VpcNetworkSource {
840 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
841 let mut debug_struct = f.debug_struct("VpcNetworkSource");
842 debug_struct.field("network", &self.network);
843 debug_struct.field("allowed_ip_cidr_ranges", &self.allowed_ip_cidr_ranges);
844 if !self._unknown_fields.is_empty() {
845 debug_struct.field("_unknown_fields", &self._unknown_fields);
846 }
847 debug_struct.finish()
848 }
849}
850
851impl std::fmt::Debug for super::bucket::HierarchicalNamespace {
852 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
853 let mut debug_struct = f.debug_struct("HierarchicalNamespace");
854 debug_struct.field("enabled", &self.enabled);
855 if !self._unknown_fields.is_empty() {
856 debug_struct.field("_unknown_fields", &self._unknown_fields);
857 }
858 debug_struct.finish()
859 }
860}
861
862impl std::fmt::Debug for super::BucketAccessControl {
863 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
864 let mut debug_struct = f.debug_struct("BucketAccessControl");
865 debug_struct.field("role", &self.role);
866 debug_struct.field("id", &self.id);
867 debug_struct.field("entity", &self.entity);
868 debug_struct.field("entity_alt", &self.entity_alt);
869 debug_struct.field("entity_id", &self.entity_id);
870 debug_struct.field("etag", &self.etag);
871 debug_struct.field("email", &self.email);
872 debug_struct.field("domain", &self.domain);
873 debug_struct.field("project_team", &self.project_team);
874 if !self._unknown_fields.is_empty() {
875 debug_struct.field("_unknown_fields", &self._unknown_fields);
876 }
877 debug_struct.finish()
878 }
879}
880
881impl std::fmt::Debug for super::ObjectChecksums {
882 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
883 let mut debug_struct = f.debug_struct("ObjectChecksums");
884 debug_struct.field("crc32c", &self.crc32c);
885 debug_struct.field("md5_hash", &self.md5_hash);
886 if !self._unknown_fields.is_empty() {
887 debug_struct.field("_unknown_fields", &self._unknown_fields);
888 }
889 debug_struct.finish()
890 }
891}
892
893impl std::fmt::Debug for super::ObjectCustomContextPayload {
894 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
895 let mut debug_struct = f.debug_struct("ObjectCustomContextPayload");
896 debug_struct.field("value", &self.value);
897 debug_struct.field("create_time", &self.create_time);
898 debug_struct.field("update_time", &self.update_time);
899 if !self._unknown_fields.is_empty() {
900 debug_struct.field("_unknown_fields", &self._unknown_fields);
901 }
902 debug_struct.finish()
903 }
904}
905
906impl std::fmt::Debug for super::ObjectContexts {
907 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
908 let mut debug_struct = f.debug_struct("ObjectContexts");
909 debug_struct.field("custom", &self.custom);
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::CustomerEncryption {
918 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
919 let mut debug_struct = f.debug_struct("CustomerEncryption");
920 debug_struct.field("encryption_algorithm", &self.encryption_algorithm);
921 debug_struct.field("key_sha256_bytes", &self.key_sha256_bytes);
922 if !self._unknown_fields.is_empty() {
923 debug_struct.field("_unknown_fields", &self._unknown_fields);
924 }
925 debug_struct.finish()
926 }
927}
928
929impl std::fmt::Debug for super::Object {
930 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
931 let mut debug_struct = f.debug_struct("Object");
932 debug_struct.field("name", &self.name);
933 debug_struct.field("bucket", &self.bucket);
934 debug_struct.field("etag", &self.etag);
935 debug_struct.field("generation", &self.generation);
936 debug_struct.field("restore_token", &self.restore_token);
937 debug_struct.field("metageneration", &self.metageneration);
938 debug_struct.field("storage_class", &self.storage_class);
939 debug_struct.field("size", &self.size);
940 debug_struct.field("content_encoding", &self.content_encoding);
941 debug_struct.field("content_disposition", &self.content_disposition);
942 debug_struct.field("cache_control", &self.cache_control);
943 debug_struct.field("acl", &self.acl);
944 debug_struct.field("content_language", &self.content_language);
945 debug_struct.field("delete_time", &self.delete_time);
946 debug_struct.field("finalize_time", &self.finalize_time);
947 debug_struct.field("content_type", &self.content_type);
948 debug_struct.field("create_time", &self.create_time);
949 debug_struct.field("component_count", &self.component_count);
950 debug_struct.field("checksums", &self.checksums);
951 debug_struct.field("update_time", &self.update_time);
952 debug_struct.field("kms_key", &self.kms_key);
953 debug_struct.field("update_storage_class_time", &self.update_storage_class_time);
954 debug_struct.field("temporary_hold", &self.temporary_hold);
955 debug_struct.field("retention_expire_time", &self.retention_expire_time);
956 debug_struct.field("metadata", &self.metadata);
957 debug_struct.field("contexts", &self.contexts);
958 debug_struct.field("event_based_hold", &self.event_based_hold);
959 debug_struct.field("owner", &self.owner);
960 debug_struct.field("customer_encryption", &self.customer_encryption);
961 debug_struct.field("custom_time", &self.custom_time);
962 debug_struct.field("soft_delete_time", &self.soft_delete_time);
963 debug_struct.field("hard_delete_time", &self.hard_delete_time);
964 debug_struct.field("retention", &self.retention);
965 if !self._unknown_fields.is_empty() {
966 debug_struct.field("_unknown_fields", &self._unknown_fields);
967 }
968 debug_struct.finish()
969 }
970}
971
972impl std::fmt::Debug for super::object::Retention {
973 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
974 let mut debug_struct = f.debug_struct("Retention");
975 debug_struct.field("mode", &self.mode);
976 debug_struct.field("retain_until_time", &self.retain_until_time);
977 if !self._unknown_fields.is_empty() {
978 debug_struct.field("_unknown_fields", &self._unknown_fields);
979 }
980 debug_struct.finish()
981 }
982}
983
984impl std::fmt::Debug for super::ObjectAccessControl {
985 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
986 let mut debug_struct = f.debug_struct("ObjectAccessControl");
987 debug_struct.field("role", &self.role);
988 debug_struct.field("id", &self.id);
989 debug_struct.field("entity", &self.entity);
990 debug_struct.field("entity_alt", &self.entity_alt);
991 debug_struct.field("entity_id", &self.entity_id);
992 debug_struct.field("etag", &self.etag);
993 debug_struct.field("email", &self.email);
994 debug_struct.field("domain", &self.domain);
995 debug_struct.field("project_team", &self.project_team);
996 if !self._unknown_fields.is_empty() {
997 debug_struct.field("_unknown_fields", &self._unknown_fields);
998 }
999 debug_struct.finish()
1000 }
1001}
1002
1003impl std::fmt::Debug for super::ListObjectsResponse {
1004 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1005 let mut debug_struct = f.debug_struct("ListObjectsResponse");
1006 debug_struct.field("objects", &self.objects);
1007 debug_struct.field("prefixes", &self.prefixes);
1008 debug_struct.field("next_page_token", &self.next_page_token);
1009 if !self._unknown_fields.is_empty() {
1010 debug_struct.field("_unknown_fields", &self._unknown_fields);
1011 }
1012 debug_struct.finish()
1013 }
1014}
1015
1016impl std::fmt::Debug for super::ProjectTeam {
1017 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1018 let mut debug_struct = f.debug_struct("ProjectTeam");
1019 debug_struct.field("project_number", &self.project_number);
1020 debug_struct.field("team", &self.team);
1021 if !self._unknown_fields.is_empty() {
1022 debug_struct.field("_unknown_fields", &self._unknown_fields);
1023 }
1024 debug_struct.finish()
1025 }
1026}
1027
1028impl std::fmt::Debug for super::Owner {
1029 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1030 let mut debug_struct = f.debug_struct("Owner");
1031 debug_struct.field("entity", &self.entity);
1032 debug_struct.field("entity_id", &self.entity_id);
1033 if !self._unknown_fields.is_empty() {
1034 debug_struct.field("_unknown_fields", &self._unknown_fields);
1035 }
1036 debug_struct.finish()
1037 }
1038}