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::update_bucket].
83    fn update_bucket(
84        &self,
85        _req: crate::model::UpdateBucketRequest,
86        _options: gax::options::RequestOptions,
87    ) -> impl std::future::Future<
88        Output = crate::Result<gax::response::Response<crate::model::Bucket>>,
89    > + Send {
90        gaxi::unimplemented::unimplemented_stub()
91    }
92
93    /// Implements [crate::client::StorageControl::compose_object].
94    fn compose_object(
95        &self,
96        _req: crate::model::ComposeObjectRequest,
97        _options: gax::options::RequestOptions,
98    ) -> impl std::future::Future<
99        Output = crate::Result<gax::response::Response<crate::model::Object>>,
100    > + Send {
101        gaxi::unimplemented::unimplemented_stub()
102    }
103
104    /// Implements [crate::client::StorageControl::delete_object].
105    fn delete_object(
106        &self,
107        _req: crate::model::DeleteObjectRequest,
108        _options: gax::options::RequestOptions,
109    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
110        gaxi::unimplemented::unimplemented_stub()
111    }
112
113    /// Implements [crate::client::StorageControl::restore_object].
114    fn restore_object(
115        &self,
116        _req: crate::model::RestoreObjectRequest,
117        _options: gax::options::RequestOptions,
118    ) -> impl std::future::Future<
119        Output = crate::Result<gax::response::Response<crate::model::Object>>,
120    > + Send {
121        gaxi::unimplemented::unimplemented_stub()
122    }
123
124    /// Implements [crate::client::StorageControl::get_object].
125    fn get_object(
126        &self,
127        _req: crate::model::GetObjectRequest,
128        _options: gax::options::RequestOptions,
129    ) -> impl std::future::Future<
130        Output = crate::Result<gax::response::Response<crate::model::Object>>,
131    > + Send {
132        gaxi::unimplemented::unimplemented_stub()
133    }
134
135    /// Implements [crate::client::StorageControl::update_object].
136    fn update_object(
137        &self,
138        _req: crate::model::UpdateObjectRequest,
139        _options: gax::options::RequestOptions,
140    ) -> impl std::future::Future<
141        Output = crate::Result<gax::response::Response<crate::model::Object>>,
142    > + Send {
143        gaxi::unimplemented::unimplemented_stub()
144    }
145
146    /// Implements [crate::client::StorageControl::list_objects].
147    fn list_objects(
148        &self,
149        _req: crate::model::ListObjectsRequest,
150        _options: gax::options::RequestOptions,
151    ) -> impl std::future::Future<
152        Output = crate::Result<gax::response::Response<crate::model::ListObjectsResponse>>,
153    > + Send {
154        gaxi::unimplemented::unimplemented_stub()
155    }
156
157    /// Implements [crate::client::StorageControl::rewrite_object].
158    fn rewrite_object(
159        &self,
160        _req: crate::model::RewriteObjectRequest,
161        _options: gax::options::RequestOptions,
162    ) -> impl std::future::Future<
163        Output = crate::Result<gax::response::Response<crate::model::RewriteResponse>>,
164    > + Send {
165        gaxi::unimplemented::unimplemented_stub()
166    }
167
168    /// Implements [crate::client::StorageControl::move_object].
169    fn move_object(
170        &self,
171        _req: crate::model::MoveObjectRequest,
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::create_folder].
180    fn create_folder(
181        &self,
182        _req: crate::model::CreateFolderRequest,
183        _options: gax::options::RequestOptions,
184    ) -> impl std::future::Future<
185        Output = crate::Result<gax::response::Response<crate::model::Folder>>,
186    > + Send {
187        gaxi::unimplemented::unimplemented_stub()
188    }
189
190    /// Implements [crate::client::StorageControl::delete_folder].
191    fn delete_folder(
192        &self,
193        _req: crate::model::DeleteFolderRequest,
194        _options: gax::options::RequestOptions,
195    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
196        gaxi::unimplemented::unimplemented_stub()
197    }
198
199    /// Implements [crate::client::StorageControl::get_folder].
200    fn get_folder(
201        &self,
202        _req: crate::model::GetFolderRequest,
203        _options: gax::options::RequestOptions,
204    ) -> impl std::future::Future<
205        Output = crate::Result<gax::response::Response<crate::model::Folder>>,
206    > + Send {
207        gaxi::unimplemented::unimplemented_stub()
208    }
209
210    /// Implements [crate::client::StorageControl::list_folders].
211    fn list_folders(
212        &self,
213        _req: crate::model::ListFoldersRequest,
214        _options: gax::options::RequestOptions,
215    ) -> impl std::future::Future<
216        Output = crate::Result<gax::response::Response<crate::model::ListFoldersResponse>>,
217    > + Send {
218        gaxi::unimplemented::unimplemented_stub()
219    }
220
221    /// Implements [crate::client::StorageControl::rename_folder].
222    fn rename_folder(
223        &self,
224        _req: crate::model::RenameFolderRequest,
225        _options: gax::options::RequestOptions,
226    ) -> impl std::future::Future<
227        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
228    > + Send {
229        gaxi::unimplemented::unimplemented_stub()
230    }
231
232    /// Implements [crate::client::StorageControl::get_storage_layout].
233    fn get_storage_layout(
234        &self,
235        _req: crate::model::GetStorageLayoutRequest,
236        _options: gax::options::RequestOptions,
237    ) -> impl std::future::Future<
238        Output = crate::Result<gax::response::Response<crate::model::StorageLayout>>,
239    > + Send {
240        gaxi::unimplemented::unimplemented_stub()
241    }
242
243    /// Implements [crate::client::StorageControl::create_managed_folder].
244    fn create_managed_folder(
245        &self,
246        _req: crate::model::CreateManagedFolderRequest,
247        _options: gax::options::RequestOptions,
248    ) -> impl std::future::Future<
249        Output = crate::Result<gax::response::Response<crate::model::ManagedFolder>>,
250    > + Send {
251        gaxi::unimplemented::unimplemented_stub()
252    }
253
254    /// Implements [crate::client::StorageControl::delete_managed_folder].
255    fn delete_managed_folder(
256        &self,
257        _req: crate::model::DeleteManagedFolderRequest,
258        _options: gax::options::RequestOptions,
259    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
260        gaxi::unimplemented::unimplemented_stub()
261    }
262
263    /// Implements [crate::client::StorageControl::get_managed_folder].
264    fn get_managed_folder(
265        &self,
266        _req: crate::model::GetManagedFolderRequest,
267        _options: gax::options::RequestOptions,
268    ) -> impl std::future::Future<
269        Output = crate::Result<gax::response::Response<crate::model::ManagedFolder>>,
270    > + Send {
271        gaxi::unimplemented::unimplemented_stub()
272    }
273
274    /// Implements [crate::client::StorageControl::list_managed_folders].
275    fn list_managed_folders(
276        &self,
277        _req: crate::model::ListManagedFoldersRequest,
278        _options: gax::options::RequestOptions,
279    ) -> impl std::future::Future<
280        Output = crate::Result<gax::response::Response<crate::model::ListManagedFoldersResponse>>,
281    > + Send {
282        gaxi::unimplemented::unimplemented_stub()
283    }
284
285    /// Implements [crate::client::StorageControl::create_anywhere_cache].
286    fn create_anywhere_cache(
287        &self,
288        _req: crate::model::CreateAnywhereCacheRequest,
289        _options: gax::options::RequestOptions,
290    ) -> impl std::future::Future<
291        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
292    > + Send {
293        gaxi::unimplemented::unimplemented_stub()
294    }
295
296    /// Implements [crate::client::StorageControl::update_anywhere_cache].
297    fn update_anywhere_cache(
298        &self,
299        _req: crate::model::UpdateAnywhereCacheRequest,
300        _options: gax::options::RequestOptions,
301    ) -> impl std::future::Future<
302        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
303    > + Send {
304        gaxi::unimplemented::unimplemented_stub()
305    }
306
307    /// Implements [crate::client::StorageControl::disable_anywhere_cache].
308    fn disable_anywhere_cache(
309        &self,
310        _req: crate::model::DisableAnywhereCacheRequest,
311        _options: gax::options::RequestOptions,
312    ) -> impl std::future::Future<
313        Output = crate::Result<gax::response::Response<crate::model::AnywhereCache>>,
314    > + Send {
315        gaxi::unimplemented::unimplemented_stub()
316    }
317
318    /// Implements [crate::client::StorageControl::pause_anywhere_cache].
319    fn pause_anywhere_cache(
320        &self,
321        _req: crate::model::PauseAnywhereCacheRequest,
322        _options: gax::options::RequestOptions,
323    ) -> impl std::future::Future<
324        Output = crate::Result<gax::response::Response<crate::model::AnywhereCache>>,
325    > + Send {
326        gaxi::unimplemented::unimplemented_stub()
327    }
328
329    /// Implements [crate::client::StorageControl::resume_anywhere_cache].
330    fn resume_anywhere_cache(
331        &self,
332        _req: crate::model::ResumeAnywhereCacheRequest,
333        _options: gax::options::RequestOptions,
334    ) -> impl std::future::Future<
335        Output = crate::Result<gax::response::Response<crate::model::AnywhereCache>>,
336    > + Send {
337        gaxi::unimplemented::unimplemented_stub()
338    }
339
340    /// Implements [crate::client::StorageControl::get_anywhere_cache].
341    fn get_anywhere_cache(
342        &self,
343        _req: crate::model::GetAnywhereCacheRequest,
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::list_anywhere_caches].
352    fn list_anywhere_caches(
353        &self,
354        _req: crate::model::ListAnywhereCachesRequest,
355        _options: gax::options::RequestOptions,
356    ) -> impl std::future::Future<
357        Output = crate::Result<gax::response::Response<crate::model::ListAnywhereCachesResponse>>,
358    > + Send {
359        gaxi::unimplemented::unimplemented_stub()
360    }
361
362    /// Implements [crate::client::StorageControl::get_project_intelligence_config].
363    fn get_project_intelligence_config(
364        &self,
365        _req: crate::model::GetProjectIntelligenceConfigRequest,
366        _options: gax::options::RequestOptions,
367    ) -> impl std::future::Future<
368        Output = crate::Result<gax::response::Response<crate::model::IntelligenceConfig>>,
369    > + Send {
370        gaxi::unimplemented::unimplemented_stub()
371    }
372
373    /// Implements [crate::client::StorageControl::update_project_intelligence_config].
374    fn update_project_intelligence_config(
375        &self,
376        _req: crate::model::UpdateProjectIntelligenceConfigRequest,
377        _options: gax::options::RequestOptions,
378    ) -> impl std::future::Future<
379        Output = crate::Result<gax::response::Response<crate::model::IntelligenceConfig>>,
380    > + Send {
381        gaxi::unimplemented::unimplemented_stub()
382    }
383
384    /// Implements [crate::client::StorageControl::get_folder_intelligence_config].
385    fn get_folder_intelligence_config(
386        &self,
387        _req: crate::model::GetFolderIntelligenceConfigRequest,
388        _options: gax::options::RequestOptions,
389    ) -> impl std::future::Future<
390        Output = crate::Result<gax::response::Response<crate::model::IntelligenceConfig>>,
391    > + Send {
392        gaxi::unimplemented::unimplemented_stub()
393    }
394
395    /// Implements [crate::client::StorageControl::update_folder_intelligence_config].
396    fn update_folder_intelligence_config(
397        &self,
398        _req: crate::model::UpdateFolderIntelligenceConfigRequest,
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::get_organization_intelligence_config].
407    fn get_organization_intelligence_config(
408        &self,
409        _req: crate::model::GetOrganizationIntelligenceConfigRequest,
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::update_organization_intelligence_config].
418    fn update_organization_intelligence_config(
419        &self,
420        _req: crate::model::UpdateOrganizationIntelligenceConfigRequest,
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::get_iam_policy].
429    fn get_iam_policy(
430        &self,
431        _req: iam_v1::model::GetIamPolicyRequest,
432        _options: gax::options::RequestOptions,
433    ) -> impl std::future::Future<
434        Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
435    > + Send {
436        gaxi::unimplemented::unimplemented_stub()
437    }
438
439    /// Implements [crate::client::StorageControl::set_iam_policy].
440    fn set_iam_policy(
441        &self,
442        _req: iam_v1::model::SetIamPolicyRequest,
443        _options: gax::options::RequestOptions,
444    ) -> impl std::future::Future<
445        Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
446    > + Send {
447        gaxi::unimplemented::unimplemented_stub()
448    }
449
450    /// Implements [crate::client::StorageControl::test_iam_permissions].
451    fn test_iam_permissions(
452        &self,
453        _req: iam_v1::model::TestIamPermissionsRequest,
454        _options: gax::options::RequestOptions,
455    ) -> impl std::future::Future<
456        Output = crate::Result<gax::response::Response<iam_v1::model::TestIamPermissionsResponse>>,
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 update_bucket(
526        &self,
527        req: crate::model::UpdateBucketRequest,
528        options: gax::options::RequestOptions,
529    ) -> impl std::future::Future<
530        Output = crate::Result<gax::response::Response<crate::model::Bucket>>,
531    > + Send {
532        T::update_bucket(self, req, options)
533    }
534
535    fn compose_object(
536        &self,
537        req: crate::model::ComposeObjectRequest,
538        options: gax::options::RequestOptions,
539    ) -> impl std::future::Future<
540        Output = crate::Result<gax::response::Response<crate::model::Object>>,
541    > + Send {
542        T::compose_object(self, req, options)
543    }
544
545    fn delete_object(
546        &self,
547        req: crate::model::DeleteObjectRequest,
548        options: gax::options::RequestOptions,
549    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
550        T::delete_object(self, req, options)
551    }
552
553    fn restore_object(
554        &self,
555        req: crate::model::RestoreObjectRequest,
556        options: gax::options::RequestOptions,
557    ) -> impl std::future::Future<
558        Output = crate::Result<gax::response::Response<crate::model::Object>>,
559    > + Send {
560        T::restore_object(self, req, options)
561    }
562
563    fn get_object(
564        &self,
565        req: crate::model::GetObjectRequest,
566        options: gax::options::RequestOptions,
567    ) -> impl std::future::Future<
568        Output = crate::Result<gax::response::Response<crate::model::Object>>,
569    > + Send {
570        T::get_object(self, req, options)
571    }
572
573    fn update_object(
574        &self,
575        req: crate::model::UpdateObjectRequest,
576        options: gax::options::RequestOptions,
577    ) -> impl std::future::Future<
578        Output = crate::Result<gax::response::Response<crate::model::Object>>,
579    > + Send {
580        T::update_object(self, req, options)
581    }
582
583    fn list_objects(
584        &self,
585        req: crate::model::ListObjectsRequest,
586        options: gax::options::RequestOptions,
587    ) -> impl std::future::Future<
588        Output = crate::Result<gax::response::Response<crate::model::ListObjectsResponse>>,
589    > + Send {
590        T::list_objects(self, req, options)
591    }
592
593    fn rewrite_object(
594        &self,
595        req: crate::model::RewriteObjectRequest,
596        options: gax::options::RequestOptions,
597    ) -> impl std::future::Future<
598        Output = crate::Result<gax::response::Response<crate::model::RewriteResponse>>,
599    > + Send {
600        T::rewrite_object(self, req, options)
601    }
602
603    fn move_object(
604        &self,
605        req: crate::model::MoveObjectRequest,
606        options: gax::options::RequestOptions,
607    ) -> impl std::future::Future<
608        Output = crate::Result<gax::response::Response<crate::model::Object>>,
609    > + Send {
610        T::move_object(self, req, options)
611    }
612}
613
614impl<T> crate::generated::gapic_control::stub::StorageControl for std::sync::Arc<T>
615where
616    T: StorageControl,
617{
618    fn create_folder(
619        &self,
620        req: crate::model::CreateFolderRequest,
621        options: gax::options::RequestOptions,
622    ) -> impl std::future::Future<
623        Output = crate::Result<gax::response::Response<crate::model::Folder>>,
624    > + Send {
625        T::create_folder(self, req, options)
626    }
627
628    fn delete_folder(
629        &self,
630        req: crate::model::DeleteFolderRequest,
631        options: gax::options::RequestOptions,
632    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
633        T::delete_folder(self, req, options)
634    }
635
636    fn get_folder(
637        &self,
638        req: crate::model::GetFolderRequest,
639        options: gax::options::RequestOptions,
640    ) -> impl std::future::Future<
641        Output = crate::Result<gax::response::Response<crate::model::Folder>>,
642    > + Send {
643        T::get_folder(self, req, options)
644    }
645
646    fn list_folders(
647        &self,
648        req: crate::model::ListFoldersRequest,
649        options: gax::options::RequestOptions,
650    ) -> impl std::future::Future<
651        Output = crate::Result<gax::response::Response<crate::model::ListFoldersResponse>>,
652    > + Send {
653        T::list_folders(self, req, options)
654    }
655
656    fn rename_folder(
657        &self,
658        req: crate::model::RenameFolderRequest,
659        options: gax::options::RequestOptions,
660    ) -> impl std::future::Future<
661        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
662    > + Send {
663        T::rename_folder(self, req, options)
664    }
665
666    fn get_storage_layout(
667        &self,
668        req: crate::model::GetStorageLayoutRequest,
669        options: gax::options::RequestOptions,
670    ) -> impl std::future::Future<
671        Output = crate::Result<gax::response::Response<crate::model::StorageLayout>>,
672    > + Send {
673        T::get_storage_layout(self, req, options)
674    }
675
676    fn create_managed_folder(
677        &self,
678        req: crate::model::CreateManagedFolderRequest,
679        options: gax::options::RequestOptions,
680    ) -> impl std::future::Future<
681        Output = crate::Result<gax::response::Response<crate::model::ManagedFolder>>,
682    > + Send {
683        T::create_managed_folder(self, req, options)
684    }
685
686    fn delete_managed_folder(
687        &self,
688        req: crate::model::DeleteManagedFolderRequest,
689        options: gax::options::RequestOptions,
690    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
691        T::delete_managed_folder(self, req, options)
692    }
693
694    fn get_managed_folder(
695        &self,
696        req: crate::model::GetManagedFolderRequest,
697        options: gax::options::RequestOptions,
698    ) -> impl std::future::Future<
699        Output = crate::Result<gax::response::Response<crate::model::ManagedFolder>>,
700    > + Send {
701        T::get_managed_folder(self, req, options)
702    }
703
704    fn list_managed_folders(
705        &self,
706        req: crate::model::ListManagedFoldersRequest,
707        options: gax::options::RequestOptions,
708    ) -> impl std::future::Future<
709        Output = crate::Result<gax::response::Response<crate::model::ListManagedFoldersResponse>>,
710    > + Send {
711        T::list_managed_folders(self, req, options)
712    }
713
714    fn create_anywhere_cache(
715        &self,
716        req: crate::model::CreateAnywhereCacheRequest,
717        options: gax::options::RequestOptions,
718    ) -> impl std::future::Future<
719        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
720    > + Send {
721        T::create_anywhere_cache(self, req, options)
722    }
723
724    fn update_anywhere_cache(
725        &self,
726        req: crate::model::UpdateAnywhereCacheRequest,
727        options: gax::options::RequestOptions,
728    ) -> impl std::future::Future<
729        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
730    > + Send {
731        T::update_anywhere_cache(self, req, options)
732    }
733
734    fn disable_anywhere_cache(
735        &self,
736        req: crate::model::DisableAnywhereCacheRequest,
737        options: gax::options::RequestOptions,
738    ) -> impl std::future::Future<
739        Output = crate::Result<gax::response::Response<crate::model::AnywhereCache>>,
740    > + Send {
741        T::disable_anywhere_cache(self, req, options)
742    }
743
744    fn pause_anywhere_cache(
745        &self,
746        req: crate::model::PauseAnywhereCacheRequest,
747        options: gax::options::RequestOptions,
748    ) -> impl std::future::Future<
749        Output = crate::Result<gax::response::Response<crate::model::AnywhereCache>>,
750    > + Send {
751        T::pause_anywhere_cache(self, req, options)
752    }
753
754    fn resume_anywhere_cache(
755        &self,
756        req: crate::model::ResumeAnywhereCacheRequest,
757        options: gax::options::RequestOptions,
758    ) -> impl std::future::Future<
759        Output = crate::Result<gax::response::Response<crate::model::AnywhereCache>>,
760    > + Send {
761        T::resume_anywhere_cache(self, req, options)
762    }
763
764    fn get_anywhere_cache(
765        &self,
766        req: crate::model::GetAnywhereCacheRequest,
767        options: gax::options::RequestOptions,
768    ) -> impl std::future::Future<
769        Output = crate::Result<gax::response::Response<crate::model::AnywhereCache>>,
770    > + Send {
771        T::get_anywhere_cache(self, req, options)
772    }
773
774    fn list_anywhere_caches(
775        &self,
776        req: crate::model::ListAnywhereCachesRequest,
777        options: gax::options::RequestOptions,
778    ) -> impl std::future::Future<
779        Output = crate::Result<gax::response::Response<crate::model::ListAnywhereCachesResponse>>,
780    > + Send {
781        T::list_anywhere_caches(self, req, options)
782    }
783
784    fn get_project_intelligence_config(
785        &self,
786        req: crate::model::GetProjectIntelligenceConfigRequest,
787        options: gax::options::RequestOptions,
788    ) -> impl std::future::Future<
789        Output = crate::Result<gax::response::Response<crate::model::IntelligenceConfig>>,
790    > + Send {
791        T::get_project_intelligence_config(self, req, options)
792    }
793
794    fn update_project_intelligence_config(
795        &self,
796        req: crate::model::UpdateProjectIntelligenceConfigRequest,
797        options: gax::options::RequestOptions,
798    ) -> impl std::future::Future<
799        Output = crate::Result<gax::response::Response<crate::model::IntelligenceConfig>>,
800    > + Send {
801        T::update_project_intelligence_config(self, req, options)
802    }
803
804    fn get_folder_intelligence_config(
805        &self,
806        req: crate::model::GetFolderIntelligenceConfigRequest,
807        options: gax::options::RequestOptions,
808    ) -> impl std::future::Future<
809        Output = crate::Result<gax::response::Response<crate::model::IntelligenceConfig>>,
810    > + Send {
811        T::get_folder_intelligence_config(self, req, options)
812    }
813
814    fn update_folder_intelligence_config(
815        &self,
816        req: crate::model::UpdateFolderIntelligenceConfigRequest,
817        options: gax::options::RequestOptions,
818    ) -> impl std::future::Future<
819        Output = crate::Result<gax::response::Response<crate::model::IntelligenceConfig>>,
820    > + Send {
821        T::update_folder_intelligence_config(self, req, options)
822    }
823
824    fn get_organization_intelligence_config(
825        &self,
826        req: crate::model::GetOrganizationIntelligenceConfigRequest,
827        options: gax::options::RequestOptions,
828    ) -> impl std::future::Future<
829        Output = crate::Result<gax::response::Response<crate::model::IntelligenceConfig>>,
830    > + Send {
831        T::get_organization_intelligence_config(self, req, options)
832    }
833
834    fn update_organization_intelligence_config(
835        &self,
836        req: crate::model::UpdateOrganizationIntelligenceConfigRequest,
837        options: gax::options::RequestOptions,
838    ) -> impl std::future::Future<
839        Output = crate::Result<gax::response::Response<crate::model::IntelligenceConfig>>,
840    > + Send {
841        T::update_organization_intelligence_config(self, req, options)
842    }
843
844    fn get_iam_policy(
845        &self,
846        req: iam_v1::model::GetIamPolicyRequest,
847        options: gax::options::RequestOptions,
848    ) -> impl std::future::Future<
849        Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
850    > + Send {
851        T::get_iam_policy(self, req, options)
852    }
853
854    fn set_iam_policy(
855        &self,
856        req: iam_v1::model::SetIamPolicyRequest,
857        options: gax::options::RequestOptions,
858    ) -> impl std::future::Future<
859        Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
860    > + Send {
861        T::set_iam_policy(self, req, options)
862    }
863
864    fn test_iam_permissions(
865        &self,
866        req: iam_v1::model::TestIamPermissionsRequest,
867        options: gax::options::RequestOptions,
868    ) -> impl std::future::Future<
869        Output = crate::Result<gax::response::Response<iam_v1::model::TestIamPermissionsResponse>>,
870    > + Send {
871        T::test_iam_permissions(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}