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 debug_struct.field("delete_source_objects", &self.delete_source_objects);
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::compose_object_request::SourceObject {
161 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
162 let mut debug_struct = f.debug_struct("SourceObject");
163 debug_struct.field("name", &self.name);
164 debug_struct.field("generation", &self.generation);
165 debug_struct.field("object_preconditions", &self.object_preconditions);
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::compose_object_request::source_object::ObjectPreconditions {
174 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
175 let mut debug_struct = f.debug_struct("ObjectPreconditions");
176 debug_struct.field("if_generation_match", &self.if_generation_match);
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::DeleteObjectRequest {
185 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
186 let mut debug_struct = f.debug_struct("DeleteObjectRequest");
187 debug_struct.field("bucket", &self.bucket);
188 debug_struct.field("object", &self.object);
189 debug_struct.field("generation", &self.generation);
190 debug_struct.field("if_generation_match", &self.if_generation_match);
191 debug_struct.field("if_generation_not_match", &self.if_generation_not_match);
192 debug_struct.field("if_metageneration_match", &self.if_metageneration_match);
193 debug_struct.field(
194 "if_metageneration_not_match",
195 &self.if_metageneration_not_match,
196 );
197 debug_struct.field(
198 "common_object_request_params",
199 &self.common_object_request_params,
200 );
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::RestoreObjectRequest {
209 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
210 let mut debug_struct = f.debug_struct("RestoreObjectRequest");
211 debug_struct.field("bucket", &self.bucket);
212 debug_struct.field("object", &self.object);
213 debug_struct.field("generation", &self.generation);
214 debug_struct.field("restore_token", &self.restore_token);
215 debug_struct.field("if_generation_match", &self.if_generation_match);
216 debug_struct.field("if_generation_not_match", &self.if_generation_not_match);
217 debug_struct.field("if_metageneration_match", &self.if_metageneration_match);
218 debug_struct.field(
219 "if_metageneration_not_match",
220 &self.if_metageneration_not_match,
221 );
222 debug_struct.field("copy_source_acl", &self.copy_source_acl);
223 debug_struct.field(
224 "common_object_request_params",
225 &self.common_object_request_params,
226 );
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::ReadObjectRequest {
235 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
236 let mut debug_struct = f.debug_struct("ReadObjectRequest");
237 debug_struct.field("bucket", &self.bucket);
238 debug_struct.field("object", &self.object);
239 debug_struct.field("generation", &self.generation);
240 debug_struct.field("read_offset", &self.read_offset);
241 debug_struct.field("read_limit", &self.read_limit);
242 debug_struct.field("if_generation_match", &self.if_generation_match);
243 debug_struct.field("if_generation_not_match", &self.if_generation_not_match);
244 debug_struct.field("if_metageneration_match", &self.if_metageneration_match);
245 debug_struct.field(
246 "if_metageneration_not_match",
247 &self.if_metageneration_not_match,
248 );
249 debug_struct.field(
250 "common_object_request_params",
251 &self.common_object_request_params,
252 );
253 debug_struct.field("read_mask", &self.read_mask);
254 if !self._unknown_fields.is_empty() {
255 debug_struct.field("_unknown_fields", &self._unknown_fields);
256 }
257 debug_struct.finish()
258 }
259}
260
261impl std::fmt::Debug for super::GetObjectRequest {
262 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
263 let mut debug_struct = f.debug_struct("GetObjectRequest");
264 debug_struct.field("bucket", &self.bucket);
265 debug_struct.field("object", &self.object);
266 debug_struct.field("generation", &self.generation);
267 debug_struct.field("soft_deleted", &self.soft_deleted);
268 debug_struct.field("if_generation_match", &self.if_generation_match);
269 debug_struct.field("if_generation_not_match", &self.if_generation_not_match);
270 debug_struct.field("if_metageneration_match", &self.if_metageneration_match);
271 debug_struct.field(
272 "if_metageneration_not_match",
273 &self.if_metageneration_not_match,
274 );
275 debug_struct.field(
276 "common_object_request_params",
277 &self.common_object_request_params,
278 );
279 debug_struct.field("read_mask", &self.read_mask);
280 debug_struct.field("restore_token", &self.restore_token);
281 if !self._unknown_fields.is_empty() {
282 debug_struct.field("_unknown_fields", &self._unknown_fields);
283 }
284 debug_struct.finish()
285 }
286}
287
288impl std::fmt::Debug for super::WriteObjectSpec {
289 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
290 let mut debug_struct = f.debug_struct("WriteObjectSpec");
291 debug_struct.field("resource", &self.resource);
292 debug_struct.field("predefined_acl", &self.predefined_acl);
293 debug_struct.field("if_generation_match", &self.if_generation_match);
294 debug_struct.field("if_generation_not_match", &self.if_generation_not_match);
295 debug_struct.field("if_metageneration_match", &self.if_metageneration_match);
296 debug_struct.field(
297 "if_metageneration_not_match",
298 &self.if_metageneration_not_match,
299 );
300 debug_struct.field("object_size", &self.object_size);
301 debug_struct.field("appendable", &self.appendable);
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::ListObjectsRequest {
310 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
311 let mut debug_struct = f.debug_struct("ListObjectsRequest");
312 debug_struct.field("parent", &self.parent);
313 debug_struct.field("page_size", &self.page_size);
314 debug_struct.field("page_token", &self.page_token);
315 debug_struct.field("delimiter", &self.delimiter);
316 debug_struct.field(
317 "include_trailing_delimiter",
318 &self.include_trailing_delimiter,
319 );
320 debug_struct.field("prefix", &self.prefix);
321 debug_struct.field("versions", &self.versions);
322 debug_struct.field("read_mask", &self.read_mask);
323 debug_struct.field("lexicographic_start", &self.lexicographic_start);
324 debug_struct.field("lexicographic_end", &self.lexicographic_end);
325 debug_struct.field("soft_deleted", &self.soft_deleted);
326 debug_struct.field(
327 "include_folders_as_prefixes",
328 &self.include_folders_as_prefixes,
329 );
330 debug_struct.field("match_glob", &self.match_glob);
331 debug_struct.field("filter", &self.filter);
332 if !self._unknown_fields.is_empty() {
333 debug_struct.field("_unknown_fields", &self._unknown_fields);
334 }
335 debug_struct.finish()
336 }
337}
338
339impl std::fmt::Debug for super::RewriteObjectRequest {
340 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
341 let mut debug_struct = f.debug_struct("RewriteObjectRequest");
342 debug_struct.field("destination_name", &self.destination_name);
343 debug_struct.field("destination_bucket", &self.destination_bucket);
344 debug_struct.field("destination_kms_key", &self.destination_kms_key);
345 debug_struct.field("destination", &self.destination);
346 debug_struct.field("source_bucket", &self.source_bucket);
347 debug_struct.field("source_object", &self.source_object);
348 debug_struct.field("source_generation", &self.source_generation);
349 debug_struct.field("rewrite_token", &self.rewrite_token);
350 debug_struct.field(
351 "destination_predefined_acl",
352 &self.destination_predefined_acl,
353 );
354 debug_struct.field("if_generation_match", &self.if_generation_match);
355 debug_struct.field("if_generation_not_match", &self.if_generation_not_match);
356 debug_struct.field("if_metageneration_match", &self.if_metageneration_match);
357 debug_struct.field(
358 "if_metageneration_not_match",
359 &self.if_metageneration_not_match,
360 );
361 debug_struct.field(
362 "if_source_generation_match",
363 &self.if_source_generation_match,
364 );
365 debug_struct.field(
366 "if_source_generation_not_match",
367 &self.if_source_generation_not_match,
368 );
369 debug_struct.field(
370 "if_source_metageneration_match",
371 &self.if_source_metageneration_match,
372 );
373 debug_struct.field(
374 "if_source_metageneration_not_match",
375 &self.if_source_metageneration_not_match,
376 );
377 debug_struct.field(
378 "max_bytes_rewritten_per_call",
379 &self.max_bytes_rewritten_per_call,
380 );
381 debug_struct.field(
382 "copy_source_encryption_algorithm",
383 &self.copy_source_encryption_algorithm,
384 );
385 debug_struct.field(
386 "copy_source_encryption_key_bytes",
387 &self.copy_source_encryption_key_bytes,
388 );
389 debug_struct.field(
390 "copy_source_encryption_key_sha256_bytes",
391 &self.copy_source_encryption_key_sha256_bytes,
392 );
393 debug_struct.field(
394 "common_object_request_params",
395 &self.common_object_request_params,
396 );
397 debug_struct.field("object_checksums", &self.object_checksums);
398 if !self._unknown_fields.is_empty() {
399 debug_struct.field("_unknown_fields", &self._unknown_fields);
400 }
401 debug_struct.finish()
402 }
403}
404
405impl std::fmt::Debug for super::RewriteResponse {
406 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
407 let mut debug_struct = f.debug_struct("RewriteResponse");
408 debug_struct.field("total_bytes_rewritten", &self.total_bytes_rewritten);
409 debug_struct.field("object_size", &self.object_size);
410 debug_struct.field("done", &self.done);
411 debug_struct.field("rewrite_token", &self.rewrite_token);
412 debug_struct.field("resource", &self.resource);
413 if !self._unknown_fields.is_empty() {
414 debug_struct.field("_unknown_fields", &self._unknown_fields);
415 }
416 debug_struct.finish()
417 }
418}
419
420impl std::fmt::Debug for super::MoveObjectRequest {
421 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
422 let mut debug_struct = f.debug_struct("MoveObjectRequest");
423 debug_struct.field("bucket", &self.bucket);
424 debug_struct.field("source_object", &self.source_object);
425 debug_struct.field("destination_object", &self.destination_object);
426 debug_struct.field(
427 "if_source_generation_match",
428 &self.if_source_generation_match,
429 );
430 debug_struct.field(
431 "if_source_generation_not_match",
432 &self.if_source_generation_not_match,
433 );
434 debug_struct.field(
435 "if_source_metageneration_match",
436 &self.if_source_metageneration_match,
437 );
438 debug_struct.field(
439 "if_source_metageneration_not_match",
440 &self.if_source_metageneration_not_match,
441 );
442 debug_struct.field("if_generation_match", &self.if_generation_match);
443 debug_struct.field("if_generation_not_match", &self.if_generation_not_match);
444 debug_struct.field("if_metageneration_match", &self.if_metageneration_match);
445 debug_struct.field(
446 "if_metageneration_not_match",
447 &self.if_metageneration_not_match,
448 );
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::UpdateObjectRequest {
457 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
458 let mut debug_struct = f.debug_struct("UpdateObjectRequest");
459 debug_struct.field("object", &self.object);
460 debug_struct.field("if_generation_match", &self.if_generation_match);
461 debug_struct.field("if_generation_not_match", &self.if_generation_not_match);
462 debug_struct.field("if_metageneration_match", &self.if_metageneration_match);
463 debug_struct.field(
464 "if_metageneration_not_match",
465 &self.if_metageneration_not_match,
466 );
467 debug_struct.field("predefined_acl", &self.predefined_acl);
468 debug_struct.field("update_mask", &self.update_mask);
469 debug_struct.field(
470 "common_object_request_params",
471 &self.common_object_request_params,
472 );
473 debug_struct.field(
474 "override_unlocked_retention",
475 &self.override_unlocked_retention,
476 );
477 if !self._unknown_fields.is_empty() {
478 debug_struct.field("_unknown_fields", &self._unknown_fields);
479 }
480 debug_struct.finish()
481 }
482}
483
484impl std::fmt::Debug for super::CommonObjectRequestParams {
485 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
486 let mut debug_struct = f.debug_struct("CommonObjectRequestParams");
487 debug_struct.field("encryption_algorithm", &self.encryption_algorithm);
488 debug_struct.field("encryption_key_bytes", &self.encryption_key_bytes);
489 debug_struct.field(
490 "encryption_key_sha256_bytes",
491 &self.encryption_key_sha256_bytes,
492 );
493 if !self._unknown_fields.is_empty() {
494 debug_struct.field("_unknown_fields", &self._unknown_fields);
495 }
496 debug_struct.finish()
497 }
498}
499
500impl std::fmt::Debug for super::Bucket {
501 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
502 let mut debug_struct = f.debug_struct("Bucket");
503 debug_struct.field("name", &self.name);
504 debug_struct.field("bucket_id", &self.bucket_id);
505 debug_struct.field("etag", &self.etag);
506 debug_struct.field("project", &self.project);
507 debug_struct.field("metageneration", &self.metageneration);
508 debug_struct.field("location", &self.location);
509 debug_struct.field("location_type", &self.location_type);
510 debug_struct.field("storage_class", &self.storage_class);
511 debug_struct.field("rpo", &self.rpo);
512 debug_struct.field("acl", &self.acl);
513 debug_struct.field("default_object_acl", &self.default_object_acl);
514 debug_struct.field("lifecycle", &self.lifecycle);
515 debug_struct.field("create_time", &self.create_time);
516 debug_struct.field("cors", &self.cors);
517 debug_struct.field("update_time", &self.update_time);
518 debug_struct.field("default_event_based_hold", &self.default_event_based_hold);
519 debug_struct.field("labels", &self.labels);
520 debug_struct.field("website", &self.website);
521 debug_struct.field("versioning", &self.versioning);
522 debug_struct.field("logging", &self.logging);
523 debug_struct.field("owner", &self.owner);
524 debug_struct.field("encryption", &self.encryption);
525 debug_struct.field("billing", &self.billing);
526 debug_struct.field("retention_policy", &self.retention_policy);
527 debug_struct.field("iam_config", &self.iam_config);
528 debug_struct.field("satisfies_pzs", &self.satisfies_pzs);
529 debug_struct.field("custom_placement_config", &self.custom_placement_config);
530 debug_struct.field("autoclass", &self.autoclass);
531 debug_struct.field("hierarchical_namespace", &self.hierarchical_namespace);
532 debug_struct.field("soft_delete_policy", &self.soft_delete_policy);
533 debug_struct.field("object_retention", &self.object_retention);
534 debug_struct.field("ip_filter", &self.ip_filter);
535 if !self._unknown_fields.is_empty() {
536 debug_struct.field("_unknown_fields", &self._unknown_fields);
537 }
538 debug_struct.finish()
539 }
540}
541
542impl std::fmt::Debug for super::bucket::Billing {
543 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
544 let mut debug_struct = f.debug_struct("Billing");
545 debug_struct.field("requester_pays", &self.requester_pays);
546 if !self._unknown_fields.is_empty() {
547 debug_struct.field("_unknown_fields", &self._unknown_fields);
548 }
549 debug_struct.finish()
550 }
551}
552
553impl std::fmt::Debug for super::bucket::Cors {
554 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
555 let mut debug_struct = f.debug_struct("Cors");
556 debug_struct.field("origin", &self.origin);
557 debug_struct.field("method", &self.method);
558 debug_struct.field("response_header", &self.response_header);
559 debug_struct.field("max_age_seconds", &self.max_age_seconds);
560 if !self._unknown_fields.is_empty() {
561 debug_struct.field("_unknown_fields", &self._unknown_fields);
562 }
563 debug_struct.finish()
564 }
565}
566
567impl std::fmt::Debug for super::bucket::Encryption {
568 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
569 let mut debug_struct = f.debug_struct("Encryption");
570 debug_struct.field("default_kms_key", &self.default_kms_key);
571 debug_struct.field(
572 "google_managed_encryption_enforcement_config",
573 &self.google_managed_encryption_enforcement_config,
574 );
575 debug_struct.field(
576 "customer_managed_encryption_enforcement_config",
577 &self.customer_managed_encryption_enforcement_config,
578 );
579 debug_struct.field(
580 "customer_supplied_encryption_enforcement_config",
581 &self.customer_supplied_encryption_enforcement_config,
582 );
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::bucket::encryption::GoogleManagedEncryptionEnforcementConfig {
591 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
592 let mut debug_struct = f.debug_struct("GoogleManagedEncryptionEnforcementConfig");
593 debug_struct.field("restriction_mode", &self.restriction_mode);
594 debug_struct.field("effective_time", &self.effective_time);
595 if !self._unknown_fields.is_empty() {
596 debug_struct.field("_unknown_fields", &self._unknown_fields);
597 }
598 debug_struct.finish()
599 }
600}
601
602impl std::fmt::Debug for super::bucket::encryption::CustomerManagedEncryptionEnforcementConfig {
603 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
604 let mut debug_struct = f.debug_struct("CustomerManagedEncryptionEnforcementConfig");
605 debug_struct.field("restriction_mode", &self.restriction_mode);
606 debug_struct.field("effective_time", &self.effective_time);
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::bucket::encryption::CustomerSuppliedEncryptionEnforcementConfig {
615 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
616 let mut debug_struct = f.debug_struct("CustomerSuppliedEncryptionEnforcementConfig");
617 debug_struct.field("restriction_mode", &self.restriction_mode);
618 debug_struct.field("effective_time", &self.effective_time);
619 if !self._unknown_fields.is_empty() {
620 debug_struct.field("_unknown_fields", &self._unknown_fields);
621 }
622 debug_struct.finish()
623 }
624}
625
626impl std::fmt::Debug for super::bucket::IamConfig {
627 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
628 let mut debug_struct = f.debug_struct("IamConfig");
629 debug_struct.field(
630 "uniform_bucket_level_access",
631 &self.uniform_bucket_level_access,
632 );
633 debug_struct.field("public_access_prevention", &self.public_access_prevention);
634 if !self._unknown_fields.is_empty() {
635 debug_struct.field("_unknown_fields", &self._unknown_fields);
636 }
637 debug_struct.finish()
638 }
639}
640
641impl std::fmt::Debug for super::bucket::iam_config::UniformBucketLevelAccess {
642 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
643 let mut debug_struct = f.debug_struct("UniformBucketLevelAccess");
644 debug_struct.field("enabled", &self.enabled);
645 debug_struct.field("lock_time", &self.lock_time);
646 if !self._unknown_fields.is_empty() {
647 debug_struct.field("_unknown_fields", &self._unknown_fields);
648 }
649 debug_struct.finish()
650 }
651}
652
653impl std::fmt::Debug for super::bucket::Lifecycle {
654 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
655 let mut debug_struct = f.debug_struct("Lifecycle");
656 debug_struct.field("rule", &self.rule);
657 if !self._unknown_fields.is_empty() {
658 debug_struct.field("_unknown_fields", &self._unknown_fields);
659 }
660 debug_struct.finish()
661 }
662}
663
664impl std::fmt::Debug for super::bucket::lifecycle::Rule {
665 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
666 let mut debug_struct = f.debug_struct("Rule");
667 debug_struct.field("action", &self.action);
668 debug_struct.field("condition", &self.condition);
669 if !self._unknown_fields.is_empty() {
670 debug_struct.field("_unknown_fields", &self._unknown_fields);
671 }
672 debug_struct.finish()
673 }
674}
675
676impl std::fmt::Debug for super::bucket::lifecycle::rule::Action {
677 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
678 let mut debug_struct = f.debug_struct("Action");
679 debug_struct.field("r#type", &self.r#type);
680 debug_struct.field("storage_class", &self.storage_class);
681 if !self._unknown_fields.is_empty() {
682 debug_struct.field("_unknown_fields", &self._unknown_fields);
683 }
684 debug_struct.finish()
685 }
686}
687
688impl std::fmt::Debug for super::bucket::lifecycle::rule::Condition {
689 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
690 let mut debug_struct = f.debug_struct("Condition");
691 debug_struct.field("age_days", &self.age_days);
692 debug_struct.field("created_before", &self.created_before);
693 debug_struct.field("is_live", &self.is_live);
694 debug_struct.field("num_newer_versions", &self.num_newer_versions);
695 debug_struct.field("matches_storage_class", &self.matches_storage_class);
696 debug_struct.field("days_since_custom_time", &self.days_since_custom_time);
697 debug_struct.field("custom_time_before", &self.custom_time_before);
698 debug_struct.field(
699 "days_since_noncurrent_time",
700 &self.days_since_noncurrent_time,
701 );
702 debug_struct.field("noncurrent_time_before", &self.noncurrent_time_before);
703 debug_struct.field("matches_prefix", &self.matches_prefix);
704 debug_struct.field("matches_suffix", &self.matches_suffix);
705 if !self._unknown_fields.is_empty() {
706 debug_struct.field("_unknown_fields", &self._unknown_fields);
707 }
708 debug_struct.finish()
709 }
710}
711
712impl std::fmt::Debug for super::bucket::Logging {
713 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
714 let mut debug_struct = f.debug_struct("Logging");
715 debug_struct.field("log_bucket", &self.log_bucket);
716 debug_struct.field("log_object_prefix", &self.log_object_prefix);
717 if !self._unknown_fields.is_empty() {
718 debug_struct.field("_unknown_fields", &self._unknown_fields);
719 }
720 debug_struct.finish()
721 }
722}
723
724impl std::fmt::Debug for super::bucket::ObjectRetention {
725 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
726 let mut debug_struct = f.debug_struct("ObjectRetention");
727 debug_struct.field("enabled", &self.enabled);
728 if !self._unknown_fields.is_empty() {
729 debug_struct.field("_unknown_fields", &self._unknown_fields);
730 }
731 debug_struct.finish()
732 }
733}
734
735impl std::fmt::Debug for super::bucket::RetentionPolicy {
736 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
737 let mut debug_struct = f.debug_struct("RetentionPolicy");
738 debug_struct.field("effective_time", &self.effective_time);
739 debug_struct.field("is_locked", &self.is_locked);
740 debug_struct.field("retention_duration", &self.retention_duration);
741 if !self._unknown_fields.is_empty() {
742 debug_struct.field("_unknown_fields", &self._unknown_fields);
743 }
744 debug_struct.finish()
745 }
746}
747
748impl std::fmt::Debug for super::bucket::SoftDeletePolicy {
749 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
750 let mut debug_struct = f.debug_struct("SoftDeletePolicy");
751 debug_struct.field("retention_duration", &self.retention_duration);
752 debug_struct.field("effective_time", &self.effective_time);
753 if !self._unknown_fields.is_empty() {
754 debug_struct.field("_unknown_fields", &self._unknown_fields);
755 }
756 debug_struct.finish()
757 }
758}
759
760impl std::fmt::Debug for super::bucket::Versioning {
761 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
762 let mut debug_struct = f.debug_struct("Versioning");
763 debug_struct.field("enabled", &self.enabled);
764 if !self._unknown_fields.is_empty() {
765 debug_struct.field("_unknown_fields", &self._unknown_fields);
766 }
767 debug_struct.finish()
768 }
769}
770
771impl std::fmt::Debug for super::bucket::Website {
772 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
773 let mut debug_struct = f.debug_struct("Website");
774 debug_struct.field("main_page_suffix", &self.main_page_suffix);
775 debug_struct.field("not_found_page", &self.not_found_page);
776 if !self._unknown_fields.is_empty() {
777 debug_struct.field("_unknown_fields", &self._unknown_fields);
778 }
779 debug_struct.finish()
780 }
781}
782
783impl std::fmt::Debug for super::bucket::CustomPlacementConfig {
784 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
785 let mut debug_struct = f.debug_struct("CustomPlacementConfig");
786 debug_struct.field("data_locations", &self.data_locations);
787 if !self._unknown_fields.is_empty() {
788 debug_struct.field("_unknown_fields", &self._unknown_fields);
789 }
790 debug_struct.finish()
791 }
792}
793
794impl std::fmt::Debug for super::bucket::Autoclass {
795 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
796 let mut debug_struct = f.debug_struct("Autoclass");
797 debug_struct.field("enabled", &self.enabled);
798 debug_struct.field("toggle_time", &self.toggle_time);
799 debug_struct.field("terminal_storage_class", &self.terminal_storage_class);
800 debug_struct.field(
801 "terminal_storage_class_update_time",
802 &self.terminal_storage_class_update_time,
803 );
804 if !self._unknown_fields.is_empty() {
805 debug_struct.field("_unknown_fields", &self._unknown_fields);
806 }
807 debug_struct.finish()
808 }
809}
810
811impl std::fmt::Debug for super::bucket::IpFilter {
812 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
813 let mut debug_struct = f.debug_struct("IpFilter");
814 debug_struct.field("mode", &self.mode);
815 debug_struct.field("public_network_source", &self.public_network_source);
816 debug_struct.field("vpc_network_sources", &self.vpc_network_sources);
817 debug_struct.field("allow_cross_org_vpcs", &self.allow_cross_org_vpcs);
818 debug_struct.field(
819 "allow_all_service_agent_access",
820 &self.allow_all_service_agent_access,
821 );
822 if !self._unknown_fields.is_empty() {
823 debug_struct.field("_unknown_fields", &self._unknown_fields);
824 }
825 debug_struct.finish()
826 }
827}
828
829impl std::fmt::Debug for super::bucket::ip_filter::PublicNetworkSource {
830 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
831 let mut debug_struct = f.debug_struct("PublicNetworkSource");
832 debug_struct.field("allowed_ip_cidr_ranges", &self.allowed_ip_cidr_ranges);
833 if !self._unknown_fields.is_empty() {
834 debug_struct.field("_unknown_fields", &self._unknown_fields);
835 }
836 debug_struct.finish()
837 }
838}
839
840impl std::fmt::Debug for super::bucket::ip_filter::VpcNetworkSource {
841 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
842 let mut debug_struct = f.debug_struct("VpcNetworkSource");
843 debug_struct.field("network", &self.network);
844 debug_struct.field("allowed_ip_cidr_ranges", &self.allowed_ip_cidr_ranges);
845 if !self._unknown_fields.is_empty() {
846 debug_struct.field("_unknown_fields", &self._unknown_fields);
847 }
848 debug_struct.finish()
849 }
850}
851
852impl std::fmt::Debug for super::bucket::HierarchicalNamespace {
853 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
854 let mut debug_struct = f.debug_struct("HierarchicalNamespace");
855 debug_struct.field("enabled", &self.enabled);
856 if !self._unknown_fields.is_empty() {
857 debug_struct.field("_unknown_fields", &self._unknown_fields);
858 }
859 debug_struct.finish()
860 }
861}
862
863impl std::fmt::Debug for super::BucketAccessControl {
864 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
865 let mut debug_struct = f.debug_struct("BucketAccessControl");
866 debug_struct.field("role", &self.role);
867 debug_struct.field("id", &self.id);
868 debug_struct.field("entity", &self.entity);
869 debug_struct.field("entity_alt", &self.entity_alt);
870 debug_struct.field("entity_id", &self.entity_id);
871 debug_struct.field("etag", &self.etag);
872 debug_struct.field("email", &self.email);
873 debug_struct.field("domain", &self.domain);
874 debug_struct.field("project_team", &self.project_team);
875 if !self._unknown_fields.is_empty() {
876 debug_struct.field("_unknown_fields", &self._unknown_fields);
877 }
878 debug_struct.finish()
879 }
880}
881
882impl std::fmt::Debug for super::ObjectChecksums {
883 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
884 let mut debug_struct = f.debug_struct("ObjectChecksums");
885 debug_struct.field("crc32c", &self.crc32c);
886 debug_struct.field("md5_hash", &self.md5_hash);
887 if !self._unknown_fields.is_empty() {
888 debug_struct.field("_unknown_fields", &self._unknown_fields);
889 }
890 debug_struct.finish()
891 }
892}
893
894impl std::fmt::Debug for super::ObjectCustomContextPayload {
895 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
896 let mut debug_struct = f.debug_struct("ObjectCustomContextPayload");
897 debug_struct.field("value", &self.value);
898 debug_struct.field("create_time", &self.create_time);
899 debug_struct.field("update_time", &self.update_time);
900 if !self._unknown_fields.is_empty() {
901 debug_struct.field("_unknown_fields", &self._unknown_fields);
902 }
903 debug_struct.finish()
904 }
905}
906
907impl std::fmt::Debug for super::ObjectContexts {
908 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
909 let mut debug_struct = f.debug_struct("ObjectContexts");
910 debug_struct.field("custom", &self.custom);
911 if !self._unknown_fields.is_empty() {
912 debug_struct.field("_unknown_fields", &self._unknown_fields);
913 }
914 debug_struct.finish()
915 }
916}
917
918impl std::fmt::Debug for super::CustomerEncryption {
919 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
920 let mut debug_struct = f.debug_struct("CustomerEncryption");
921 debug_struct.field("encryption_algorithm", &self.encryption_algorithm);
922 debug_struct.field("key_sha256_bytes", &self.key_sha256_bytes);
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::Object {
931 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
932 let mut debug_struct = f.debug_struct("Object");
933 debug_struct.field("name", &self.name);
934 debug_struct.field("bucket", &self.bucket);
935 debug_struct.field("etag", &self.etag);
936 debug_struct.field("generation", &self.generation);
937 debug_struct.field("restore_token", &self.restore_token);
938 debug_struct.field("metageneration", &self.metageneration);
939 debug_struct.field("storage_class", &self.storage_class);
940 debug_struct.field("size", &self.size);
941 debug_struct.field("content_encoding", &self.content_encoding);
942 debug_struct.field("content_disposition", &self.content_disposition);
943 debug_struct.field("cache_control", &self.cache_control);
944 debug_struct.field("acl", &self.acl);
945 debug_struct.field("content_language", &self.content_language);
946 debug_struct.field("delete_time", &self.delete_time);
947 debug_struct.field("finalize_time", &self.finalize_time);
948 debug_struct.field("content_type", &self.content_type);
949 debug_struct.field("create_time", &self.create_time);
950 debug_struct.field("component_count", &self.component_count);
951 debug_struct.field("checksums", &self.checksums);
952 debug_struct.field("update_time", &self.update_time);
953 debug_struct.field("kms_key", &self.kms_key);
954 debug_struct.field("update_storage_class_time", &self.update_storage_class_time);
955 debug_struct.field("temporary_hold", &self.temporary_hold);
956 debug_struct.field("retention_expire_time", &self.retention_expire_time);
957 debug_struct.field("metadata", &self.metadata);
958 debug_struct.field("contexts", &self.contexts);
959 debug_struct.field("event_based_hold", &self.event_based_hold);
960 debug_struct.field("owner", &self.owner);
961 debug_struct.field("customer_encryption", &self.customer_encryption);
962 debug_struct.field("custom_time", &self.custom_time);
963 debug_struct.field("soft_delete_time", &self.soft_delete_time);
964 debug_struct.field("hard_delete_time", &self.hard_delete_time);
965 debug_struct.field("retention", &self.retention);
966 if !self._unknown_fields.is_empty() {
967 debug_struct.field("_unknown_fields", &self._unknown_fields);
968 }
969 debug_struct.finish()
970 }
971}
972
973impl std::fmt::Debug for super::object::Retention {
974 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
975 let mut debug_struct = f.debug_struct("Retention");
976 debug_struct.field("mode", &self.mode);
977 debug_struct.field("retain_until_time", &self.retain_until_time);
978 if !self._unknown_fields.is_empty() {
979 debug_struct.field("_unknown_fields", &self._unknown_fields);
980 }
981 debug_struct.finish()
982 }
983}
984
985impl std::fmt::Debug for super::ObjectAccessControl {
986 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
987 let mut debug_struct = f.debug_struct("ObjectAccessControl");
988 debug_struct.field("role", &self.role);
989 debug_struct.field("id", &self.id);
990 debug_struct.field("entity", &self.entity);
991 debug_struct.field("entity_alt", &self.entity_alt);
992 debug_struct.field("entity_id", &self.entity_id);
993 debug_struct.field("etag", &self.etag);
994 debug_struct.field("email", &self.email);
995 debug_struct.field("domain", &self.domain);
996 debug_struct.field("project_team", &self.project_team);
997 if !self._unknown_fields.is_empty() {
998 debug_struct.field("_unknown_fields", &self._unknown_fields);
999 }
1000 debug_struct.finish()
1001 }
1002}
1003
1004impl std::fmt::Debug for super::ListObjectsResponse {
1005 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1006 let mut debug_struct = f.debug_struct("ListObjectsResponse");
1007 debug_struct.field("objects", &self.objects);
1008 debug_struct.field("prefixes", &self.prefixes);
1009 debug_struct.field("next_page_token", &self.next_page_token);
1010 if !self._unknown_fields.is_empty() {
1011 debug_struct.field("_unknown_fields", &self._unknown_fields);
1012 }
1013 debug_struct.finish()
1014 }
1015}
1016
1017impl std::fmt::Debug for super::ProjectTeam {
1018 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1019 let mut debug_struct = f.debug_struct("ProjectTeam");
1020 debug_struct.field("project_number", &self.project_number);
1021 debug_struct.field("team", &self.team);
1022 if !self._unknown_fields.is_empty() {
1023 debug_struct.field("_unknown_fields", &self._unknown_fields);
1024 }
1025 debug_struct.finish()
1026 }
1027}
1028
1029impl std::fmt::Debug for super::Owner {
1030 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
1031 let mut debug_struct = f.debug_struct("Owner");
1032 debug_struct.field("entity", &self.entity);
1033 debug_struct.field("entity_id", &self.entity_id);
1034 if !self._unknown_fields.is_empty() {
1035 debug_struct.field("_unknown_fields", &self._unknown_fields);
1036 }
1037 debug_struct.finish()
1038 }
1039}