google_cloud_storage/control/generated/
stub.rs

1// Copyright 2025 Google LLC
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     https://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14//
15// Code generated by sidekick. DO NOT EDIT.
16
17/// Defines the trait used to implement [crate::client::StorageControl].
18///
19/// Application developers may need to implement this trait to mock
20/// `client::StorageControl`. In other use-cases, application developers only
21/// use `client::StorageControl` and need not be concerned with this trait or
22/// its implementations.
23///
24/// Services gain new RPCs routinely. Consequently, this trait gains new methods
25/// too. To avoid breaking applications the trait provides a default
26/// implementation of each method. Most of these implementations just return an
27/// error.
28pub trait StorageControl: std::fmt::Debug + Send + Sync {
29    /// Implements [crate::client::StorageControl::delete_bucket].
30    fn delete_bucket(
31        &self,
32        _req: crate::model::DeleteBucketRequest,
33        _options: gax::options::RequestOptions,
34    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
35        gaxi::unimplemented::unimplemented_stub()
36    }
37
38    /// Implements [crate::client::StorageControl::get_bucket].
39    fn get_bucket(
40        &self,
41        _req: crate::model::GetBucketRequest,
42        _options: gax::options::RequestOptions,
43    ) -> impl std::future::Future<
44        Output = crate::Result<gax::response::Response<crate::model::Bucket>>,
45    > + Send {
46        gaxi::unimplemented::unimplemented_stub()
47    }
48
49    /// Implements [crate::client::StorageControl::create_bucket].
50    fn create_bucket(
51        &self,
52        _req: crate::model::CreateBucketRequest,
53        _options: gax::options::RequestOptions,
54    ) -> impl std::future::Future<
55        Output = crate::Result<gax::response::Response<crate::model::Bucket>>,
56    > + Send {
57        gaxi::unimplemented::unimplemented_stub()
58    }
59
60    /// Implements [crate::client::StorageControl::list_buckets].
61    fn list_buckets(
62        &self,
63        _req: crate::model::ListBucketsRequest,
64        _options: gax::options::RequestOptions,
65    ) -> impl std::future::Future<
66        Output = crate::Result<gax::response::Response<crate::model::ListBucketsResponse>>,
67    > + Send {
68        gaxi::unimplemented::unimplemented_stub()
69    }
70
71    /// Implements [crate::client::StorageControl::lock_bucket_retention_policy].
72    fn lock_bucket_retention_policy(
73        &self,
74        _req: crate::model::LockBucketRetentionPolicyRequest,
75        _options: gax::options::RequestOptions,
76    ) -> impl std::future::Future<
77        Output = crate::Result<gax::response::Response<crate::model::Bucket>>,
78    > + Send {
79        gaxi::unimplemented::unimplemented_stub()
80    }
81
82    /// Implements [crate::client::StorageControl::get_iam_policy].
83    fn get_iam_policy(
84        &self,
85        _req: iam_v1::model::GetIamPolicyRequest,
86        _options: gax::options::RequestOptions,
87    ) -> impl std::future::Future<
88        Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
89    > + Send {
90        gaxi::unimplemented::unimplemented_stub()
91    }
92
93    /// Implements [crate::client::StorageControl::set_iam_policy].
94    fn set_iam_policy(
95        &self,
96        _req: iam_v1::model::SetIamPolicyRequest,
97        _options: gax::options::RequestOptions,
98    ) -> impl std::future::Future<
99        Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
100    > + Send {
101        gaxi::unimplemented::unimplemented_stub()
102    }
103
104    /// Implements [crate::client::StorageControl::test_iam_permissions].
105    fn test_iam_permissions(
106        &self,
107        _req: iam_v1::model::TestIamPermissionsRequest,
108        _options: gax::options::RequestOptions,
109    ) -> impl std::future::Future<
110        Output = crate::Result<gax::response::Response<iam_v1::model::TestIamPermissionsResponse>>,
111    > + Send {
112        gaxi::unimplemented::unimplemented_stub()
113    }
114
115    /// Implements [crate::client::StorageControl::update_bucket].
116    fn update_bucket(
117        &self,
118        _req: crate::model::UpdateBucketRequest,
119        _options: gax::options::RequestOptions,
120    ) -> impl std::future::Future<
121        Output = crate::Result<gax::response::Response<crate::model::Bucket>>,
122    > + Send {
123        gaxi::unimplemented::unimplemented_stub()
124    }
125
126    /// Implements [crate::client::StorageControl::compose_object].
127    fn compose_object(
128        &self,
129        _req: crate::model::ComposeObjectRequest,
130        _options: gax::options::RequestOptions,
131    ) -> impl std::future::Future<
132        Output = crate::Result<gax::response::Response<crate::model::Object>>,
133    > + Send {
134        gaxi::unimplemented::unimplemented_stub()
135    }
136
137    /// Implements [crate::client::StorageControl::delete_object].
138    fn delete_object(
139        &self,
140        _req: crate::model::DeleteObjectRequest,
141        _options: gax::options::RequestOptions,
142    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
143        gaxi::unimplemented::unimplemented_stub()
144    }
145
146    /// Implements [crate::client::StorageControl::restore_object].
147    fn restore_object(
148        &self,
149        _req: crate::model::RestoreObjectRequest,
150        _options: gax::options::RequestOptions,
151    ) -> impl std::future::Future<
152        Output = crate::Result<gax::response::Response<crate::model::Object>>,
153    > + Send {
154        gaxi::unimplemented::unimplemented_stub()
155    }
156
157    /// Implements [crate::client::StorageControl::get_object].
158    fn get_object(
159        &self,
160        _req: crate::model::GetObjectRequest,
161        _options: gax::options::RequestOptions,
162    ) -> impl std::future::Future<
163        Output = crate::Result<gax::response::Response<crate::model::Object>>,
164    > + Send {
165        gaxi::unimplemented::unimplemented_stub()
166    }
167
168    /// Implements [crate::client::StorageControl::update_object].
169    fn update_object(
170        &self,
171        _req: crate::model::UpdateObjectRequest,
172        _options: gax::options::RequestOptions,
173    ) -> impl std::future::Future<
174        Output = crate::Result<gax::response::Response<crate::model::Object>>,
175    > + Send {
176        gaxi::unimplemented::unimplemented_stub()
177    }
178
179    /// Implements [crate::client::StorageControl::list_objects].
180    fn list_objects(
181        &self,
182        _req: crate::model::ListObjectsRequest,
183        _options: gax::options::RequestOptions,
184    ) -> impl std::future::Future<
185        Output = crate::Result<gax::response::Response<crate::model::ListObjectsResponse>>,
186    > + Send {
187        gaxi::unimplemented::unimplemented_stub()
188    }
189
190    /// Implements [crate::client::StorageControl::rewrite_object].
191    fn rewrite_object(
192        &self,
193        _req: crate::model::RewriteObjectRequest,
194        _options: gax::options::RequestOptions,
195    ) -> impl std::future::Future<
196        Output = crate::Result<gax::response::Response<crate::model::RewriteResponse>>,
197    > + Send {
198        gaxi::unimplemented::unimplemented_stub()
199    }
200
201    /// Implements [crate::client::StorageControl::move_object].
202    fn move_object(
203        &self,
204        _req: crate::model::MoveObjectRequest,
205        _options: gax::options::RequestOptions,
206    ) -> impl std::future::Future<
207        Output = crate::Result<gax::response::Response<crate::model::Object>>,
208    > + Send {
209        gaxi::unimplemented::unimplemented_stub()
210    }
211
212    /// Implements [crate::client::StorageControl::create_folder].
213    fn create_folder(
214        &self,
215        _req: crate::model::CreateFolderRequest,
216        _options: gax::options::RequestOptions,
217    ) -> impl std::future::Future<
218        Output = crate::Result<gax::response::Response<crate::model::Folder>>,
219    > + Send {
220        gaxi::unimplemented::unimplemented_stub()
221    }
222
223    /// Implements [crate::client::StorageControl::delete_folder].
224    fn delete_folder(
225        &self,
226        _req: crate::model::DeleteFolderRequest,
227        _options: gax::options::RequestOptions,
228    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
229        gaxi::unimplemented::unimplemented_stub()
230    }
231
232    /// Implements [crate::client::StorageControl::get_folder].
233    fn get_folder(
234        &self,
235        _req: crate::model::GetFolderRequest,
236        _options: gax::options::RequestOptions,
237    ) -> impl std::future::Future<
238        Output = crate::Result<gax::response::Response<crate::model::Folder>>,
239    > + Send {
240        gaxi::unimplemented::unimplemented_stub()
241    }
242
243    /// Implements [crate::client::StorageControl::list_folders].
244    fn list_folders(
245        &self,
246        _req: crate::model::ListFoldersRequest,
247        _options: gax::options::RequestOptions,
248    ) -> impl std::future::Future<
249        Output = crate::Result<gax::response::Response<crate::model::ListFoldersResponse>>,
250    > + Send {
251        gaxi::unimplemented::unimplemented_stub()
252    }
253
254    /// Implements [crate::client::StorageControl::rename_folder].
255    fn rename_folder(
256        &self,
257        _req: crate::model::RenameFolderRequest,
258        _options: gax::options::RequestOptions,
259    ) -> impl std::future::Future<
260        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
261    > + Send {
262        gaxi::unimplemented::unimplemented_stub()
263    }
264
265    /// Implements [crate::client::StorageControl::get_storage_layout].
266    fn get_storage_layout(
267        &self,
268        _req: crate::model::GetStorageLayoutRequest,
269        _options: gax::options::RequestOptions,
270    ) -> impl std::future::Future<
271        Output = crate::Result<gax::response::Response<crate::model::StorageLayout>>,
272    > + Send {
273        gaxi::unimplemented::unimplemented_stub()
274    }
275
276    /// Implements [crate::client::StorageControl::create_managed_folder].
277    fn create_managed_folder(
278        &self,
279        _req: crate::model::CreateManagedFolderRequest,
280        _options: gax::options::RequestOptions,
281    ) -> impl std::future::Future<
282        Output = crate::Result<gax::response::Response<crate::model::ManagedFolder>>,
283    > + Send {
284        gaxi::unimplemented::unimplemented_stub()
285    }
286
287    /// Implements [crate::client::StorageControl::delete_managed_folder].
288    fn delete_managed_folder(
289        &self,
290        _req: crate::model::DeleteManagedFolderRequest,
291        _options: gax::options::RequestOptions,
292    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
293        gaxi::unimplemented::unimplemented_stub()
294    }
295
296    /// Implements [crate::client::StorageControl::get_managed_folder].
297    fn get_managed_folder(
298        &self,
299        _req: crate::model::GetManagedFolderRequest,
300        _options: gax::options::RequestOptions,
301    ) -> impl std::future::Future<
302        Output = crate::Result<gax::response::Response<crate::model::ManagedFolder>>,
303    > + Send {
304        gaxi::unimplemented::unimplemented_stub()
305    }
306
307    /// Implements [crate::client::StorageControl::list_managed_folders].
308    fn list_managed_folders(
309        &self,
310        _req: crate::model::ListManagedFoldersRequest,
311        _options: gax::options::RequestOptions,
312    ) -> impl std::future::Future<
313        Output = crate::Result<gax::response::Response<crate::model::ListManagedFoldersResponse>>,
314    > + Send {
315        gaxi::unimplemented::unimplemented_stub()
316    }
317
318    /// Implements [crate::client::StorageControl::create_anywhere_cache].
319    fn create_anywhere_cache(
320        &self,
321        _req: crate::model::CreateAnywhereCacheRequest,
322        _options: gax::options::RequestOptions,
323    ) -> impl std::future::Future<
324        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
325    > + Send {
326        gaxi::unimplemented::unimplemented_stub()
327    }
328
329    /// Implements [crate::client::StorageControl::update_anywhere_cache].
330    fn update_anywhere_cache(
331        &self,
332        _req: crate::model::UpdateAnywhereCacheRequest,
333        _options: gax::options::RequestOptions,
334    ) -> impl std::future::Future<
335        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
336    > + Send {
337        gaxi::unimplemented::unimplemented_stub()
338    }
339
340    /// Implements [crate::client::StorageControl::disable_anywhere_cache].
341    fn disable_anywhere_cache(
342        &self,
343        _req: crate::model::DisableAnywhereCacheRequest,
344        _options: gax::options::RequestOptions,
345    ) -> impl std::future::Future<
346        Output = crate::Result<gax::response::Response<crate::model::AnywhereCache>>,
347    > + Send {
348        gaxi::unimplemented::unimplemented_stub()
349    }
350
351    /// Implements [crate::client::StorageControl::pause_anywhere_cache].
352    fn pause_anywhere_cache(
353        &self,
354        _req: crate::model::PauseAnywhereCacheRequest,
355        _options: gax::options::RequestOptions,
356    ) -> impl std::future::Future<
357        Output = crate::Result<gax::response::Response<crate::model::AnywhereCache>>,
358    > + Send {
359        gaxi::unimplemented::unimplemented_stub()
360    }
361
362    /// Implements [crate::client::StorageControl::resume_anywhere_cache].
363    fn resume_anywhere_cache(
364        &self,
365        _req: crate::model::ResumeAnywhereCacheRequest,
366        _options: gax::options::RequestOptions,
367    ) -> impl std::future::Future<
368        Output = crate::Result<gax::response::Response<crate::model::AnywhereCache>>,
369    > + Send {
370        gaxi::unimplemented::unimplemented_stub()
371    }
372
373    /// Implements [crate::client::StorageControl::get_anywhere_cache].
374    fn get_anywhere_cache(
375        &self,
376        _req: crate::model::GetAnywhereCacheRequest,
377        _options: gax::options::RequestOptions,
378    ) -> impl std::future::Future<
379        Output = crate::Result<gax::response::Response<crate::model::AnywhereCache>>,
380    > + Send {
381        gaxi::unimplemented::unimplemented_stub()
382    }
383
384    /// Implements [crate::client::StorageControl::list_anywhere_caches].
385    fn list_anywhere_caches(
386        &self,
387        _req: crate::model::ListAnywhereCachesRequest,
388        _options: gax::options::RequestOptions,
389    ) -> impl std::future::Future<
390        Output = crate::Result<gax::response::Response<crate::model::ListAnywhereCachesResponse>>,
391    > + Send {
392        gaxi::unimplemented::unimplemented_stub()
393    }
394
395    /// Implements [crate::client::StorageControl::get_project_intelligence_config].
396    fn get_project_intelligence_config(
397        &self,
398        _req: crate::model::GetProjectIntelligenceConfigRequest,
399        _options: gax::options::RequestOptions,
400    ) -> impl std::future::Future<
401        Output = crate::Result<gax::response::Response<crate::model::IntelligenceConfig>>,
402    > + Send {
403        gaxi::unimplemented::unimplemented_stub()
404    }
405
406    /// Implements [crate::client::StorageControl::update_project_intelligence_config].
407    fn update_project_intelligence_config(
408        &self,
409        _req: crate::model::UpdateProjectIntelligenceConfigRequest,
410        _options: gax::options::RequestOptions,
411    ) -> impl std::future::Future<
412        Output = crate::Result<gax::response::Response<crate::model::IntelligenceConfig>>,
413    > + Send {
414        gaxi::unimplemented::unimplemented_stub()
415    }
416
417    /// Implements [crate::client::StorageControl::get_folder_intelligence_config].
418    fn get_folder_intelligence_config(
419        &self,
420        _req: crate::model::GetFolderIntelligenceConfigRequest,
421        _options: gax::options::RequestOptions,
422    ) -> impl std::future::Future<
423        Output = crate::Result<gax::response::Response<crate::model::IntelligenceConfig>>,
424    > + Send {
425        gaxi::unimplemented::unimplemented_stub()
426    }
427
428    /// Implements [crate::client::StorageControl::update_folder_intelligence_config].
429    fn update_folder_intelligence_config(
430        &self,
431        _req: crate::model::UpdateFolderIntelligenceConfigRequest,
432        _options: gax::options::RequestOptions,
433    ) -> impl std::future::Future<
434        Output = crate::Result<gax::response::Response<crate::model::IntelligenceConfig>>,
435    > + Send {
436        gaxi::unimplemented::unimplemented_stub()
437    }
438
439    /// Implements [crate::client::StorageControl::get_organization_intelligence_config].
440    fn get_organization_intelligence_config(
441        &self,
442        _req: crate::model::GetOrganizationIntelligenceConfigRequest,
443        _options: gax::options::RequestOptions,
444    ) -> impl std::future::Future<
445        Output = crate::Result<gax::response::Response<crate::model::IntelligenceConfig>>,
446    > + Send {
447        gaxi::unimplemented::unimplemented_stub()
448    }
449
450    /// Implements [crate::client::StorageControl::update_organization_intelligence_config].
451    fn update_organization_intelligence_config(
452        &self,
453        _req: crate::model::UpdateOrganizationIntelligenceConfigRequest,
454        _options: gax::options::RequestOptions,
455    ) -> impl std::future::Future<
456        Output = crate::Result<gax::response::Response<crate::model::IntelligenceConfig>>,
457    > + Send {
458        gaxi::unimplemented::unimplemented_stub()
459    }
460
461    /// Implements [crate::client::StorageControl::get_operation].
462    fn get_operation(
463        &self,
464        _req: longrunning::model::GetOperationRequest,
465        _options: gax::options::RequestOptions,
466    ) -> impl std::future::Future<
467        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
468    > + Send {
469        gaxi::unimplemented::unimplemented_stub()
470    }
471}
472
473impl<T> crate::generated::gapic::stub::StorageControl for std::sync::Arc<T>
474where
475    T: StorageControl,
476{
477    fn delete_bucket(
478        &self,
479        req: crate::model::DeleteBucketRequest,
480        options: gax::options::RequestOptions,
481    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
482        T::delete_bucket(self, req, options)
483    }
484
485    fn get_bucket(
486        &self,
487        req: crate::model::GetBucketRequest,
488        options: gax::options::RequestOptions,
489    ) -> impl std::future::Future<
490        Output = crate::Result<gax::response::Response<crate::model::Bucket>>,
491    > + Send {
492        T::get_bucket(self, req, options)
493    }
494
495    fn create_bucket(
496        &self,
497        req: crate::model::CreateBucketRequest,
498        options: gax::options::RequestOptions,
499    ) -> impl std::future::Future<
500        Output = crate::Result<gax::response::Response<crate::model::Bucket>>,
501    > + Send {
502        T::create_bucket(self, req, options)
503    }
504
505    fn list_buckets(
506        &self,
507        req: crate::model::ListBucketsRequest,
508        options: gax::options::RequestOptions,
509    ) -> impl std::future::Future<
510        Output = crate::Result<gax::response::Response<crate::model::ListBucketsResponse>>,
511    > + Send {
512        T::list_buckets(self, req, options)
513    }
514
515    fn lock_bucket_retention_policy(
516        &self,
517        req: crate::model::LockBucketRetentionPolicyRequest,
518        options: gax::options::RequestOptions,
519    ) -> impl std::future::Future<
520        Output = crate::Result<gax::response::Response<crate::model::Bucket>>,
521    > + Send {
522        T::lock_bucket_retention_policy(self, req, options)
523    }
524
525    fn get_iam_policy(
526        &self,
527        req: iam_v1::model::GetIamPolicyRequest,
528        options: gax::options::RequestOptions,
529    ) -> impl std::future::Future<
530        Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
531    > + Send {
532        T::get_iam_policy(self, req, options)
533    }
534
535    fn set_iam_policy(
536        &self,
537        req: iam_v1::model::SetIamPolicyRequest,
538        options: gax::options::RequestOptions,
539    ) -> impl std::future::Future<
540        Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
541    > + Send {
542        T::set_iam_policy(self, req, options)
543    }
544
545    fn test_iam_permissions(
546        &self,
547        req: iam_v1::model::TestIamPermissionsRequest,
548        options: gax::options::RequestOptions,
549    ) -> impl std::future::Future<
550        Output = crate::Result<gax::response::Response<iam_v1::model::TestIamPermissionsResponse>>,
551    > + Send {
552        T::test_iam_permissions(self, req, options)
553    }
554
555    fn update_bucket(
556        &self,
557        req: crate::model::UpdateBucketRequest,
558        options: gax::options::RequestOptions,
559    ) -> impl std::future::Future<
560        Output = crate::Result<gax::response::Response<crate::model::Bucket>>,
561    > + Send {
562        T::update_bucket(self, req, options)
563    }
564
565    fn compose_object(
566        &self,
567        req: crate::model::ComposeObjectRequest,
568        options: gax::options::RequestOptions,
569    ) -> impl std::future::Future<
570        Output = crate::Result<gax::response::Response<crate::model::Object>>,
571    > + Send {
572        T::compose_object(self, req, options)
573    }
574
575    fn delete_object(
576        &self,
577        req: crate::model::DeleteObjectRequest,
578        options: gax::options::RequestOptions,
579    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
580        T::delete_object(self, req, options)
581    }
582
583    fn restore_object(
584        &self,
585        req: crate::model::RestoreObjectRequest,
586        options: gax::options::RequestOptions,
587    ) -> impl std::future::Future<
588        Output = crate::Result<gax::response::Response<crate::model::Object>>,
589    > + Send {
590        T::restore_object(self, req, options)
591    }
592
593    fn get_object(
594        &self,
595        req: crate::model::GetObjectRequest,
596        options: gax::options::RequestOptions,
597    ) -> impl std::future::Future<
598        Output = crate::Result<gax::response::Response<crate::model::Object>>,
599    > + Send {
600        T::get_object(self, req, options)
601    }
602
603    fn update_object(
604        &self,
605        req: crate::model::UpdateObjectRequest,
606        options: gax::options::RequestOptions,
607    ) -> impl std::future::Future<
608        Output = crate::Result<gax::response::Response<crate::model::Object>>,
609    > + Send {
610        T::update_object(self, req, options)
611    }
612
613    fn list_objects(
614        &self,
615        req: crate::model::ListObjectsRequest,
616        options: gax::options::RequestOptions,
617    ) -> impl std::future::Future<
618        Output = crate::Result<gax::response::Response<crate::model::ListObjectsResponse>>,
619    > + Send {
620        T::list_objects(self, req, options)
621    }
622
623    fn rewrite_object(
624        &self,
625        req: crate::model::RewriteObjectRequest,
626        options: gax::options::RequestOptions,
627    ) -> impl std::future::Future<
628        Output = crate::Result<gax::response::Response<crate::model::RewriteResponse>>,
629    > + Send {
630        T::rewrite_object(self, req, options)
631    }
632
633    fn move_object(
634        &self,
635        req: crate::model::MoveObjectRequest,
636        options: gax::options::RequestOptions,
637    ) -> impl std::future::Future<
638        Output = crate::Result<gax::response::Response<crate::model::Object>>,
639    > + Send {
640        T::move_object(self, req, options)
641    }
642}
643
644impl<T> crate::generated::gapic_control::stub::StorageControl for std::sync::Arc<T>
645where
646    T: StorageControl,
647{
648    fn create_folder(
649        &self,
650        req: crate::model::CreateFolderRequest,
651        options: gax::options::RequestOptions,
652    ) -> impl std::future::Future<
653        Output = crate::Result<gax::response::Response<crate::model::Folder>>,
654    > + Send {
655        T::create_folder(self, req, options)
656    }
657
658    fn delete_folder(
659        &self,
660        req: crate::model::DeleteFolderRequest,
661        options: gax::options::RequestOptions,
662    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
663        T::delete_folder(self, req, options)
664    }
665
666    fn get_folder(
667        &self,
668        req: crate::model::GetFolderRequest,
669        options: gax::options::RequestOptions,
670    ) -> impl std::future::Future<
671        Output = crate::Result<gax::response::Response<crate::model::Folder>>,
672    > + Send {
673        T::get_folder(self, req, options)
674    }
675
676    fn list_folders(
677        &self,
678        req: crate::model::ListFoldersRequest,
679        options: gax::options::RequestOptions,
680    ) -> impl std::future::Future<
681        Output = crate::Result<gax::response::Response<crate::model::ListFoldersResponse>>,
682    > + Send {
683        T::list_folders(self, req, options)
684    }
685
686    fn rename_folder(
687        &self,
688        req: crate::model::RenameFolderRequest,
689        options: gax::options::RequestOptions,
690    ) -> impl std::future::Future<
691        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
692    > + Send {
693        T::rename_folder(self, req, options)
694    }
695
696    fn get_storage_layout(
697        &self,
698        req: crate::model::GetStorageLayoutRequest,
699        options: gax::options::RequestOptions,
700    ) -> impl std::future::Future<
701        Output = crate::Result<gax::response::Response<crate::model::StorageLayout>>,
702    > + Send {
703        T::get_storage_layout(self, req, options)
704    }
705
706    fn create_managed_folder(
707        &self,
708        req: crate::model::CreateManagedFolderRequest,
709        options: gax::options::RequestOptions,
710    ) -> impl std::future::Future<
711        Output = crate::Result<gax::response::Response<crate::model::ManagedFolder>>,
712    > + Send {
713        T::create_managed_folder(self, req, options)
714    }
715
716    fn delete_managed_folder(
717        &self,
718        req: crate::model::DeleteManagedFolderRequest,
719        options: gax::options::RequestOptions,
720    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
721        T::delete_managed_folder(self, req, options)
722    }
723
724    fn get_managed_folder(
725        &self,
726        req: crate::model::GetManagedFolderRequest,
727        options: gax::options::RequestOptions,
728    ) -> impl std::future::Future<
729        Output = crate::Result<gax::response::Response<crate::model::ManagedFolder>>,
730    > + Send {
731        T::get_managed_folder(self, req, options)
732    }
733
734    fn list_managed_folders(
735        &self,
736        req: crate::model::ListManagedFoldersRequest,
737        options: gax::options::RequestOptions,
738    ) -> impl std::future::Future<
739        Output = crate::Result<gax::response::Response<crate::model::ListManagedFoldersResponse>>,
740    > + Send {
741        T::list_managed_folders(self, req, options)
742    }
743
744    fn create_anywhere_cache(
745        &self,
746        req: crate::model::CreateAnywhereCacheRequest,
747        options: gax::options::RequestOptions,
748    ) -> impl std::future::Future<
749        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
750    > + Send {
751        T::create_anywhere_cache(self, req, options)
752    }
753
754    fn update_anywhere_cache(
755        &self,
756        req: crate::model::UpdateAnywhereCacheRequest,
757        options: gax::options::RequestOptions,
758    ) -> impl std::future::Future<
759        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
760    > + Send {
761        T::update_anywhere_cache(self, req, options)
762    }
763
764    fn disable_anywhere_cache(
765        &self,
766        req: crate::model::DisableAnywhereCacheRequest,
767        options: gax::options::RequestOptions,
768    ) -> impl std::future::Future<
769        Output = crate::Result<gax::response::Response<crate::model::AnywhereCache>>,
770    > + Send {
771        T::disable_anywhere_cache(self, req, options)
772    }
773
774    fn pause_anywhere_cache(
775        &self,
776        req: crate::model::PauseAnywhereCacheRequest,
777        options: gax::options::RequestOptions,
778    ) -> impl std::future::Future<
779        Output = crate::Result<gax::response::Response<crate::model::AnywhereCache>>,
780    > + Send {
781        T::pause_anywhere_cache(self, req, options)
782    }
783
784    fn resume_anywhere_cache(
785        &self,
786        req: crate::model::ResumeAnywhereCacheRequest,
787        options: gax::options::RequestOptions,
788    ) -> impl std::future::Future<
789        Output = crate::Result<gax::response::Response<crate::model::AnywhereCache>>,
790    > + Send {
791        T::resume_anywhere_cache(self, req, options)
792    }
793
794    fn get_anywhere_cache(
795        &self,
796        req: crate::model::GetAnywhereCacheRequest,
797        options: gax::options::RequestOptions,
798    ) -> impl std::future::Future<
799        Output = crate::Result<gax::response::Response<crate::model::AnywhereCache>>,
800    > + Send {
801        T::get_anywhere_cache(self, req, options)
802    }
803
804    fn list_anywhere_caches(
805        &self,
806        req: crate::model::ListAnywhereCachesRequest,
807        options: gax::options::RequestOptions,
808    ) -> impl std::future::Future<
809        Output = crate::Result<gax::response::Response<crate::model::ListAnywhereCachesResponse>>,
810    > + Send {
811        T::list_anywhere_caches(self, req, options)
812    }
813
814    fn get_project_intelligence_config(
815        &self,
816        req: crate::model::GetProjectIntelligenceConfigRequest,
817        options: gax::options::RequestOptions,
818    ) -> impl std::future::Future<
819        Output = crate::Result<gax::response::Response<crate::model::IntelligenceConfig>>,
820    > + Send {
821        T::get_project_intelligence_config(self, req, options)
822    }
823
824    fn update_project_intelligence_config(
825        &self,
826        req: crate::model::UpdateProjectIntelligenceConfigRequest,
827        options: gax::options::RequestOptions,
828    ) -> impl std::future::Future<
829        Output = crate::Result<gax::response::Response<crate::model::IntelligenceConfig>>,
830    > + Send {
831        T::update_project_intelligence_config(self, req, options)
832    }
833
834    fn get_folder_intelligence_config(
835        &self,
836        req: crate::model::GetFolderIntelligenceConfigRequest,
837        options: gax::options::RequestOptions,
838    ) -> impl std::future::Future<
839        Output = crate::Result<gax::response::Response<crate::model::IntelligenceConfig>>,
840    > + Send {
841        T::get_folder_intelligence_config(self, req, options)
842    }
843
844    fn update_folder_intelligence_config(
845        &self,
846        req: crate::model::UpdateFolderIntelligenceConfigRequest,
847        options: gax::options::RequestOptions,
848    ) -> impl std::future::Future<
849        Output = crate::Result<gax::response::Response<crate::model::IntelligenceConfig>>,
850    > + Send {
851        T::update_folder_intelligence_config(self, req, options)
852    }
853
854    fn get_organization_intelligence_config(
855        &self,
856        req: crate::model::GetOrganizationIntelligenceConfigRequest,
857        options: gax::options::RequestOptions,
858    ) -> impl std::future::Future<
859        Output = crate::Result<gax::response::Response<crate::model::IntelligenceConfig>>,
860    > + Send {
861        T::get_organization_intelligence_config(self, req, options)
862    }
863
864    fn update_organization_intelligence_config(
865        &self,
866        req: crate::model::UpdateOrganizationIntelligenceConfigRequest,
867        options: gax::options::RequestOptions,
868    ) -> impl std::future::Future<
869        Output = crate::Result<gax::response::Response<crate::model::IntelligenceConfig>>,
870    > + Send {
871        T::update_organization_intelligence_config(self, req, options)
872    }
873
874    fn get_operation(
875        &self,
876        req: longrunning::model::GetOperationRequest,
877        options: gax::options::RequestOptions,
878    ) -> impl std::future::Future<
879        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
880    > + Send {
881        T::get_operation(self, req, options)
882    }
883}