1pub trait StorageControl: std::fmt::Debug + Send + Sync {
29 fn delete_bucket(
31 &self,
32 _req: crate::model::DeleteBucketRequest,
33 _options: crate::RequestOptions,
34 ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
35 gaxi::unimplemented::unimplemented_stub()
36 }
37
38 fn get_bucket(
40 &self,
41 _req: crate::model::GetBucketRequest,
42 _options: crate::RequestOptions,
43 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Bucket>>> + Send
44 {
45 gaxi::unimplemented::unimplemented_stub()
46 }
47
48 fn create_bucket(
50 &self,
51 _req: crate::model::CreateBucketRequest,
52 _options: crate::RequestOptions,
53 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Bucket>>> + Send
54 {
55 gaxi::unimplemented::unimplemented_stub()
56 }
57
58 fn list_buckets(
60 &self,
61 _req: crate::model::ListBucketsRequest,
62 _options: crate::RequestOptions,
63 ) -> impl std::future::Future<
64 Output = crate::Result<crate::Response<crate::model::ListBucketsResponse>>,
65 > + Send {
66 gaxi::unimplemented::unimplemented_stub()
67 }
68
69 fn lock_bucket_retention_policy(
71 &self,
72 _req: crate::model::LockBucketRetentionPolicyRequest,
73 _options: crate::RequestOptions,
74 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Bucket>>> + Send
75 {
76 gaxi::unimplemented::unimplemented_stub()
77 }
78
79 fn update_bucket(
81 &self,
82 _req: crate::model::UpdateBucketRequest,
83 _options: crate::RequestOptions,
84 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Bucket>>> + Send
85 {
86 gaxi::unimplemented::unimplemented_stub()
87 }
88
89 fn compose_object(
91 &self,
92 _req: crate::model::ComposeObjectRequest,
93 _options: crate::RequestOptions,
94 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Object>>> + Send
95 {
96 gaxi::unimplemented::unimplemented_stub()
97 }
98
99 fn delete_object(
101 &self,
102 _req: crate::model::DeleteObjectRequest,
103 _options: crate::RequestOptions,
104 ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
105 gaxi::unimplemented::unimplemented_stub()
106 }
107
108 fn restore_object(
110 &self,
111 _req: crate::model::RestoreObjectRequest,
112 _options: crate::RequestOptions,
113 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Object>>> + Send
114 {
115 gaxi::unimplemented::unimplemented_stub()
116 }
117
118 fn get_object(
120 &self,
121 _req: crate::model::GetObjectRequest,
122 _options: crate::RequestOptions,
123 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Object>>> + Send
124 {
125 gaxi::unimplemented::unimplemented_stub()
126 }
127
128 fn update_object(
130 &self,
131 _req: crate::model::UpdateObjectRequest,
132 _options: crate::RequestOptions,
133 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Object>>> + Send
134 {
135 gaxi::unimplemented::unimplemented_stub()
136 }
137
138 fn list_objects(
140 &self,
141 _req: crate::model::ListObjectsRequest,
142 _options: crate::RequestOptions,
143 ) -> impl std::future::Future<
144 Output = crate::Result<crate::Response<crate::model::ListObjectsResponse>>,
145 > + Send {
146 gaxi::unimplemented::unimplemented_stub()
147 }
148
149 fn rewrite_object(
151 &self,
152 _req: crate::model::RewriteObjectRequest,
153 _options: crate::RequestOptions,
154 ) -> impl std::future::Future<
155 Output = crate::Result<crate::Response<crate::model::RewriteResponse>>,
156 > + Send {
157 gaxi::unimplemented::unimplemented_stub()
158 }
159
160 fn move_object(
162 &self,
163 _req: crate::model::MoveObjectRequest,
164 _options: crate::RequestOptions,
165 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Object>>> + Send
166 {
167 gaxi::unimplemented::unimplemented_stub()
168 }
169
170 fn create_folder(
172 &self,
173 _req: crate::model::CreateFolderRequest,
174 _options: crate::RequestOptions,
175 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Folder>>> + Send
176 {
177 gaxi::unimplemented::unimplemented_stub()
178 }
179
180 fn delete_folder(
182 &self,
183 _req: crate::model::DeleteFolderRequest,
184 _options: crate::RequestOptions,
185 ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
186 gaxi::unimplemented::unimplemented_stub()
187 }
188
189 fn get_folder(
191 &self,
192 _req: crate::model::GetFolderRequest,
193 _options: crate::RequestOptions,
194 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Folder>>> + Send
195 {
196 gaxi::unimplemented::unimplemented_stub()
197 }
198
199 fn list_folders(
201 &self,
202 _req: crate::model::ListFoldersRequest,
203 _options: crate::RequestOptions,
204 ) -> impl std::future::Future<
205 Output = crate::Result<crate::Response<crate::model::ListFoldersResponse>>,
206 > + Send {
207 gaxi::unimplemented::unimplemented_stub()
208 }
209
210 fn rename_folder(
212 &self,
213 _req: crate::model::RenameFolderRequest,
214 _options: crate::RequestOptions,
215 ) -> impl std::future::Future<
216 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
217 > + Send {
218 gaxi::unimplemented::unimplemented_stub()
219 }
220
221 fn delete_folder_recursive(
223 &self,
224 _req: crate::model::DeleteFolderRecursiveRequest,
225 _options: crate::RequestOptions,
226 ) -> impl std::future::Future<
227 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
228 > + Send {
229 gaxi::unimplemented::unimplemented_stub()
230 }
231
232 fn get_storage_layout(
234 &self,
235 _req: crate::model::GetStorageLayoutRequest,
236 _options: crate::RequestOptions,
237 ) -> impl std::future::Future<
238 Output = crate::Result<crate::Response<crate::model::StorageLayout>>,
239 > + Send {
240 gaxi::unimplemented::unimplemented_stub()
241 }
242
243 fn create_managed_folder(
245 &self,
246 _req: crate::model::CreateManagedFolderRequest,
247 _options: crate::RequestOptions,
248 ) -> impl std::future::Future<
249 Output = crate::Result<crate::Response<crate::model::ManagedFolder>>,
250 > + Send {
251 gaxi::unimplemented::unimplemented_stub()
252 }
253
254 fn delete_managed_folder(
256 &self,
257 _req: crate::model::DeleteManagedFolderRequest,
258 _options: crate::RequestOptions,
259 ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
260 gaxi::unimplemented::unimplemented_stub()
261 }
262
263 fn get_managed_folder(
265 &self,
266 _req: crate::model::GetManagedFolderRequest,
267 _options: crate::RequestOptions,
268 ) -> impl std::future::Future<
269 Output = crate::Result<crate::Response<crate::model::ManagedFolder>>,
270 > + Send {
271 gaxi::unimplemented::unimplemented_stub()
272 }
273
274 fn list_managed_folders(
276 &self,
277 _req: crate::model::ListManagedFoldersRequest,
278 _options: crate::RequestOptions,
279 ) -> impl std::future::Future<
280 Output = crate::Result<crate::Response<crate::model::ListManagedFoldersResponse>>,
281 > + Send {
282 gaxi::unimplemented::unimplemented_stub()
283 }
284
285 fn update_managed_folder(
287 &self,
288 _req: crate::model::UpdateManagedFolderRequest,
289 _options: crate::RequestOptions,
290 ) -> impl std::future::Future<
291 Output = crate::Result<crate::Response<crate::model::ManagedFolder>>,
292 > + Send {
293 gaxi::unimplemented::unimplemented_stub()
294 }
295
296 fn create_anywhere_cache(
298 &self,
299 _req: crate::model::CreateAnywhereCacheRequest,
300 _options: crate::RequestOptions,
301 ) -> impl std::future::Future<
302 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
303 > + Send {
304 gaxi::unimplemented::unimplemented_stub()
305 }
306
307 fn update_anywhere_cache(
309 &self,
310 _req: crate::model::UpdateAnywhereCacheRequest,
311 _options: crate::RequestOptions,
312 ) -> impl std::future::Future<
313 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
314 > + Send {
315 gaxi::unimplemented::unimplemented_stub()
316 }
317
318 fn disable_anywhere_cache(
320 &self,
321 _req: crate::model::DisableAnywhereCacheRequest,
322 _options: crate::RequestOptions,
323 ) -> impl std::future::Future<
324 Output = crate::Result<crate::Response<crate::model::AnywhereCache>>,
325 > + Send {
326 gaxi::unimplemented::unimplemented_stub()
327 }
328
329 fn pause_anywhere_cache(
331 &self,
332 _req: crate::model::PauseAnywhereCacheRequest,
333 _options: crate::RequestOptions,
334 ) -> impl std::future::Future<
335 Output = crate::Result<crate::Response<crate::model::AnywhereCache>>,
336 > + Send {
337 gaxi::unimplemented::unimplemented_stub()
338 }
339
340 fn resume_anywhere_cache(
342 &self,
343 _req: crate::model::ResumeAnywhereCacheRequest,
344 _options: crate::RequestOptions,
345 ) -> impl std::future::Future<
346 Output = crate::Result<crate::Response<crate::model::AnywhereCache>>,
347 > + Send {
348 gaxi::unimplemented::unimplemented_stub()
349 }
350
351 fn get_anywhere_cache(
353 &self,
354 _req: crate::model::GetAnywhereCacheRequest,
355 _options: crate::RequestOptions,
356 ) -> impl std::future::Future<
357 Output = crate::Result<crate::Response<crate::model::AnywhereCache>>,
358 > + Send {
359 gaxi::unimplemented::unimplemented_stub()
360 }
361
362 fn list_anywhere_caches(
364 &self,
365 _req: crate::model::ListAnywhereCachesRequest,
366 _options: crate::RequestOptions,
367 ) -> impl std::future::Future<
368 Output = crate::Result<crate::Response<crate::model::ListAnywhereCachesResponse>>,
369 > + Send {
370 gaxi::unimplemented::unimplemented_stub()
371 }
372
373 fn create_rapid_cache(
375 &self,
376 _req: crate::model::CreateRapidCacheRequest,
377 _options: crate::RequestOptions,
378 ) -> impl std::future::Future<
379 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
380 > + Send {
381 gaxi::unimplemented::unimplemented_stub()
382 }
383
384 fn update_rapid_cache(
386 &self,
387 _req: crate::model::UpdateRapidCacheRequest,
388 _options: crate::RequestOptions,
389 ) -> impl std::future::Future<
390 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
391 > + Send {
392 gaxi::unimplemented::unimplemented_stub()
393 }
394
395 fn get_rapid_cache(
397 &self,
398 _req: crate::model::GetRapidCacheRequest,
399 _options: crate::RequestOptions,
400 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::RapidCache>>> + Send
401 {
402 gaxi::unimplemented::unimplemented_stub()
403 }
404
405 fn list_rapid_caches(
407 &self,
408 _req: crate::model::ListRapidCachesRequest,
409 _options: crate::RequestOptions,
410 ) -> impl std::future::Future<
411 Output = crate::Result<crate::Response<crate::model::ListRapidCachesResponse>>,
412 > + Send {
413 gaxi::unimplemented::unimplemented_stub()
414 }
415
416 fn get_project_intelligence_config(
418 &self,
419 _req: crate::model::GetProjectIntelligenceConfigRequest,
420 _options: crate::RequestOptions,
421 ) -> impl std::future::Future<
422 Output = crate::Result<crate::Response<crate::model::IntelligenceConfig>>,
423 > + Send {
424 gaxi::unimplemented::unimplemented_stub()
425 }
426
427 fn update_project_intelligence_config(
429 &self,
430 _req: crate::model::UpdateProjectIntelligenceConfigRequest,
431 _options: crate::RequestOptions,
432 ) -> impl std::future::Future<
433 Output = crate::Result<crate::Response<crate::model::IntelligenceConfig>>,
434 > + Send {
435 gaxi::unimplemented::unimplemented_stub()
436 }
437
438 fn get_folder_intelligence_config(
440 &self,
441 _req: crate::model::GetFolderIntelligenceConfigRequest,
442 _options: crate::RequestOptions,
443 ) -> impl std::future::Future<
444 Output = crate::Result<crate::Response<crate::model::IntelligenceConfig>>,
445 > + Send {
446 gaxi::unimplemented::unimplemented_stub()
447 }
448
449 fn update_folder_intelligence_config(
451 &self,
452 _req: crate::model::UpdateFolderIntelligenceConfigRequest,
453 _options: crate::RequestOptions,
454 ) -> impl std::future::Future<
455 Output = crate::Result<crate::Response<crate::model::IntelligenceConfig>>,
456 > + Send {
457 gaxi::unimplemented::unimplemented_stub()
458 }
459
460 fn get_organization_intelligence_config(
462 &self,
463 _req: crate::model::GetOrganizationIntelligenceConfigRequest,
464 _options: crate::RequestOptions,
465 ) -> impl std::future::Future<
466 Output = crate::Result<crate::Response<crate::model::IntelligenceConfig>>,
467 > + Send {
468 gaxi::unimplemented::unimplemented_stub()
469 }
470
471 fn update_organization_intelligence_config(
473 &self,
474 _req: crate::model::UpdateOrganizationIntelligenceConfigRequest,
475 _options: crate::RequestOptions,
476 ) -> impl std::future::Future<
477 Output = crate::Result<crate::Response<crate::model::IntelligenceConfig>>,
478 > + Send {
479 gaxi::unimplemented::unimplemented_stub()
480 }
481
482 fn get_iam_policy(
484 &self,
485 _req: google_cloud_iam_v1::model::GetIamPolicyRequest,
486 _options: crate::RequestOptions,
487 ) -> impl std::future::Future<
488 Output = crate::Result<crate::Response<google_cloud_iam_v1::model::Policy>>,
489 > + Send {
490 gaxi::unimplemented::unimplemented_stub()
491 }
492
493 fn set_iam_policy(
495 &self,
496 _req: google_cloud_iam_v1::model::SetIamPolicyRequest,
497 _options: crate::RequestOptions,
498 ) -> impl std::future::Future<
499 Output = crate::Result<crate::Response<google_cloud_iam_v1::model::Policy>>,
500 > + Send {
501 gaxi::unimplemented::unimplemented_stub()
502 }
503
504 fn test_iam_permissions(
506 &self,
507 _req: google_cloud_iam_v1::model::TestIamPermissionsRequest,
508 _options: crate::RequestOptions,
509 ) -> impl std::future::Future<
510 Output = crate::Result<
511 crate::Response<google_cloud_iam_v1::model::TestIamPermissionsResponse>,
512 >,
513 > + Send {
514 gaxi::unimplemented::unimplemented_stub()
515 }
516
517 fn get_intelligence_finding(
519 &self,
520 _req: crate::model::GetIntelligenceFindingRequest,
521 _options: crate::RequestOptions,
522 ) -> impl std::future::Future<
523 Output = crate::Result<crate::Response<crate::model::IntelligenceFinding>>,
524 > + Send {
525 gaxi::unimplemented::unimplemented_stub()
526 }
527
528 fn list_intelligence_findings(
530 &self,
531 _req: crate::model::ListIntelligenceFindingsRequest,
532 _options: crate::RequestOptions,
533 ) -> impl std::future::Future<
534 Output = crate::Result<crate::Response<crate::model::ListIntelligenceFindingsResponse>>,
535 > + Send {
536 gaxi::unimplemented::unimplemented_stub()
537 }
538
539 fn summarize_intelligence_findings(
541 &self,
542 _req: crate::model::SummarizeIntelligenceFindingsRequest,
543 _options: crate::RequestOptions,
544 ) -> impl std::future::Future<
545 Output = crate::Result<
546 crate::Response<crate::model::SummarizeIntelligenceFindingsResponse>,
547 >,
548 > + Send {
549 gaxi::unimplemented::unimplemented_stub()
550 }
551
552 fn get_intelligence_finding_revision(
554 &self,
555 _req: crate::model::GetIntelligenceFindingRevisionRequest,
556 _options: crate::RequestOptions,
557 ) -> impl std::future::Future<
558 Output = crate::Result<crate::Response<crate::model::IntelligenceFindingRevision>>,
559 > + Send {
560 gaxi::unimplemented::unimplemented_stub()
561 }
562
563 fn list_intelligence_finding_revisions(
565 &self,
566 _req: crate::model::ListIntelligenceFindingRevisionsRequest,
567 _options: crate::RequestOptions,
568 ) -> impl std::future::Future<
569 Output = crate::Result<
570 crate::Response<crate::model::ListIntelligenceFindingRevisionsResponse>,
571 >,
572 > + Send {
573 gaxi::unimplemented::unimplemented_stub()
574 }
575
576 fn get_operation(
578 &self,
579 _req: google_cloud_longrunning::model::GetOperationRequest,
580 _options: crate::RequestOptions,
581 ) -> impl std::future::Future<
582 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
583 > + Send {
584 gaxi::unimplemented::unimplemented_stub()
585 }
586}
587
588impl<T> crate::generated::gapic::stub::StorageControl for std::sync::Arc<T>
589where
590 T: StorageControl,
591{
592 fn delete_bucket(
593 &self,
594 req: crate::model::DeleteBucketRequest,
595 options: crate::RequestOptions,
596 ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
597 T::delete_bucket(self, req, options)
598 }
599
600 fn get_bucket(
601 &self,
602 req: crate::model::GetBucketRequest,
603 options: crate::RequestOptions,
604 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Bucket>>> + Send
605 {
606 T::get_bucket(self, req, options)
607 }
608
609 fn create_bucket(
610 &self,
611 req: crate::model::CreateBucketRequest,
612 options: crate::RequestOptions,
613 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Bucket>>> + Send
614 {
615 T::create_bucket(self, req, options)
616 }
617
618 fn list_buckets(
619 &self,
620 req: crate::model::ListBucketsRequest,
621 options: crate::RequestOptions,
622 ) -> impl std::future::Future<
623 Output = crate::Result<crate::Response<crate::model::ListBucketsResponse>>,
624 > + Send {
625 T::list_buckets(self, req, options)
626 }
627
628 fn lock_bucket_retention_policy(
629 &self,
630 req: crate::model::LockBucketRetentionPolicyRequest,
631 options: crate::RequestOptions,
632 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Bucket>>> + Send
633 {
634 T::lock_bucket_retention_policy(self, req, options)
635 }
636
637 fn update_bucket(
638 &self,
639 req: crate::model::UpdateBucketRequest,
640 options: crate::RequestOptions,
641 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Bucket>>> + Send
642 {
643 T::update_bucket(self, req, options)
644 }
645
646 fn compose_object(
647 &self,
648 req: crate::model::ComposeObjectRequest,
649 options: crate::RequestOptions,
650 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Object>>> + Send
651 {
652 T::compose_object(self, req, options)
653 }
654
655 fn delete_object(
656 &self,
657 req: crate::model::DeleteObjectRequest,
658 options: crate::RequestOptions,
659 ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
660 T::delete_object(self, req, options)
661 }
662
663 fn restore_object(
664 &self,
665 req: crate::model::RestoreObjectRequest,
666 options: crate::RequestOptions,
667 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Object>>> + Send
668 {
669 T::restore_object(self, req, options)
670 }
671
672 fn get_object(
673 &self,
674 req: crate::model::GetObjectRequest,
675 options: crate::RequestOptions,
676 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Object>>> + Send
677 {
678 T::get_object(self, req, options)
679 }
680
681 fn update_object(
682 &self,
683 req: crate::model::UpdateObjectRequest,
684 options: crate::RequestOptions,
685 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Object>>> + Send
686 {
687 T::update_object(self, req, options)
688 }
689
690 fn list_objects(
691 &self,
692 req: crate::model::ListObjectsRequest,
693 options: crate::RequestOptions,
694 ) -> impl std::future::Future<
695 Output = crate::Result<crate::Response<crate::model::ListObjectsResponse>>,
696 > + Send {
697 T::list_objects(self, req, options)
698 }
699
700 fn rewrite_object(
701 &self,
702 req: crate::model::RewriteObjectRequest,
703 options: crate::RequestOptions,
704 ) -> impl std::future::Future<
705 Output = crate::Result<crate::Response<crate::model::RewriteResponse>>,
706 > + Send {
707 T::rewrite_object(self, req, options)
708 }
709
710 fn move_object(
711 &self,
712 req: crate::model::MoveObjectRequest,
713 options: crate::RequestOptions,
714 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Object>>> + Send
715 {
716 T::move_object(self, req, options)
717 }
718}
719
720impl<T> crate::generated::gapic_control::stub::StorageControl for std::sync::Arc<T>
721where
722 T: StorageControl,
723{
724 fn create_folder(
725 &self,
726 req: crate::model::CreateFolderRequest,
727 options: crate::RequestOptions,
728 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Folder>>> + Send
729 {
730 T::create_folder(self, req, options)
731 }
732
733 fn delete_folder(
734 &self,
735 req: crate::model::DeleteFolderRequest,
736 options: crate::RequestOptions,
737 ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
738 T::delete_folder(self, req, options)
739 }
740
741 fn get_folder(
742 &self,
743 req: crate::model::GetFolderRequest,
744 options: crate::RequestOptions,
745 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Folder>>> + Send
746 {
747 T::get_folder(self, req, options)
748 }
749
750 fn list_folders(
751 &self,
752 req: crate::model::ListFoldersRequest,
753 options: crate::RequestOptions,
754 ) -> impl std::future::Future<
755 Output = crate::Result<crate::Response<crate::model::ListFoldersResponse>>,
756 > + Send {
757 T::list_folders(self, req, options)
758 }
759
760 fn rename_folder(
761 &self,
762 req: crate::model::RenameFolderRequest,
763 options: crate::RequestOptions,
764 ) -> impl std::future::Future<
765 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
766 > + Send {
767 T::rename_folder(self, req, options)
768 }
769
770 fn delete_folder_recursive(
771 &self,
772 req: crate::model::DeleteFolderRecursiveRequest,
773 options: crate::RequestOptions,
774 ) -> impl std::future::Future<
775 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
776 > + Send {
777 T::delete_folder_recursive(self, req, options)
778 }
779
780 fn get_storage_layout(
781 &self,
782 req: crate::model::GetStorageLayoutRequest,
783 options: crate::RequestOptions,
784 ) -> impl std::future::Future<
785 Output = crate::Result<crate::Response<crate::model::StorageLayout>>,
786 > + Send {
787 T::get_storage_layout(self, req, options)
788 }
789
790 fn create_managed_folder(
791 &self,
792 req: crate::model::CreateManagedFolderRequest,
793 options: crate::RequestOptions,
794 ) -> impl std::future::Future<
795 Output = crate::Result<crate::Response<crate::model::ManagedFolder>>,
796 > + Send {
797 T::create_managed_folder(self, req, options)
798 }
799
800 fn delete_managed_folder(
801 &self,
802 req: crate::model::DeleteManagedFolderRequest,
803 options: crate::RequestOptions,
804 ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
805 T::delete_managed_folder(self, req, options)
806 }
807
808 fn get_managed_folder(
809 &self,
810 req: crate::model::GetManagedFolderRequest,
811 options: crate::RequestOptions,
812 ) -> impl std::future::Future<
813 Output = crate::Result<crate::Response<crate::model::ManagedFolder>>,
814 > + Send {
815 T::get_managed_folder(self, req, options)
816 }
817
818 fn list_managed_folders(
819 &self,
820 req: crate::model::ListManagedFoldersRequest,
821 options: crate::RequestOptions,
822 ) -> impl std::future::Future<
823 Output = crate::Result<crate::Response<crate::model::ListManagedFoldersResponse>>,
824 > + Send {
825 T::list_managed_folders(self, req, options)
826 }
827
828 fn update_managed_folder(
829 &self,
830 req: crate::model::UpdateManagedFolderRequest,
831 options: crate::RequestOptions,
832 ) -> impl std::future::Future<
833 Output = crate::Result<crate::Response<crate::model::ManagedFolder>>,
834 > + Send {
835 T::update_managed_folder(self, req, options)
836 }
837
838 fn create_anywhere_cache(
839 &self,
840 req: crate::model::CreateAnywhereCacheRequest,
841 options: crate::RequestOptions,
842 ) -> impl std::future::Future<
843 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
844 > + Send {
845 T::create_anywhere_cache(self, req, options)
846 }
847
848 fn update_anywhere_cache(
849 &self,
850 req: crate::model::UpdateAnywhereCacheRequest,
851 options: crate::RequestOptions,
852 ) -> impl std::future::Future<
853 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
854 > + Send {
855 T::update_anywhere_cache(self, req, options)
856 }
857
858 fn disable_anywhere_cache(
859 &self,
860 req: crate::model::DisableAnywhereCacheRequest,
861 options: crate::RequestOptions,
862 ) -> impl std::future::Future<
863 Output = crate::Result<crate::Response<crate::model::AnywhereCache>>,
864 > + Send {
865 T::disable_anywhere_cache(self, req, options)
866 }
867
868 fn pause_anywhere_cache(
869 &self,
870 req: crate::model::PauseAnywhereCacheRequest,
871 options: crate::RequestOptions,
872 ) -> impl std::future::Future<
873 Output = crate::Result<crate::Response<crate::model::AnywhereCache>>,
874 > + Send {
875 T::pause_anywhere_cache(self, req, options)
876 }
877
878 fn resume_anywhere_cache(
879 &self,
880 req: crate::model::ResumeAnywhereCacheRequest,
881 options: crate::RequestOptions,
882 ) -> impl std::future::Future<
883 Output = crate::Result<crate::Response<crate::model::AnywhereCache>>,
884 > + Send {
885 T::resume_anywhere_cache(self, req, options)
886 }
887
888 fn get_anywhere_cache(
889 &self,
890 req: crate::model::GetAnywhereCacheRequest,
891 options: crate::RequestOptions,
892 ) -> impl std::future::Future<
893 Output = crate::Result<crate::Response<crate::model::AnywhereCache>>,
894 > + Send {
895 T::get_anywhere_cache(self, req, options)
896 }
897
898 fn list_anywhere_caches(
899 &self,
900 req: crate::model::ListAnywhereCachesRequest,
901 options: crate::RequestOptions,
902 ) -> impl std::future::Future<
903 Output = crate::Result<crate::Response<crate::model::ListAnywhereCachesResponse>>,
904 > + Send {
905 T::list_anywhere_caches(self, req, options)
906 }
907
908 fn create_rapid_cache(
909 &self,
910 req: crate::model::CreateRapidCacheRequest,
911 options: crate::RequestOptions,
912 ) -> impl std::future::Future<
913 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
914 > + Send {
915 T::create_rapid_cache(self, req, options)
916 }
917
918 fn update_rapid_cache(
919 &self,
920 req: crate::model::UpdateRapidCacheRequest,
921 options: crate::RequestOptions,
922 ) -> impl std::future::Future<
923 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
924 > + Send {
925 T::update_rapid_cache(self, req, options)
926 }
927
928 fn get_rapid_cache(
929 &self,
930 req: crate::model::GetRapidCacheRequest,
931 options: crate::RequestOptions,
932 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::RapidCache>>> + Send
933 {
934 T::get_rapid_cache(self, req, options)
935 }
936
937 fn list_rapid_caches(
938 &self,
939 req: crate::model::ListRapidCachesRequest,
940 options: crate::RequestOptions,
941 ) -> impl std::future::Future<
942 Output = crate::Result<crate::Response<crate::model::ListRapidCachesResponse>>,
943 > + Send {
944 T::list_rapid_caches(self, req, options)
945 }
946
947 fn get_project_intelligence_config(
948 &self,
949 req: crate::model::GetProjectIntelligenceConfigRequest,
950 options: crate::RequestOptions,
951 ) -> impl std::future::Future<
952 Output = crate::Result<crate::Response<crate::model::IntelligenceConfig>>,
953 > + Send {
954 T::get_project_intelligence_config(self, req, options)
955 }
956
957 fn update_project_intelligence_config(
958 &self,
959 req: crate::model::UpdateProjectIntelligenceConfigRequest,
960 options: crate::RequestOptions,
961 ) -> impl std::future::Future<
962 Output = crate::Result<crate::Response<crate::model::IntelligenceConfig>>,
963 > + Send {
964 T::update_project_intelligence_config(self, req, options)
965 }
966
967 fn get_folder_intelligence_config(
968 &self,
969 req: crate::model::GetFolderIntelligenceConfigRequest,
970 options: crate::RequestOptions,
971 ) -> impl std::future::Future<
972 Output = crate::Result<crate::Response<crate::model::IntelligenceConfig>>,
973 > + Send {
974 T::get_folder_intelligence_config(self, req, options)
975 }
976
977 fn update_folder_intelligence_config(
978 &self,
979 req: crate::model::UpdateFolderIntelligenceConfigRequest,
980 options: crate::RequestOptions,
981 ) -> impl std::future::Future<
982 Output = crate::Result<crate::Response<crate::model::IntelligenceConfig>>,
983 > + Send {
984 T::update_folder_intelligence_config(self, req, options)
985 }
986
987 fn get_organization_intelligence_config(
988 &self,
989 req: crate::model::GetOrganizationIntelligenceConfigRequest,
990 options: crate::RequestOptions,
991 ) -> impl std::future::Future<
992 Output = crate::Result<crate::Response<crate::model::IntelligenceConfig>>,
993 > + Send {
994 T::get_organization_intelligence_config(self, req, options)
995 }
996
997 fn update_organization_intelligence_config(
998 &self,
999 req: crate::model::UpdateOrganizationIntelligenceConfigRequest,
1000 options: crate::RequestOptions,
1001 ) -> impl std::future::Future<
1002 Output = crate::Result<crate::Response<crate::model::IntelligenceConfig>>,
1003 > + Send {
1004 T::update_organization_intelligence_config(self, req, options)
1005 }
1006
1007 fn get_iam_policy(
1008 &self,
1009 req: google_cloud_iam_v1::model::GetIamPolicyRequest,
1010 options: crate::RequestOptions,
1011 ) -> impl std::future::Future<
1012 Output = crate::Result<crate::Response<google_cloud_iam_v1::model::Policy>>,
1013 > + Send {
1014 T::get_iam_policy(self, req, options)
1015 }
1016
1017 fn set_iam_policy(
1018 &self,
1019 req: google_cloud_iam_v1::model::SetIamPolicyRequest,
1020 options: crate::RequestOptions,
1021 ) -> impl std::future::Future<
1022 Output = crate::Result<crate::Response<google_cloud_iam_v1::model::Policy>>,
1023 > + Send {
1024 T::set_iam_policy(self, req, options)
1025 }
1026
1027 fn test_iam_permissions(
1028 &self,
1029 req: google_cloud_iam_v1::model::TestIamPermissionsRequest,
1030 options: crate::RequestOptions,
1031 ) -> impl std::future::Future<
1032 Output = crate::Result<
1033 crate::Response<google_cloud_iam_v1::model::TestIamPermissionsResponse>,
1034 >,
1035 > + Send {
1036 T::test_iam_permissions(self, req, options)
1037 }
1038
1039 fn get_intelligence_finding(
1040 &self,
1041 req: crate::model::GetIntelligenceFindingRequest,
1042 options: crate::RequestOptions,
1043 ) -> impl std::future::Future<
1044 Output = crate::Result<crate::Response<crate::model::IntelligenceFinding>>,
1045 > + Send {
1046 T::get_intelligence_finding(self, req, options)
1047 }
1048
1049 fn list_intelligence_findings(
1050 &self,
1051 req: crate::model::ListIntelligenceFindingsRequest,
1052 options: crate::RequestOptions,
1053 ) -> impl std::future::Future<
1054 Output = crate::Result<crate::Response<crate::model::ListIntelligenceFindingsResponse>>,
1055 > + Send {
1056 T::list_intelligence_findings(self, req, options)
1057 }
1058
1059 fn summarize_intelligence_findings(
1060 &self,
1061 req: crate::model::SummarizeIntelligenceFindingsRequest,
1062 options: crate::RequestOptions,
1063 ) -> impl std::future::Future<
1064 Output = crate::Result<
1065 crate::Response<crate::model::SummarizeIntelligenceFindingsResponse>,
1066 >,
1067 > + Send {
1068 T::summarize_intelligence_findings(self, req, options)
1069 }
1070
1071 fn get_intelligence_finding_revision(
1072 &self,
1073 req: crate::model::GetIntelligenceFindingRevisionRequest,
1074 options: crate::RequestOptions,
1075 ) -> impl std::future::Future<
1076 Output = crate::Result<crate::Response<crate::model::IntelligenceFindingRevision>>,
1077 > + Send {
1078 T::get_intelligence_finding_revision(self, req, options)
1079 }
1080
1081 fn list_intelligence_finding_revisions(
1082 &self,
1083 req: crate::model::ListIntelligenceFindingRevisionsRequest,
1084 options: crate::RequestOptions,
1085 ) -> impl std::future::Future<
1086 Output = crate::Result<
1087 crate::Response<crate::model::ListIntelligenceFindingRevisionsResponse>,
1088 >,
1089 > + Send {
1090 T::list_intelligence_finding_revisions(self, req, options)
1091 }
1092
1093 fn get_operation(
1094 &self,
1095 req: google_cloud_longrunning::model::GetOperationRequest,
1096 options: crate::RequestOptions,
1097 ) -> impl std::future::Future<
1098 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
1099 > + Send {
1100 T::get_operation(self, req, options)
1101 }
1102}