1#![allow(rustdoc::broken_intra_doc_links)]
26
27pub(crate) mod dynamic;
28
29pub trait CrossNetworkAutomationService: std::fmt::Debug + Send + Sync {
41 fn list_service_connection_maps(
43 &self,
44 _req: crate::model::ListServiceConnectionMapsRequest,
45 _options: gax::options::RequestOptions,
46 ) -> impl std::future::Future<
47 Output = crate::Result<
48 gax::response::Response<crate::model::ListServiceConnectionMapsResponse>,
49 >,
50 > + Send {
51 gaxi::unimplemented::unimplemented_stub()
52 }
53
54 fn get_service_connection_map(
56 &self,
57 _req: crate::model::GetServiceConnectionMapRequest,
58 _options: gax::options::RequestOptions,
59 ) -> impl std::future::Future<
60 Output = crate::Result<gax::response::Response<crate::model::ServiceConnectionMap>>,
61 > + Send {
62 gaxi::unimplemented::unimplemented_stub()
63 }
64
65 fn create_service_connection_map(
67 &self,
68 _req: crate::model::CreateServiceConnectionMapRequest,
69 _options: gax::options::RequestOptions,
70 ) -> impl std::future::Future<
71 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
72 > + Send {
73 gaxi::unimplemented::unimplemented_stub()
74 }
75
76 fn update_service_connection_map(
78 &self,
79 _req: crate::model::UpdateServiceConnectionMapRequest,
80 _options: gax::options::RequestOptions,
81 ) -> impl std::future::Future<
82 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
83 > + Send {
84 gaxi::unimplemented::unimplemented_stub()
85 }
86
87 fn delete_service_connection_map(
89 &self,
90 _req: crate::model::DeleteServiceConnectionMapRequest,
91 _options: gax::options::RequestOptions,
92 ) -> impl std::future::Future<
93 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
94 > + Send {
95 gaxi::unimplemented::unimplemented_stub()
96 }
97
98 fn list_service_connection_policies(
100 &self,
101 _req: crate::model::ListServiceConnectionPoliciesRequest,
102 _options: gax::options::RequestOptions,
103 ) -> impl std::future::Future<
104 Output = crate::Result<
105 gax::response::Response<crate::model::ListServiceConnectionPoliciesResponse>,
106 >,
107 > + Send {
108 gaxi::unimplemented::unimplemented_stub()
109 }
110
111 fn get_service_connection_policy(
113 &self,
114 _req: crate::model::GetServiceConnectionPolicyRequest,
115 _options: gax::options::RequestOptions,
116 ) -> impl std::future::Future<
117 Output = crate::Result<gax::response::Response<crate::model::ServiceConnectionPolicy>>,
118 > + Send {
119 gaxi::unimplemented::unimplemented_stub()
120 }
121
122 fn create_service_connection_policy(
124 &self,
125 _req: crate::model::CreateServiceConnectionPolicyRequest,
126 _options: gax::options::RequestOptions,
127 ) -> impl std::future::Future<
128 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
129 > + Send {
130 gaxi::unimplemented::unimplemented_stub()
131 }
132
133 fn update_service_connection_policy(
135 &self,
136 _req: crate::model::UpdateServiceConnectionPolicyRequest,
137 _options: gax::options::RequestOptions,
138 ) -> impl std::future::Future<
139 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
140 > + Send {
141 gaxi::unimplemented::unimplemented_stub()
142 }
143
144 fn delete_service_connection_policy(
146 &self,
147 _req: crate::model::DeleteServiceConnectionPolicyRequest,
148 _options: gax::options::RequestOptions,
149 ) -> impl std::future::Future<
150 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
151 > + Send {
152 gaxi::unimplemented::unimplemented_stub()
153 }
154
155 fn list_service_classes(
157 &self,
158 _req: crate::model::ListServiceClassesRequest,
159 _options: gax::options::RequestOptions,
160 ) -> impl std::future::Future<
161 Output = crate::Result<gax::response::Response<crate::model::ListServiceClassesResponse>>,
162 > + Send {
163 gaxi::unimplemented::unimplemented_stub()
164 }
165
166 fn get_service_class(
168 &self,
169 _req: crate::model::GetServiceClassRequest,
170 _options: gax::options::RequestOptions,
171 ) -> impl std::future::Future<
172 Output = crate::Result<gax::response::Response<crate::model::ServiceClass>>,
173 > + Send {
174 gaxi::unimplemented::unimplemented_stub()
175 }
176
177 fn update_service_class(
179 &self,
180 _req: crate::model::UpdateServiceClassRequest,
181 _options: gax::options::RequestOptions,
182 ) -> impl std::future::Future<
183 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
184 > + Send {
185 gaxi::unimplemented::unimplemented_stub()
186 }
187
188 fn delete_service_class(
190 &self,
191 _req: crate::model::DeleteServiceClassRequest,
192 _options: gax::options::RequestOptions,
193 ) -> impl std::future::Future<
194 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
195 > + Send {
196 gaxi::unimplemented::unimplemented_stub()
197 }
198
199 fn get_service_connection_token(
201 &self,
202 _req: crate::model::GetServiceConnectionTokenRequest,
203 _options: gax::options::RequestOptions,
204 ) -> impl std::future::Future<
205 Output = crate::Result<gax::response::Response<crate::model::ServiceConnectionToken>>,
206 > + Send {
207 gaxi::unimplemented::unimplemented_stub()
208 }
209
210 fn list_service_connection_tokens(
212 &self,
213 _req: crate::model::ListServiceConnectionTokensRequest,
214 _options: gax::options::RequestOptions,
215 ) -> impl std::future::Future<
216 Output = crate::Result<
217 gax::response::Response<crate::model::ListServiceConnectionTokensResponse>,
218 >,
219 > + Send {
220 gaxi::unimplemented::unimplemented_stub()
221 }
222
223 fn create_service_connection_token(
225 &self,
226 _req: crate::model::CreateServiceConnectionTokenRequest,
227 _options: gax::options::RequestOptions,
228 ) -> impl std::future::Future<
229 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
230 > + Send {
231 gaxi::unimplemented::unimplemented_stub()
232 }
233
234 fn delete_service_connection_token(
236 &self,
237 _req: crate::model::DeleteServiceConnectionTokenRequest,
238 _options: gax::options::RequestOptions,
239 ) -> impl std::future::Future<
240 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
241 > + Send {
242 gaxi::unimplemented::unimplemented_stub()
243 }
244
245 fn list_locations(
247 &self,
248 _req: location::model::ListLocationsRequest,
249 _options: gax::options::RequestOptions,
250 ) -> impl std::future::Future<
251 Output = crate::Result<gax::response::Response<location::model::ListLocationsResponse>>,
252 > + Send {
253 gaxi::unimplemented::unimplemented_stub()
254 }
255
256 fn get_location(
258 &self,
259 _req: location::model::GetLocationRequest,
260 _options: gax::options::RequestOptions,
261 ) -> impl std::future::Future<
262 Output = crate::Result<gax::response::Response<location::model::Location>>,
263 > + Send {
264 gaxi::unimplemented::unimplemented_stub()
265 }
266
267 fn set_iam_policy(
269 &self,
270 _req: iam_v1::model::SetIamPolicyRequest,
271 _options: gax::options::RequestOptions,
272 ) -> impl std::future::Future<
273 Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
274 > + Send {
275 gaxi::unimplemented::unimplemented_stub()
276 }
277
278 fn get_iam_policy(
280 &self,
281 _req: iam_v1::model::GetIamPolicyRequest,
282 _options: gax::options::RequestOptions,
283 ) -> impl std::future::Future<
284 Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
285 > + Send {
286 gaxi::unimplemented::unimplemented_stub()
287 }
288
289 fn test_iam_permissions(
291 &self,
292 _req: iam_v1::model::TestIamPermissionsRequest,
293 _options: gax::options::RequestOptions,
294 ) -> impl std::future::Future<
295 Output = crate::Result<gax::response::Response<iam_v1::model::TestIamPermissionsResponse>>,
296 > + Send {
297 gaxi::unimplemented::unimplemented_stub()
298 }
299
300 fn list_operations(
302 &self,
303 _req: longrunning::model::ListOperationsRequest,
304 _options: gax::options::RequestOptions,
305 ) -> impl std::future::Future<
306 Output = crate::Result<gax::response::Response<longrunning::model::ListOperationsResponse>>,
307 > + Send {
308 gaxi::unimplemented::unimplemented_stub()
309 }
310
311 fn get_operation(
313 &self,
314 _req: longrunning::model::GetOperationRequest,
315 _options: gax::options::RequestOptions,
316 ) -> impl std::future::Future<
317 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
318 > + Send {
319 gaxi::unimplemented::unimplemented_stub()
320 }
321
322 fn delete_operation(
324 &self,
325 _req: longrunning::model::DeleteOperationRequest,
326 _options: gax::options::RequestOptions,
327 ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
328 gaxi::unimplemented::unimplemented_stub()
329 }
330
331 fn cancel_operation(
333 &self,
334 _req: longrunning::model::CancelOperationRequest,
335 _options: gax::options::RequestOptions,
336 ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
337 gaxi::unimplemented::unimplemented_stub()
338 }
339
340 fn get_polling_error_policy(
345 &self,
346 _options: &gax::options::RequestOptions,
347 ) -> std::sync::Arc<dyn gax::polling_error_policy::PollingErrorPolicy> {
348 std::sync::Arc::new(gax::polling_error_policy::Aip194Strict)
349 }
350
351 fn get_polling_backoff_policy(
356 &self,
357 _options: &gax::options::RequestOptions,
358 ) -> std::sync::Arc<dyn gax::polling_backoff_policy::PollingBackoffPolicy> {
359 std::sync::Arc::new(gax::exponential_backoff::ExponentialBackoff::default())
360 }
361}
362
363pub trait DataTransferService: std::fmt::Debug + Send + Sync {
375 fn list_multicloud_data_transfer_configs(
377 &self,
378 _req: crate::model::ListMulticloudDataTransferConfigsRequest,
379 _options: gax::options::RequestOptions,
380 ) -> impl std::future::Future<
381 Output = crate::Result<
382 gax::response::Response<crate::model::ListMulticloudDataTransferConfigsResponse>,
383 >,
384 > + Send {
385 gaxi::unimplemented::unimplemented_stub()
386 }
387
388 fn get_multicloud_data_transfer_config(
390 &self,
391 _req: crate::model::GetMulticloudDataTransferConfigRequest,
392 _options: gax::options::RequestOptions,
393 ) -> impl std::future::Future<
394 Output = crate::Result<gax::response::Response<crate::model::MulticloudDataTransferConfig>>,
395 > + Send {
396 gaxi::unimplemented::unimplemented_stub()
397 }
398
399 fn create_multicloud_data_transfer_config(
401 &self,
402 _req: crate::model::CreateMulticloudDataTransferConfigRequest,
403 _options: gax::options::RequestOptions,
404 ) -> impl std::future::Future<
405 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
406 > + Send {
407 gaxi::unimplemented::unimplemented_stub()
408 }
409
410 fn update_multicloud_data_transfer_config(
412 &self,
413 _req: crate::model::UpdateMulticloudDataTransferConfigRequest,
414 _options: gax::options::RequestOptions,
415 ) -> impl std::future::Future<
416 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
417 > + Send {
418 gaxi::unimplemented::unimplemented_stub()
419 }
420
421 fn delete_multicloud_data_transfer_config(
423 &self,
424 _req: crate::model::DeleteMulticloudDataTransferConfigRequest,
425 _options: gax::options::RequestOptions,
426 ) -> impl std::future::Future<
427 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
428 > + Send {
429 gaxi::unimplemented::unimplemented_stub()
430 }
431
432 fn list_destinations(
434 &self,
435 _req: crate::model::ListDestinationsRequest,
436 _options: gax::options::RequestOptions,
437 ) -> impl std::future::Future<
438 Output = crate::Result<gax::response::Response<crate::model::ListDestinationsResponse>>,
439 > + Send {
440 gaxi::unimplemented::unimplemented_stub()
441 }
442
443 fn get_destination(
445 &self,
446 _req: crate::model::GetDestinationRequest,
447 _options: gax::options::RequestOptions,
448 ) -> impl std::future::Future<
449 Output = crate::Result<gax::response::Response<crate::model::Destination>>,
450 > + Send {
451 gaxi::unimplemented::unimplemented_stub()
452 }
453
454 fn create_destination(
456 &self,
457 _req: crate::model::CreateDestinationRequest,
458 _options: gax::options::RequestOptions,
459 ) -> impl std::future::Future<
460 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
461 > + Send {
462 gaxi::unimplemented::unimplemented_stub()
463 }
464
465 fn update_destination(
467 &self,
468 _req: crate::model::UpdateDestinationRequest,
469 _options: gax::options::RequestOptions,
470 ) -> impl std::future::Future<
471 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
472 > + Send {
473 gaxi::unimplemented::unimplemented_stub()
474 }
475
476 fn delete_destination(
478 &self,
479 _req: crate::model::DeleteDestinationRequest,
480 _options: gax::options::RequestOptions,
481 ) -> impl std::future::Future<
482 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
483 > + Send {
484 gaxi::unimplemented::unimplemented_stub()
485 }
486
487 fn get_multicloud_data_transfer_supported_service(
489 &self,
490 _req: crate::model::GetMulticloudDataTransferSupportedServiceRequest,
491 _options: gax::options::RequestOptions,
492 ) -> impl std::future::Future<
493 Output = crate::Result<
494 gax::response::Response<crate::model::MulticloudDataTransferSupportedService>,
495 >,
496 > + Send {
497 gaxi::unimplemented::unimplemented_stub()
498 }
499
500 fn list_multicloud_data_transfer_supported_services(
502 &self,
503 _req: crate::model::ListMulticloudDataTransferSupportedServicesRequest,
504 _options: gax::options::RequestOptions,
505 ) -> impl std::future::Future<
506 Output = crate::Result<
507 gax::response::Response<
508 crate::model::ListMulticloudDataTransferSupportedServicesResponse,
509 >,
510 >,
511 > + Send {
512 gaxi::unimplemented::unimplemented_stub()
513 }
514
515 fn list_locations(
517 &self,
518 _req: location::model::ListLocationsRequest,
519 _options: gax::options::RequestOptions,
520 ) -> impl std::future::Future<
521 Output = crate::Result<gax::response::Response<location::model::ListLocationsResponse>>,
522 > + Send {
523 gaxi::unimplemented::unimplemented_stub()
524 }
525
526 fn get_location(
528 &self,
529 _req: location::model::GetLocationRequest,
530 _options: gax::options::RequestOptions,
531 ) -> impl std::future::Future<
532 Output = crate::Result<gax::response::Response<location::model::Location>>,
533 > + Send {
534 gaxi::unimplemented::unimplemented_stub()
535 }
536
537 fn set_iam_policy(
539 &self,
540 _req: iam_v1::model::SetIamPolicyRequest,
541 _options: gax::options::RequestOptions,
542 ) -> impl std::future::Future<
543 Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
544 > + Send {
545 gaxi::unimplemented::unimplemented_stub()
546 }
547
548 fn get_iam_policy(
550 &self,
551 _req: iam_v1::model::GetIamPolicyRequest,
552 _options: gax::options::RequestOptions,
553 ) -> impl std::future::Future<
554 Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
555 > + Send {
556 gaxi::unimplemented::unimplemented_stub()
557 }
558
559 fn test_iam_permissions(
561 &self,
562 _req: iam_v1::model::TestIamPermissionsRequest,
563 _options: gax::options::RequestOptions,
564 ) -> impl std::future::Future<
565 Output = crate::Result<gax::response::Response<iam_v1::model::TestIamPermissionsResponse>>,
566 > + Send {
567 gaxi::unimplemented::unimplemented_stub()
568 }
569
570 fn list_operations(
572 &self,
573 _req: longrunning::model::ListOperationsRequest,
574 _options: gax::options::RequestOptions,
575 ) -> impl std::future::Future<
576 Output = crate::Result<gax::response::Response<longrunning::model::ListOperationsResponse>>,
577 > + Send {
578 gaxi::unimplemented::unimplemented_stub()
579 }
580
581 fn get_operation(
583 &self,
584 _req: longrunning::model::GetOperationRequest,
585 _options: gax::options::RequestOptions,
586 ) -> impl std::future::Future<
587 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
588 > + Send {
589 gaxi::unimplemented::unimplemented_stub()
590 }
591
592 fn delete_operation(
594 &self,
595 _req: longrunning::model::DeleteOperationRequest,
596 _options: gax::options::RequestOptions,
597 ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
598 gaxi::unimplemented::unimplemented_stub()
599 }
600
601 fn cancel_operation(
603 &self,
604 _req: longrunning::model::CancelOperationRequest,
605 _options: gax::options::RequestOptions,
606 ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
607 gaxi::unimplemented::unimplemented_stub()
608 }
609
610 fn get_polling_error_policy(
615 &self,
616 _options: &gax::options::RequestOptions,
617 ) -> std::sync::Arc<dyn gax::polling_error_policy::PollingErrorPolicy> {
618 std::sync::Arc::new(gax::polling_error_policy::Aip194Strict)
619 }
620
621 fn get_polling_backoff_policy(
626 &self,
627 _options: &gax::options::RequestOptions,
628 ) -> std::sync::Arc<dyn gax::polling_backoff_policy::PollingBackoffPolicy> {
629 std::sync::Arc::new(gax::exponential_backoff::ExponentialBackoff::default())
630 }
631}
632
633pub trait HubService: std::fmt::Debug + Send + Sync {
645 fn list_hubs(
647 &self,
648 _req: crate::model::ListHubsRequest,
649 _options: gax::options::RequestOptions,
650 ) -> impl std::future::Future<
651 Output = crate::Result<gax::response::Response<crate::model::ListHubsResponse>>,
652 > + Send {
653 gaxi::unimplemented::unimplemented_stub()
654 }
655
656 fn get_hub(
658 &self,
659 _req: crate::model::GetHubRequest,
660 _options: gax::options::RequestOptions,
661 ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<crate::model::Hub>>>
662 + Send {
663 gaxi::unimplemented::unimplemented_stub()
664 }
665
666 fn create_hub(
668 &self,
669 _req: crate::model::CreateHubRequest,
670 _options: gax::options::RequestOptions,
671 ) -> impl std::future::Future<
672 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
673 > + Send {
674 gaxi::unimplemented::unimplemented_stub()
675 }
676
677 fn update_hub(
679 &self,
680 _req: crate::model::UpdateHubRequest,
681 _options: gax::options::RequestOptions,
682 ) -> impl std::future::Future<
683 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
684 > + Send {
685 gaxi::unimplemented::unimplemented_stub()
686 }
687
688 fn delete_hub(
690 &self,
691 _req: crate::model::DeleteHubRequest,
692 _options: gax::options::RequestOptions,
693 ) -> impl std::future::Future<
694 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
695 > + Send {
696 gaxi::unimplemented::unimplemented_stub()
697 }
698
699 fn list_hub_spokes(
701 &self,
702 _req: crate::model::ListHubSpokesRequest,
703 _options: gax::options::RequestOptions,
704 ) -> impl std::future::Future<
705 Output = crate::Result<gax::response::Response<crate::model::ListHubSpokesResponse>>,
706 > + Send {
707 gaxi::unimplemented::unimplemented_stub()
708 }
709
710 fn query_hub_status(
712 &self,
713 _req: crate::model::QueryHubStatusRequest,
714 _options: gax::options::RequestOptions,
715 ) -> impl std::future::Future<
716 Output = crate::Result<gax::response::Response<crate::model::QueryHubStatusResponse>>,
717 > + Send {
718 gaxi::unimplemented::unimplemented_stub()
719 }
720
721 fn list_spokes(
723 &self,
724 _req: crate::model::ListSpokesRequest,
725 _options: gax::options::RequestOptions,
726 ) -> impl std::future::Future<
727 Output = crate::Result<gax::response::Response<crate::model::ListSpokesResponse>>,
728 > + Send {
729 gaxi::unimplemented::unimplemented_stub()
730 }
731
732 fn get_spoke(
734 &self,
735 _req: crate::model::GetSpokeRequest,
736 _options: gax::options::RequestOptions,
737 ) -> impl std::future::Future<
738 Output = crate::Result<gax::response::Response<crate::model::Spoke>>,
739 > + Send {
740 gaxi::unimplemented::unimplemented_stub()
741 }
742
743 fn create_spoke(
745 &self,
746 _req: crate::model::CreateSpokeRequest,
747 _options: gax::options::RequestOptions,
748 ) -> impl std::future::Future<
749 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
750 > + Send {
751 gaxi::unimplemented::unimplemented_stub()
752 }
753
754 fn update_spoke(
756 &self,
757 _req: crate::model::UpdateSpokeRequest,
758 _options: gax::options::RequestOptions,
759 ) -> impl std::future::Future<
760 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
761 > + Send {
762 gaxi::unimplemented::unimplemented_stub()
763 }
764
765 fn reject_hub_spoke(
767 &self,
768 _req: crate::model::RejectHubSpokeRequest,
769 _options: gax::options::RequestOptions,
770 ) -> impl std::future::Future<
771 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
772 > + Send {
773 gaxi::unimplemented::unimplemented_stub()
774 }
775
776 fn accept_hub_spoke(
778 &self,
779 _req: crate::model::AcceptHubSpokeRequest,
780 _options: gax::options::RequestOptions,
781 ) -> impl std::future::Future<
782 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
783 > + Send {
784 gaxi::unimplemented::unimplemented_stub()
785 }
786
787 fn accept_spoke_update(
789 &self,
790 _req: crate::model::AcceptSpokeUpdateRequest,
791 _options: gax::options::RequestOptions,
792 ) -> impl std::future::Future<
793 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
794 > + Send {
795 gaxi::unimplemented::unimplemented_stub()
796 }
797
798 fn reject_spoke_update(
800 &self,
801 _req: crate::model::RejectSpokeUpdateRequest,
802 _options: gax::options::RequestOptions,
803 ) -> impl std::future::Future<
804 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
805 > + Send {
806 gaxi::unimplemented::unimplemented_stub()
807 }
808
809 fn delete_spoke(
811 &self,
812 _req: crate::model::DeleteSpokeRequest,
813 _options: gax::options::RequestOptions,
814 ) -> impl std::future::Future<
815 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
816 > + Send {
817 gaxi::unimplemented::unimplemented_stub()
818 }
819
820 fn get_route_table(
822 &self,
823 _req: crate::model::GetRouteTableRequest,
824 _options: gax::options::RequestOptions,
825 ) -> impl std::future::Future<
826 Output = crate::Result<gax::response::Response<crate::model::RouteTable>>,
827 > + Send {
828 gaxi::unimplemented::unimplemented_stub()
829 }
830
831 fn get_route(
833 &self,
834 _req: crate::model::GetRouteRequest,
835 _options: gax::options::RequestOptions,
836 ) -> impl std::future::Future<
837 Output = crate::Result<gax::response::Response<crate::model::Route>>,
838 > + Send {
839 gaxi::unimplemented::unimplemented_stub()
840 }
841
842 fn list_routes(
844 &self,
845 _req: crate::model::ListRoutesRequest,
846 _options: gax::options::RequestOptions,
847 ) -> impl std::future::Future<
848 Output = crate::Result<gax::response::Response<crate::model::ListRoutesResponse>>,
849 > + Send {
850 gaxi::unimplemented::unimplemented_stub()
851 }
852
853 fn list_route_tables(
855 &self,
856 _req: crate::model::ListRouteTablesRequest,
857 _options: gax::options::RequestOptions,
858 ) -> impl std::future::Future<
859 Output = crate::Result<gax::response::Response<crate::model::ListRouteTablesResponse>>,
860 > + Send {
861 gaxi::unimplemented::unimplemented_stub()
862 }
863
864 fn get_group(
866 &self,
867 _req: crate::model::GetGroupRequest,
868 _options: gax::options::RequestOptions,
869 ) -> impl std::future::Future<
870 Output = crate::Result<gax::response::Response<crate::model::Group>>,
871 > + Send {
872 gaxi::unimplemented::unimplemented_stub()
873 }
874
875 fn list_groups(
877 &self,
878 _req: crate::model::ListGroupsRequest,
879 _options: gax::options::RequestOptions,
880 ) -> impl std::future::Future<
881 Output = crate::Result<gax::response::Response<crate::model::ListGroupsResponse>>,
882 > + Send {
883 gaxi::unimplemented::unimplemented_stub()
884 }
885
886 fn update_group(
888 &self,
889 _req: crate::model::UpdateGroupRequest,
890 _options: gax::options::RequestOptions,
891 ) -> impl std::future::Future<
892 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
893 > + Send {
894 gaxi::unimplemented::unimplemented_stub()
895 }
896
897 fn list_locations(
899 &self,
900 _req: location::model::ListLocationsRequest,
901 _options: gax::options::RequestOptions,
902 ) -> impl std::future::Future<
903 Output = crate::Result<gax::response::Response<location::model::ListLocationsResponse>>,
904 > + Send {
905 gaxi::unimplemented::unimplemented_stub()
906 }
907
908 fn get_location(
910 &self,
911 _req: location::model::GetLocationRequest,
912 _options: gax::options::RequestOptions,
913 ) -> impl std::future::Future<
914 Output = crate::Result<gax::response::Response<location::model::Location>>,
915 > + Send {
916 gaxi::unimplemented::unimplemented_stub()
917 }
918
919 fn set_iam_policy(
921 &self,
922 _req: iam_v1::model::SetIamPolicyRequest,
923 _options: gax::options::RequestOptions,
924 ) -> impl std::future::Future<
925 Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
926 > + Send {
927 gaxi::unimplemented::unimplemented_stub()
928 }
929
930 fn get_iam_policy(
932 &self,
933 _req: iam_v1::model::GetIamPolicyRequest,
934 _options: gax::options::RequestOptions,
935 ) -> impl std::future::Future<
936 Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
937 > + Send {
938 gaxi::unimplemented::unimplemented_stub()
939 }
940
941 fn test_iam_permissions(
943 &self,
944 _req: iam_v1::model::TestIamPermissionsRequest,
945 _options: gax::options::RequestOptions,
946 ) -> impl std::future::Future<
947 Output = crate::Result<gax::response::Response<iam_v1::model::TestIamPermissionsResponse>>,
948 > + Send {
949 gaxi::unimplemented::unimplemented_stub()
950 }
951
952 fn list_operations(
954 &self,
955 _req: longrunning::model::ListOperationsRequest,
956 _options: gax::options::RequestOptions,
957 ) -> impl std::future::Future<
958 Output = crate::Result<gax::response::Response<longrunning::model::ListOperationsResponse>>,
959 > + Send {
960 gaxi::unimplemented::unimplemented_stub()
961 }
962
963 fn get_operation(
965 &self,
966 _req: longrunning::model::GetOperationRequest,
967 _options: gax::options::RequestOptions,
968 ) -> impl std::future::Future<
969 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
970 > + Send {
971 gaxi::unimplemented::unimplemented_stub()
972 }
973
974 fn delete_operation(
976 &self,
977 _req: longrunning::model::DeleteOperationRequest,
978 _options: gax::options::RequestOptions,
979 ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
980 gaxi::unimplemented::unimplemented_stub()
981 }
982
983 fn cancel_operation(
985 &self,
986 _req: longrunning::model::CancelOperationRequest,
987 _options: gax::options::RequestOptions,
988 ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
989 gaxi::unimplemented::unimplemented_stub()
990 }
991
992 fn get_polling_error_policy(
997 &self,
998 _options: &gax::options::RequestOptions,
999 ) -> std::sync::Arc<dyn gax::polling_error_policy::PollingErrorPolicy> {
1000 std::sync::Arc::new(gax::polling_error_policy::Aip194Strict)
1001 }
1002
1003 fn get_polling_backoff_policy(
1008 &self,
1009 _options: &gax::options::RequestOptions,
1010 ) -> std::sync::Arc<dyn gax::polling_backoff_policy::PollingBackoffPolicy> {
1011 std::sync::Arc::new(gax::exponential_backoff::ExponentialBackoff::default())
1012 }
1013}
1014
1015pub trait InternalRangeService: std::fmt::Debug + Send + Sync {
1027 fn list_internal_ranges(
1029 &self,
1030 _req: crate::model::ListInternalRangesRequest,
1031 _options: gax::options::RequestOptions,
1032 ) -> impl std::future::Future<
1033 Output = crate::Result<gax::response::Response<crate::model::ListInternalRangesResponse>>,
1034 > + Send {
1035 gaxi::unimplemented::unimplemented_stub()
1036 }
1037
1038 fn get_internal_range(
1040 &self,
1041 _req: crate::model::GetInternalRangeRequest,
1042 _options: gax::options::RequestOptions,
1043 ) -> impl std::future::Future<
1044 Output = crate::Result<gax::response::Response<crate::model::InternalRange>>,
1045 > + Send {
1046 gaxi::unimplemented::unimplemented_stub()
1047 }
1048
1049 fn create_internal_range(
1051 &self,
1052 _req: crate::model::CreateInternalRangeRequest,
1053 _options: gax::options::RequestOptions,
1054 ) -> impl std::future::Future<
1055 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
1056 > + Send {
1057 gaxi::unimplemented::unimplemented_stub()
1058 }
1059
1060 fn update_internal_range(
1062 &self,
1063 _req: crate::model::UpdateInternalRangeRequest,
1064 _options: gax::options::RequestOptions,
1065 ) -> impl std::future::Future<
1066 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
1067 > + Send {
1068 gaxi::unimplemented::unimplemented_stub()
1069 }
1070
1071 fn delete_internal_range(
1073 &self,
1074 _req: crate::model::DeleteInternalRangeRequest,
1075 _options: gax::options::RequestOptions,
1076 ) -> impl std::future::Future<
1077 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
1078 > + Send {
1079 gaxi::unimplemented::unimplemented_stub()
1080 }
1081
1082 fn list_locations(
1084 &self,
1085 _req: location::model::ListLocationsRequest,
1086 _options: gax::options::RequestOptions,
1087 ) -> impl std::future::Future<
1088 Output = crate::Result<gax::response::Response<location::model::ListLocationsResponse>>,
1089 > + Send {
1090 gaxi::unimplemented::unimplemented_stub()
1091 }
1092
1093 fn get_location(
1095 &self,
1096 _req: location::model::GetLocationRequest,
1097 _options: gax::options::RequestOptions,
1098 ) -> impl std::future::Future<
1099 Output = crate::Result<gax::response::Response<location::model::Location>>,
1100 > + Send {
1101 gaxi::unimplemented::unimplemented_stub()
1102 }
1103
1104 fn set_iam_policy(
1106 &self,
1107 _req: iam_v1::model::SetIamPolicyRequest,
1108 _options: gax::options::RequestOptions,
1109 ) -> impl std::future::Future<
1110 Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
1111 > + Send {
1112 gaxi::unimplemented::unimplemented_stub()
1113 }
1114
1115 fn get_iam_policy(
1117 &self,
1118 _req: iam_v1::model::GetIamPolicyRequest,
1119 _options: gax::options::RequestOptions,
1120 ) -> impl std::future::Future<
1121 Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
1122 > + Send {
1123 gaxi::unimplemented::unimplemented_stub()
1124 }
1125
1126 fn test_iam_permissions(
1128 &self,
1129 _req: iam_v1::model::TestIamPermissionsRequest,
1130 _options: gax::options::RequestOptions,
1131 ) -> impl std::future::Future<
1132 Output = crate::Result<gax::response::Response<iam_v1::model::TestIamPermissionsResponse>>,
1133 > + Send {
1134 gaxi::unimplemented::unimplemented_stub()
1135 }
1136
1137 fn list_operations(
1139 &self,
1140 _req: longrunning::model::ListOperationsRequest,
1141 _options: gax::options::RequestOptions,
1142 ) -> impl std::future::Future<
1143 Output = crate::Result<gax::response::Response<longrunning::model::ListOperationsResponse>>,
1144 > + Send {
1145 gaxi::unimplemented::unimplemented_stub()
1146 }
1147
1148 fn get_operation(
1150 &self,
1151 _req: longrunning::model::GetOperationRequest,
1152 _options: gax::options::RequestOptions,
1153 ) -> impl std::future::Future<
1154 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
1155 > + Send {
1156 gaxi::unimplemented::unimplemented_stub()
1157 }
1158
1159 fn delete_operation(
1161 &self,
1162 _req: longrunning::model::DeleteOperationRequest,
1163 _options: gax::options::RequestOptions,
1164 ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
1165 gaxi::unimplemented::unimplemented_stub()
1166 }
1167
1168 fn cancel_operation(
1170 &self,
1171 _req: longrunning::model::CancelOperationRequest,
1172 _options: gax::options::RequestOptions,
1173 ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
1174 gaxi::unimplemented::unimplemented_stub()
1175 }
1176
1177 fn get_polling_error_policy(
1182 &self,
1183 _options: &gax::options::RequestOptions,
1184 ) -> std::sync::Arc<dyn gax::polling_error_policy::PollingErrorPolicy> {
1185 std::sync::Arc::new(gax::polling_error_policy::Aip194Strict)
1186 }
1187
1188 fn get_polling_backoff_policy(
1193 &self,
1194 _options: &gax::options::RequestOptions,
1195 ) -> std::sync::Arc<dyn gax::polling_backoff_policy::PollingBackoffPolicy> {
1196 std::sync::Arc::new(gax::exponential_backoff::ExponentialBackoff::default())
1197 }
1198}
1199
1200pub trait PolicyBasedRoutingService: std::fmt::Debug + Send + Sync {
1212 fn list_policy_based_routes(
1214 &self,
1215 _req: crate::model::ListPolicyBasedRoutesRequest,
1216 _options: gax::options::RequestOptions,
1217 ) -> impl std::future::Future<
1218 Output = crate::Result<
1219 gax::response::Response<crate::model::ListPolicyBasedRoutesResponse>,
1220 >,
1221 > + Send {
1222 gaxi::unimplemented::unimplemented_stub()
1223 }
1224
1225 fn get_policy_based_route(
1227 &self,
1228 _req: crate::model::GetPolicyBasedRouteRequest,
1229 _options: gax::options::RequestOptions,
1230 ) -> impl std::future::Future<
1231 Output = crate::Result<gax::response::Response<crate::model::PolicyBasedRoute>>,
1232 > + Send {
1233 gaxi::unimplemented::unimplemented_stub()
1234 }
1235
1236 fn create_policy_based_route(
1238 &self,
1239 _req: crate::model::CreatePolicyBasedRouteRequest,
1240 _options: gax::options::RequestOptions,
1241 ) -> impl std::future::Future<
1242 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
1243 > + Send {
1244 gaxi::unimplemented::unimplemented_stub()
1245 }
1246
1247 fn delete_policy_based_route(
1249 &self,
1250 _req: crate::model::DeletePolicyBasedRouteRequest,
1251 _options: gax::options::RequestOptions,
1252 ) -> impl std::future::Future<
1253 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
1254 > + Send {
1255 gaxi::unimplemented::unimplemented_stub()
1256 }
1257
1258 fn list_locations(
1260 &self,
1261 _req: location::model::ListLocationsRequest,
1262 _options: gax::options::RequestOptions,
1263 ) -> impl std::future::Future<
1264 Output = crate::Result<gax::response::Response<location::model::ListLocationsResponse>>,
1265 > + Send {
1266 gaxi::unimplemented::unimplemented_stub()
1267 }
1268
1269 fn get_location(
1271 &self,
1272 _req: location::model::GetLocationRequest,
1273 _options: gax::options::RequestOptions,
1274 ) -> impl std::future::Future<
1275 Output = crate::Result<gax::response::Response<location::model::Location>>,
1276 > + Send {
1277 gaxi::unimplemented::unimplemented_stub()
1278 }
1279
1280 fn set_iam_policy(
1282 &self,
1283 _req: iam_v1::model::SetIamPolicyRequest,
1284 _options: gax::options::RequestOptions,
1285 ) -> impl std::future::Future<
1286 Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
1287 > + Send {
1288 gaxi::unimplemented::unimplemented_stub()
1289 }
1290
1291 fn get_iam_policy(
1293 &self,
1294 _req: iam_v1::model::GetIamPolicyRequest,
1295 _options: gax::options::RequestOptions,
1296 ) -> impl std::future::Future<
1297 Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
1298 > + Send {
1299 gaxi::unimplemented::unimplemented_stub()
1300 }
1301
1302 fn test_iam_permissions(
1304 &self,
1305 _req: iam_v1::model::TestIamPermissionsRequest,
1306 _options: gax::options::RequestOptions,
1307 ) -> impl std::future::Future<
1308 Output = crate::Result<gax::response::Response<iam_v1::model::TestIamPermissionsResponse>>,
1309 > + Send {
1310 gaxi::unimplemented::unimplemented_stub()
1311 }
1312
1313 fn list_operations(
1315 &self,
1316 _req: longrunning::model::ListOperationsRequest,
1317 _options: gax::options::RequestOptions,
1318 ) -> impl std::future::Future<
1319 Output = crate::Result<gax::response::Response<longrunning::model::ListOperationsResponse>>,
1320 > + Send {
1321 gaxi::unimplemented::unimplemented_stub()
1322 }
1323
1324 fn get_operation(
1326 &self,
1327 _req: longrunning::model::GetOperationRequest,
1328 _options: gax::options::RequestOptions,
1329 ) -> impl std::future::Future<
1330 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
1331 > + Send {
1332 gaxi::unimplemented::unimplemented_stub()
1333 }
1334
1335 fn delete_operation(
1337 &self,
1338 _req: longrunning::model::DeleteOperationRequest,
1339 _options: gax::options::RequestOptions,
1340 ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
1341 gaxi::unimplemented::unimplemented_stub()
1342 }
1343
1344 fn cancel_operation(
1346 &self,
1347 _req: longrunning::model::CancelOperationRequest,
1348 _options: gax::options::RequestOptions,
1349 ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
1350 gaxi::unimplemented::unimplemented_stub()
1351 }
1352
1353 fn get_polling_error_policy(
1358 &self,
1359 _options: &gax::options::RequestOptions,
1360 ) -> std::sync::Arc<dyn gax::polling_error_policy::PollingErrorPolicy> {
1361 std::sync::Arc::new(gax::polling_error_policy::Aip194Strict)
1362 }
1363
1364 fn get_polling_backoff_policy(
1369 &self,
1370 _options: &gax::options::RequestOptions,
1371 ) -> std::sync::Arc<dyn gax::polling_backoff_policy::PollingBackoffPolicy> {
1372 std::sync::Arc::new(gax::exponential_backoff::ExponentialBackoff::default())
1373 }
1374}