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 create_anywhere_cache(
287 &self,
288 _req: crate::model::CreateAnywhereCacheRequest,
289 _options: crate::RequestOptions,
290 ) -> impl std::future::Future<
291 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
292 > + Send {
293 gaxi::unimplemented::unimplemented_stub()
294 }
295
296 fn update_anywhere_cache(
298 &self,
299 _req: crate::model::UpdateAnywhereCacheRequest,
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 disable_anywhere_cache(
309 &self,
310 _req: crate::model::DisableAnywhereCacheRequest,
311 _options: crate::RequestOptions,
312 ) -> impl std::future::Future<
313 Output = crate::Result<crate::Response<crate::model::AnywhereCache>>,
314 > + Send {
315 gaxi::unimplemented::unimplemented_stub()
316 }
317
318 fn pause_anywhere_cache(
320 &self,
321 _req: crate::model::PauseAnywhereCacheRequest,
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 resume_anywhere_cache(
331 &self,
332 _req: crate::model::ResumeAnywhereCacheRequest,
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 get_anywhere_cache(
342 &self,
343 _req: crate::model::GetAnywhereCacheRequest,
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 list_anywhere_caches(
353 &self,
354 _req: crate::model::ListAnywhereCachesRequest,
355 _options: crate::RequestOptions,
356 ) -> impl std::future::Future<
357 Output = crate::Result<crate::Response<crate::model::ListAnywhereCachesResponse>>,
358 > + Send {
359 gaxi::unimplemented::unimplemented_stub()
360 }
361
362 fn get_project_intelligence_config(
364 &self,
365 _req: crate::model::GetProjectIntelligenceConfigRequest,
366 _options: crate::RequestOptions,
367 ) -> impl std::future::Future<
368 Output = crate::Result<crate::Response<crate::model::IntelligenceConfig>>,
369 > + Send {
370 gaxi::unimplemented::unimplemented_stub()
371 }
372
373 fn update_project_intelligence_config(
375 &self,
376 _req: crate::model::UpdateProjectIntelligenceConfigRequest,
377 _options: crate::RequestOptions,
378 ) -> impl std::future::Future<
379 Output = crate::Result<crate::Response<crate::model::IntelligenceConfig>>,
380 > + Send {
381 gaxi::unimplemented::unimplemented_stub()
382 }
383
384 fn get_folder_intelligence_config(
386 &self,
387 _req: crate::model::GetFolderIntelligenceConfigRequest,
388 _options: crate::RequestOptions,
389 ) -> impl std::future::Future<
390 Output = crate::Result<crate::Response<crate::model::IntelligenceConfig>>,
391 > + Send {
392 gaxi::unimplemented::unimplemented_stub()
393 }
394
395 fn update_folder_intelligence_config(
397 &self,
398 _req: crate::model::UpdateFolderIntelligenceConfigRequest,
399 _options: crate::RequestOptions,
400 ) -> impl std::future::Future<
401 Output = crate::Result<crate::Response<crate::model::IntelligenceConfig>>,
402 > + Send {
403 gaxi::unimplemented::unimplemented_stub()
404 }
405
406 fn get_organization_intelligence_config(
408 &self,
409 _req: crate::model::GetOrganizationIntelligenceConfigRequest,
410 _options: crate::RequestOptions,
411 ) -> impl std::future::Future<
412 Output = crate::Result<crate::Response<crate::model::IntelligenceConfig>>,
413 > + Send {
414 gaxi::unimplemented::unimplemented_stub()
415 }
416
417 fn update_organization_intelligence_config(
419 &self,
420 _req: crate::model::UpdateOrganizationIntelligenceConfigRequest,
421 _options: crate::RequestOptions,
422 ) -> impl std::future::Future<
423 Output = crate::Result<crate::Response<crate::model::IntelligenceConfig>>,
424 > + Send {
425 gaxi::unimplemented::unimplemented_stub()
426 }
427
428 fn get_iam_policy(
430 &self,
431 _req: google_cloud_iam_v1::model::GetIamPolicyRequest,
432 _options: crate::RequestOptions,
433 ) -> impl std::future::Future<
434 Output = crate::Result<crate::Response<google_cloud_iam_v1::model::Policy>>,
435 > + Send {
436 gaxi::unimplemented::unimplemented_stub()
437 }
438
439 fn set_iam_policy(
441 &self,
442 _req: google_cloud_iam_v1::model::SetIamPolicyRequest,
443 _options: crate::RequestOptions,
444 ) -> impl std::future::Future<
445 Output = crate::Result<crate::Response<google_cloud_iam_v1::model::Policy>>,
446 > + Send {
447 gaxi::unimplemented::unimplemented_stub()
448 }
449
450 fn test_iam_permissions(
452 &self,
453 _req: google_cloud_iam_v1::model::TestIamPermissionsRequest,
454 _options: crate::RequestOptions,
455 ) -> impl std::future::Future<
456 Output = crate::Result<
457 crate::Response<google_cloud_iam_v1::model::TestIamPermissionsResponse>,
458 >,
459 > + Send {
460 gaxi::unimplemented::unimplemented_stub()
461 }
462
463 fn get_intelligence_finding(
465 &self,
466 _req: crate::model::GetIntelligenceFindingRequest,
467 _options: crate::RequestOptions,
468 ) -> impl std::future::Future<
469 Output = crate::Result<crate::Response<crate::model::IntelligenceFinding>>,
470 > + Send {
471 gaxi::unimplemented::unimplemented_stub()
472 }
473
474 fn list_intelligence_findings(
476 &self,
477 _req: crate::model::ListIntelligenceFindingsRequest,
478 _options: crate::RequestOptions,
479 ) -> impl std::future::Future<
480 Output = crate::Result<crate::Response<crate::model::ListIntelligenceFindingsResponse>>,
481 > + Send {
482 gaxi::unimplemented::unimplemented_stub()
483 }
484
485 fn summarize_intelligence_findings(
487 &self,
488 _req: crate::model::SummarizeIntelligenceFindingsRequest,
489 _options: crate::RequestOptions,
490 ) -> impl std::future::Future<
491 Output = crate::Result<
492 crate::Response<crate::model::SummarizeIntelligenceFindingsResponse>,
493 >,
494 > + Send {
495 gaxi::unimplemented::unimplemented_stub()
496 }
497
498 fn get_intelligence_finding_revision(
500 &self,
501 _req: crate::model::GetIntelligenceFindingRevisionRequest,
502 _options: crate::RequestOptions,
503 ) -> impl std::future::Future<
504 Output = crate::Result<crate::Response<crate::model::IntelligenceFindingRevision>>,
505 > + Send {
506 gaxi::unimplemented::unimplemented_stub()
507 }
508
509 fn list_intelligence_finding_revisions(
511 &self,
512 _req: crate::model::ListIntelligenceFindingRevisionsRequest,
513 _options: crate::RequestOptions,
514 ) -> impl std::future::Future<
515 Output = crate::Result<
516 crate::Response<crate::model::ListIntelligenceFindingRevisionsResponse>,
517 >,
518 > + Send {
519 gaxi::unimplemented::unimplemented_stub()
520 }
521
522 fn get_operation(
524 &self,
525 _req: google_cloud_longrunning::model::GetOperationRequest,
526 _options: crate::RequestOptions,
527 ) -> impl std::future::Future<
528 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
529 > + Send {
530 gaxi::unimplemented::unimplemented_stub()
531 }
532}
533
534impl<T> crate::generated::gapic::stub::StorageControl for std::sync::Arc<T>
535where
536 T: StorageControl,
537{
538 fn delete_bucket(
539 &self,
540 req: crate::model::DeleteBucketRequest,
541 options: crate::RequestOptions,
542 ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
543 T::delete_bucket(self, req, options)
544 }
545
546 fn get_bucket(
547 &self,
548 req: crate::model::GetBucketRequest,
549 options: crate::RequestOptions,
550 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Bucket>>> + Send
551 {
552 T::get_bucket(self, req, options)
553 }
554
555 fn create_bucket(
556 &self,
557 req: crate::model::CreateBucketRequest,
558 options: crate::RequestOptions,
559 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Bucket>>> + Send
560 {
561 T::create_bucket(self, req, options)
562 }
563
564 fn list_buckets(
565 &self,
566 req: crate::model::ListBucketsRequest,
567 options: crate::RequestOptions,
568 ) -> impl std::future::Future<
569 Output = crate::Result<crate::Response<crate::model::ListBucketsResponse>>,
570 > + Send {
571 T::list_buckets(self, req, options)
572 }
573
574 fn lock_bucket_retention_policy(
575 &self,
576 req: crate::model::LockBucketRetentionPolicyRequest,
577 options: crate::RequestOptions,
578 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Bucket>>> + Send
579 {
580 T::lock_bucket_retention_policy(self, req, options)
581 }
582
583 fn update_bucket(
584 &self,
585 req: crate::model::UpdateBucketRequest,
586 options: crate::RequestOptions,
587 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Bucket>>> + Send
588 {
589 T::update_bucket(self, req, options)
590 }
591
592 fn compose_object(
593 &self,
594 req: crate::model::ComposeObjectRequest,
595 options: crate::RequestOptions,
596 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Object>>> + Send
597 {
598 T::compose_object(self, req, options)
599 }
600
601 fn delete_object(
602 &self,
603 req: crate::model::DeleteObjectRequest,
604 options: crate::RequestOptions,
605 ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
606 T::delete_object(self, req, options)
607 }
608
609 fn restore_object(
610 &self,
611 req: crate::model::RestoreObjectRequest,
612 options: crate::RequestOptions,
613 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Object>>> + Send
614 {
615 T::restore_object(self, req, options)
616 }
617
618 fn get_object(
619 &self,
620 req: crate::model::GetObjectRequest,
621 options: crate::RequestOptions,
622 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Object>>> + Send
623 {
624 T::get_object(self, req, options)
625 }
626
627 fn update_object(
628 &self,
629 req: crate::model::UpdateObjectRequest,
630 options: crate::RequestOptions,
631 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Object>>> + Send
632 {
633 T::update_object(self, req, options)
634 }
635
636 fn list_objects(
637 &self,
638 req: crate::model::ListObjectsRequest,
639 options: crate::RequestOptions,
640 ) -> impl std::future::Future<
641 Output = crate::Result<crate::Response<crate::model::ListObjectsResponse>>,
642 > + Send {
643 T::list_objects(self, req, options)
644 }
645
646 fn rewrite_object(
647 &self,
648 req: crate::model::RewriteObjectRequest,
649 options: crate::RequestOptions,
650 ) -> impl std::future::Future<
651 Output = crate::Result<crate::Response<crate::model::RewriteResponse>>,
652 > + Send {
653 T::rewrite_object(self, req, options)
654 }
655
656 fn move_object(
657 &self,
658 req: crate::model::MoveObjectRequest,
659 options: crate::RequestOptions,
660 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Object>>> + Send
661 {
662 T::move_object(self, req, options)
663 }
664}
665
666impl<T> crate::generated::gapic_control::stub::StorageControl for std::sync::Arc<T>
667where
668 T: StorageControl,
669{
670 fn create_folder(
671 &self,
672 req: crate::model::CreateFolderRequest,
673 options: crate::RequestOptions,
674 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Folder>>> + Send
675 {
676 T::create_folder(self, req, options)
677 }
678
679 fn delete_folder(
680 &self,
681 req: crate::model::DeleteFolderRequest,
682 options: crate::RequestOptions,
683 ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
684 T::delete_folder(self, req, options)
685 }
686
687 fn get_folder(
688 &self,
689 req: crate::model::GetFolderRequest,
690 options: crate::RequestOptions,
691 ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Folder>>> + Send
692 {
693 T::get_folder(self, req, options)
694 }
695
696 fn list_folders(
697 &self,
698 req: crate::model::ListFoldersRequest,
699 options: crate::RequestOptions,
700 ) -> impl std::future::Future<
701 Output = crate::Result<crate::Response<crate::model::ListFoldersResponse>>,
702 > + Send {
703 T::list_folders(self, req, options)
704 }
705
706 fn rename_folder(
707 &self,
708 req: crate::model::RenameFolderRequest,
709 options: crate::RequestOptions,
710 ) -> impl std::future::Future<
711 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
712 > + Send {
713 T::rename_folder(self, req, options)
714 }
715
716 fn delete_folder_recursive(
717 &self,
718 req: crate::model::DeleteFolderRecursiveRequest,
719 options: crate::RequestOptions,
720 ) -> impl std::future::Future<
721 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
722 > + Send {
723 T::delete_folder_recursive(self, req, options)
724 }
725
726 fn get_storage_layout(
727 &self,
728 req: crate::model::GetStorageLayoutRequest,
729 options: crate::RequestOptions,
730 ) -> impl std::future::Future<
731 Output = crate::Result<crate::Response<crate::model::StorageLayout>>,
732 > + Send {
733 T::get_storage_layout(self, req, options)
734 }
735
736 fn create_managed_folder(
737 &self,
738 req: crate::model::CreateManagedFolderRequest,
739 options: crate::RequestOptions,
740 ) -> impl std::future::Future<
741 Output = crate::Result<crate::Response<crate::model::ManagedFolder>>,
742 > + Send {
743 T::create_managed_folder(self, req, options)
744 }
745
746 fn delete_managed_folder(
747 &self,
748 req: crate::model::DeleteManagedFolderRequest,
749 options: crate::RequestOptions,
750 ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
751 T::delete_managed_folder(self, req, options)
752 }
753
754 fn get_managed_folder(
755 &self,
756 req: crate::model::GetManagedFolderRequest,
757 options: crate::RequestOptions,
758 ) -> impl std::future::Future<
759 Output = crate::Result<crate::Response<crate::model::ManagedFolder>>,
760 > + Send {
761 T::get_managed_folder(self, req, options)
762 }
763
764 fn list_managed_folders(
765 &self,
766 req: crate::model::ListManagedFoldersRequest,
767 options: crate::RequestOptions,
768 ) -> impl std::future::Future<
769 Output = crate::Result<crate::Response<crate::model::ListManagedFoldersResponse>>,
770 > + Send {
771 T::list_managed_folders(self, req, options)
772 }
773
774 fn create_anywhere_cache(
775 &self,
776 req: crate::model::CreateAnywhereCacheRequest,
777 options: crate::RequestOptions,
778 ) -> impl std::future::Future<
779 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
780 > + Send {
781 T::create_anywhere_cache(self, req, options)
782 }
783
784 fn update_anywhere_cache(
785 &self,
786 req: crate::model::UpdateAnywhereCacheRequest,
787 options: crate::RequestOptions,
788 ) -> impl std::future::Future<
789 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
790 > + Send {
791 T::update_anywhere_cache(self, req, options)
792 }
793
794 fn disable_anywhere_cache(
795 &self,
796 req: crate::model::DisableAnywhereCacheRequest,
797 options: crate::RequestOptions,
798 ) -> impl std::future::Future<
799 Output = crate::Result<crate::Response<crate::model::AnywhereCache>>,
800 > + Send {
801 T::disable_anywhere_cache(self, req, options)
802 }
803
804 fn pause_anywhere_cache(
805 &self,
806 req: crate::model::PauseAnywhereCacheRequest,
807 options: crate::RequestOptions,
808 ) -> impl std::future::Future<
809 Output = crate::Result<crate::Response<crate::model::AnywhereCache>>,
810 > + Send {
811 T::pause_anywhere_cache(self, req, options)
812 }
813
814 fn resume_anywhere_cache(
815 &self,
816 req: crate::model::ResumeAnywhereCacheRequest,
817 options: crate::RequestOptions,
818 ) -> impl std::future::Future<
819 Output = crate::Result<crate::Response<crate::model::AnywhereCache>>,
820 > + Send {
821 T::resume_anywhere_cache(self, req, options)
822 }
823
824 fn get_anywhere_cache(
825 &self,
826 req: crate::model::GetAnywhereCacheRequest,
827 options: crate::RequestOptions,
828 ) -> impl std::future::Future<
829 Output = crate::Result<crate::Response<crate::model::AnywhereCache>>,
830 > + Send {
831 T::get_anywhere_cache(self, req, options)
832 }
833
834 fn list_anywhere_caches(
835 &self,
836 req: crate::model::ListAnywhereCachesRequest,
837 options: crate::RequestOptions,
838 ) -> impl std::future::Future<
839 Output = crate::Result<crate::Response<crate::model::ListAnywhereCachesResponse>>,
840 > + Send {
841 T::list_anywhere_caches(self, req, options)
842 }
843
844 fn get_project_intelligence_config(
845 &self,
846 req: crate::model::GetProjectIntelligenceConfigRequest,
847 options: crate::RequestOptions,
848 ) -> impl std::future::Future<
849 Output = crate::Result<crate::Response<crate::model::IntelligenceConfig>>,
850 > + Send {
851 T::get_project_intelligence_config(self, req, options)
852 }
853
854 fn update_project_intelligence_config(
855 &self,
856 req: crate::model::UpdateProjectIntelligenceConfigRequest,
857 options: crate::RequestOptions,
858 ) -> impl std::future::Future<
859 Output = crate::Result<crate::Response<crate::model::IntelligenceConfig>>,
860 > + Send {
861 T::update_project_intelligence_config(self, req, options)
862 }
863
864 fn get_folder_intelligence_config(
865 &self,
866 req: crate::model::GetFolderIntelligenceConfigRequest,
867 options: crate::RequestOptions,
868 ) -> impl std::future::Future<
869 Output = crate::Result<crate::Response<crate::model::IntelligenceConfig>>,
870 > + Send {
871 T::get_folder_intelligence_config(self, req, options)
872 }
873
874 fn update_folder_intelligence_config(
875 &self,
876 req: crate::model::UpdateFolderIntelligenceConfigRequest,
877 options: crate::RequestOptions,
878 ) -> impl std::future::Future<
879 Output = crate::Result<crate::Response<crate::model::IntelligenceConfig>>,
880 > + Send {
881 T::update_folder_intelligence_config(self, req, options)
882 }
883
884 fn get_organization_intelligence_config(
885 &self,
886 req: crate::model::GetOrganizationIntelligenceConfigRequest,
887 options: crate::RequestOptions,
888 ) -> impl std::future::Future<
889 Output = crate::Result<crate::Response<crate::model::IntelligenceConfig>>,
890 > + Send {
891 T::get_organization_intelligence_config(self, req, options)
892 }
893
894 fn update_organization_intelligence_config(
895 &self,
896 req: crate::model::UpdateOrganizationIntelligenceConfigRequest,
897 options: crate::RequestOptions,
898 ) -> impl std::future::Future<
899 Output = crate::Result<crate::Response<crate::model::IntelligenceConfig>>,
900 > + Send {
901 T::update_organization_intelligence_config(self, req, options)
902 }
903
904 fn get_iam_policy(
905 &self,
906 req: google_cloud_iam_v1::model::GetIamPolicyRequest,
907 options: crate::RequestOptions,
908 ) -> impl std::future::Future<
909 Output = crate::Result<crate::Response<google_cloud_iam_v1::model::Policy>>,
910 > + Send {
911 T::get_iam_policy(self, req, options)
912 }
913
914 fn set_iam_policy(
915 &self,
916 req: google_cloud_iam_v1::model::SetIamPolicyRequest,
917 options: crate::RequestOptions,
918 ) -> impl std::future::Future<
919 Output = crate::Result<crate::Response<google_cloud_iam_v1::model::Policy>>,
920 > + Send {
921 T::set_iam_policy(self, req, options)
922 }
923
924 fn test_iam_permissions(
925 &self,
926 req: google_cloud_iam_v1::model::TestIamPermissionsRequest,
927 options: crate::RequestOptions,
928 ) -> impl std::future::Future<
929 Output = crate::Result<
930 crate::Response<google_cloud_iam_v1::model::TestIamPermissionsResponse>,
931 >,
932 > + Send {
933 T::test_iam_permissions(self, req, options)
934 }
935
936 fn get_intelligence_finding(
937 &self,
938 req: crate::model::GetIntelligenceFindingRequest,
939 options: crate::RequestOptions,
940 ) -> impl std::future::Future<
941 Output = crate::Result<crate::Response<crate::model::IntelligenceFinding>>,
942 > + Send {
943 T::get_intelligence_finding(self, req, options)
944 }
945
946 fn list_intelligence_findings(
947 &self,
948 req: crate::model::ListIntelligenceFindingsRequest,
949 options: crate::RequestOptions,
950 ) -> impl std::future::Future<
951 Output = crate::Result<crate::Response<crate::model::ListIntelligenceFindingsResponse>>,
952 > + Send {
953 T::list_intelligence_findings(self, req, options)
954 }
955
956 fn summarize_intelligence_findings(
957 &self,
958 req: crate::model::SummarizeIntelligenceFindingsRequest,
959 options: crate::RequestOptions,
960 ) -> impl std::future::Future<
961 Output = crate::Result<
962 crate::Response<crate::model::SummarizeIntelligenceFindingsResponse>,
963 >,
964 > + Send {
965 T::summarize_intelligence_findings(self, req, options)
966 }
967
968 fn get_intelligence_finding_revision(
969 &self,
970 req: crate::model::GetIntelligenceFindingRevisionRequest,
971 options: crate::RequestOptions,
972 ) -> impl std::future::Future<
973 Output = crate::Result<crate::Response<crate::model::IntelligenceFindingRevision>>,
974 > + Send {
975 T::get_intelligence_finding_revision(self, req, options)
976 }
977
978 fn list_intelligence_finding_revisions(
979 &self,
980 req: crate::model::ListIntelligenceFindingRevisionsRequest,
981 options: crate::RequestOptions,
982 ) -> impl std::future::Future<
983 Output = crate::Result<
984 crate::Response<crate::model::ListIntelligenceFindingRevisionsResponse>,
985 >,
986 > + Send {
987 T::list_intelligence_finding_revisions(self, req, options)
988 }
989
990 fn get_operation(
991 &self,
992 req: google_cloud_longrunning::model::GetOperationRequest,
993 options: crate::RequestOptions,
994 ) -> impl std::future::Future<
995 Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
996 > + Send {
997 T::get_operation(self, req, options)
998 }
999}