1#![allow(rustdoc::broken_intra_doc_links)]
26
27pub(crate) mod dynamic;
28
29pub trait AddressGroupService: std::fmt::Debug + Send + Sync {
41 fn list_address_groups(
43 &self,
44 _req: crate::model::ListAddressGroupsRequest,
45 _options: gax::options::RequestOptions,
46 ) -> impl std::future::Future<
47 Output = crate::Result<gax::response::Response<crate::model::ListAddressGroupsResponse>>,
48 > + Send {
49 gaxi::unimplemented::unimplemented_stub()
50 }
51
52 fn get_address_group(
54 &self,
55 _req: crate::model::GetAddressGroupRequest,
56 _options: gax::options::RequestOptions,
57 ) -> impl std::future::Future<
58 Output = crate::Result<gax::response::Response<crate::model::AddressGroup>>,
59 > + Send {
60 gaxi::unimplemented::unimplemented_stub()
61 }
62
63 fn create_address_group(
65 &self,
66 _req: crate::model::CreateAddressGroupRequest,
67 _options: gax::options::RequestOptions,
68 ) -> impl std::future::Future<
69 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
70 > + Send {
71 gaxi::unimplemented::unimplemented_stub()
72 }
73
74 fn update_address_group(
76 &self,
77 _req: crate::model::UpdateAddressGroupRequest,
78 _options: gax::options::RequestOptions,
79 ) -> impl std::future::Future<
80 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
81 > + Send {
82 gaxi::unimplemented::unimplemented_stub()
83 }
84
85 fn add_address_group_items(
87 &self,
88 _req: crate::model::AddAddressGroupItemsRequest,
89 _options: gax::options::RequestOptions,
90 ) -> impl std::future::Future<
91 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
92 > + Send {
93 gaxi::unimplemented::unimplemented_stub()
94 }
95
96 fn remove_address_group_items(
98 &self,
99 _req: crate::model::RemoveAddressGroupItemsRequest,
100 _options: gax::options::RequestOptions,
101 ) -> impl std::future::Future<
102 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
103 > + Send {
104 gaxi::unimplemented::unimplemented_stub()
105 }
106
107 fn clone_address_group_items(
109 &self,
110 _req: crate::model::CloneAddressGroupItemsRequest,
111 _options: gax::options::RequestOptions,
112 ) -> impl std::future::Future<
113 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
114 > + Send {
115 gaxi::unimplemented::unimplemented_stub()
116 }
117
118 fn delete_address_group(
120 &self,
121 _req: crate::model::DeleteAddressGroupRequest,
122 _options: gax::options::RequestOptions,
123 ) -> impl std::future::Future<
124 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
125 > + Send {
126 gaxi::unimplemented::unimplemented_stub()
127 }
128
129 fn list_address_group_references(
131 &self,
132 _req: crate::model::ListAddressGroupReferencesRequest,
133 _options: gax::options::RequestOptions,
134 ) -> impl std::future::Future<
135 Output = crate::Result<
136 gax::response::Response<crate::model::ListAddressGroupReferencesResponse>,
137 >,
138 > + Send {
139 gaxi::unimplemented::unimplemented_stub()
140 }
141
142 fn list_locations(
144 &self,
145 _req: location::model::ListLocationsRequest,
146 _options: gax::options::RequestOptions,
147 ) -> impl std::future::Future<
148 Output = crate::Result<gax::response::Response<location::model::ListLocationsResponse>>,
149 > + Send {
150 gaxi::unimplemented::unimplemented_stub()
151 }
152
153 fn get_location(
155 &self,
156 _req: location::model::GetLocationRequest,
157 _options: gax::options::RequestOptions,
158 ) -> impl std::future::Future<
159 Output = crate::Result<gax::response::Response<location::model::Location>>,
160 > + Send {
161 gaxi::unimplemented::unimplemented_stub()
162 }
163
164 fn set_iam_policy(
166 &self,
167 _req: iam_v1::model::SetIamPolicyRequest,
168 _options: gax::options::RequestOptions,
169 ) -> impl std::future::Future<
170 Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
171 > + Send {
172 gaxi::unimplemented::unimplemented_stub()
173 }
174
175 fn get_iam_policy(
177 &self,
178 _req: iam_v1::model::GetIamPolicyRequest,
179 _options: gax::options::RequestOptions,
180 ) -> impl std::future::Future<
181 Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
182 > + Send {
183 gaxi::unimplemented::unimplemented_stub()
184 }
185
186 fn test_iam_permissions(
188 &self,
189 _req: iam_v1::model::TestIamPermissionsRequest,
190 _options: gax::options::RequestOptions,
191 ) -> impl std::future::Future<
192 Output = crate::Result<gax::response::Response<iam_v1::model::TestIamPermissionsResponse>>,
193 > + Send {
194 gaxi::unimplemented::unimplemented_stub()
195 }
196
197 fn list_operations(
199 &self,
200 _req: longrunning::model::ListOperationsRequest,
201 _options: gax::options::RequestOptions,
202 ) -> impl std::future::Future<
203 Output = crate::Result<gax::response::Response<longrunning::model::ListOperationsResponse>>,
204 > + Send {
205 gaxi::unimplemented::unimplemented_stub()
206 }
207
208 fn get_operation(
210 &self,
211 _req: longrunning::model::GetOperationRequest,
212 _options: gax::options::RequestOptions,
213 ) -> impl std::future::Future<
214 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
215 > + Send {
216 gaxi::unimplemented::unimplemented_stub()
217 }
218
219 fn delete_operation(
221 &self,
222 _req: longrunning::model::DeleteOperationRequest,
223 _options: gax::options::RequestOptions,
224 ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
225 gaxi::unimplemented::unimplemented_stub()
226 }
227
228 fn cancel_operation(
230 &self,
231 _req: longrunning::model::CancelOperationRequest,
232 _options: gax::options::RequestOptions,
233 ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
234 gaxi::unimplemented::unimplemented_stub()
235 }
236
237 fn get_polling_error_policy(
242 &self,
243 _options: &gax::options::RequestOptions,
244 ) -> std::sync::Arc<dyn gax::polling_error_policy::PollingErrorPolicy> {
245 std::sync::Arc::new(gax::polling_error_policy::Aip194Strict)
246 }
247
248 fn get_polling_backoff_policy(
253 &self,
254 _options: &gax::options::RequestOptions,
255 ) -> std::sync::Arc<dyn gax::polling_backoff_policy::PollingBackoffPolicy> {
256 std::sync::Arc::new(gax::exponential_backoff::ExponentialBackoff::default())
257 }
258}
259
260pub trait OrganizationAddressGroupService: std::fmt::Debug + Send + Sync {
272 fn list_address_groups(
274 &self,
275 _req: crate::model::ListAddressGroupsRequest,
276 _options: gax::options::RequestOptions,
277 ) -> impl std::future::Future<
278 Output = crate::Result<gax::response::Response<crate::model::ListAddressGroupsResponse>>,
279 > + Send {
280 gaxi::unimplemented::unimplemented_stub()
281 }
282
283 fn get_address_group(
285 &self,
286 _req: crate::model::GetAddressGroupRequest,
287 _options: gax::options::RequestOptions,
288 ) -> impl std::future::Future<
289 Output = crate::Result<gax::response::Response<crate::model::AddressGroup>>,
290 > + Send {
291 gaxi::unimplemented::unimplemented_stub()
292 }
293
294 fn create_address_group(
296 &self,
297 _req: crate::model::CreateAddressGroupRequest,
298 _options: gax::options::RequestOptions,
299 ) -> impl std::future::Future<
300 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
301 > + Send {
302 gaxi::unimplemented::unimplemented_stub()
303 }
304
305 fn update_address_group(
307 &self,
308 _req: crate::model::UpdateAddressGroupRequest,
309 _options: gax::options::RequestOptions,
310 ) -> impl std::future::Future<
311 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
312 > + Send {
313 gaxi::unimplemented::unimplemented_stub()
314 }
315
316 fn add_address_group_items(
318 &self,
319 _req: crate::model::AddAddressGroupItemsRequest,
320 _options: gax::options::RequestOptions,
321 ) -> impl std::future::Future<
322 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
323 > + Send {
324 gaxi::unimplemented::unimplemented_stub()
325 }
326
327 fn remove_address_group_items(
329 &self,
330 _req: crate::model::RemoveAddressGroupItemsRequest,
331 _options: gax::options::RequestOptions,
332 ) -> impl std::future::Future<
333 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
334 > + Send {
335 gaxi::unimplemented::unimplemented_stub()
336 }
337
338 fn clone_address_group_items(
340 &self,
341 _req: crate::model::CloneAddressGroupItemsRequest,
342 _options: gax::options::RequestOptions,
343 ) -> impl std::future::Future<
344 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
345 > + Send {
346 gaxi::unimplemented::unimplemented_stub()
347 }
348
349 fn delete_address_group(
351 &self,
352 _req: crate::model::DeleteAddressGroupRequest,
353 _options: gax::options::RequestOptions,
354 ) -> impl std::future::Future<
355 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
356 > + Send {
357 gaxi::unimplemented::unimplemented_stub()
358 }
359
360 fn list_address_group_references(
362 &self,
363 _req: crate::model::ListAddressGroupReferencesRequest,
364 _options: gax::options::RequestOptions,
365 ) -> impl std::future::Future<
366 Output = crate::Result<
367 gax::response::Response<crate::model::ListAddressGroupReferencesResponse>,
368 >,
369 > + Send {
370 gaxi::unimplemented::unimplemented_stub()
371 }
372
373 fn list_locations(
375 &self,
376 _req: location::model::ListLocationsRequest,
377 _options: gax::options::RequestOptions,
378 ) -> impl std::future::Future<
379 Output = crate::Result<gax::response::Response<location::model::ListLocationsResponse>>,
380 > + Send {
381 gaxi::unimplemented::unimplemented_stub()
382 }
383
384 fn get_location(
386 &self,
387 _req: location::model::GetLocationRequest,
388 _options: gax::options::RequestOptions,
389 ) -> impl std::future::Future<
390 Output = crate::Result<gax::response::Response<location::model::Location>>,
391 > + Send {
392 gaxi::unimplemented::unimplemented_stub()
393 }
394
395 fn set_iam_policy(
397 &self,
398 _req: iam_v1::model::SetIamPolicyRequest,
399 _options: gax::options::RequestOptions,
400 ) -> impl std::future::Future<
401 Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
402 > + Send {
403 gaxi::unimplemented::unimplemented_stub()
404 }
405
406 fn get_iam_policy(
408 &self,
409 _req: iam_v1::model::GetIamPolicyRequest,
410 _options: gax::options::RequestOptions,
411 ) -> impl std::future::Future<
412 Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
413 > + Send {
414 gaxi::unimplemented::unimplemented_stub()
415 }
416
417 fn test_iam_permissions(
419 &self,
420 _req: iam_v1::model::TestIamPermissionsRequest,
421 _options: gax::options::RequestOptions,
422 ) -> impl std::future::Future<
423 Output = crate::Result<gax::response::Response<iam_v1::model::TestIamPermissionsResponse>>,
424 > + Send {
425 gaxi::unimplemented::unimplemented_stub()
426 }
427
428 fn list_operations(
430 &self,
431 _req: longrunning::model::ListOperationsRequest,
432 _options: gax::options::RequestOptions,
433 ) -> impl std::future::Future<
434 Output = crate::Result<gax::response::Response<longrunning::model::ListOperationsResponse>>,
435 > + Send {
436 gaxi::unimplemented::unimplemented_stub()
437 }
438
439 fn get_operation(
441 &self,
442 _req: longrunning::model::GetOperationRequest,
443 _options: gax::options::RequestOptions,
444 ) -> impl std::future::Future<
445 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
446 > + Send {
447 gaxi::unimplemented::unimplemented_stub()
448 }
449
450 fn delete_operation(
452 &self,
453 _req: longrunning::model::DeleteOperationRequest,
454 _options: gax::options::RequestOptions,
455 ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
456 gaxi::unimplemented::unimplemented_stub()
457 }
458
459 fn cancel_operation(
461 &self,
462 _req: longrunning::model::CancelOperationRequest,
463 _options: gax::options::RequestOptions,
464 ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
465 gaxi::unimplemented::unimplemented_stub()
466 }
467
468 fn get_polling_error_policy(
473 &self,
474 _options: &gax::options::RequestOptions,
475 ) -> std::sync::Arc<dyn gax::polling_error_policy::PollingErrorPolicy> {
476 std::sync::Arc::new(gax::polling_error_policy::Aip194Strict)
477 }
478
479 fn get_polling_backoff_policy(
484 &self,
485 _options: &gax::options::RequestOptions,
486 ) -> std::sync::Arc<dyn gax::polling_backoff_policy::PollingBackoffPolicy> {
487 std::sync::Arc::new(gax::exponential_backoff::ExponentialBackoff::default())
488 }
489}
490
491pub trait NetworkSecurity: std::fmt::Debug + Send + Sync {
503 fn list_authorization_policies(
505 &self,
506 _req: crate::model::ListAuthorizationPoliciesRequest,
507 _options: gax::options::RequestOptions,
508 ) -> impl std::future::Future<
509 Output = crate::Result<
510 gax::response::Response<crate::model::ListAuthorizationPoliciesResponse>,
511 >,
512 > + Send {
513 gaxi::unimplemented::unimplemented_stub()
514 }
515
516 fn get_authorization_policy(
518 &self,
519 _req: crate::model::GetAuthorizationPolicyRequest,
520 _options: gax::options::RequestOptions,
521 ) -> impl std::future::Future<
522 Output = crate::Result<gax::response::Response<crate::model::AuthorizationPolicy>>,
523 > + Send {
524 gaxi::unimplemented::unimplemented_stub()
525 }
526
527 fn create_authorization_policy(
529 &self,
530 _req: crate::model::CreateAuthorizationPolicyRequest,
531 _options: gax::options::RequestOptions,
532 ) -> impl std::future::Future<
533 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
534 > + Send {
535 gaxi::unimplemented::unimplemented_stub()
536 }
537
538 fn update_authorization_policy(
540 &self,
541 _req: crate::model::UpdateAuthorizationPolicyRequest,
542 _options: gax::options::RequestOptions,
543 ) -> impl std::future::Future<
544 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
545 > + Send {
546 gaxi::unimplemented::unimplemented_stub()
547 }
548
549 fn delete_authorization_policy(
551 &self,
552 _req: crate::model::DeleteAuthorizationPolicyRequest,
553 _options: gax::options::RequestOptions,
554 ) -> impl std::future::Future<
555 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
556 > + Send {
557 gaxi::unimplemented::unimplemented_stub()
558 }
559
560 fn list_server_tls_policies(
562 &self,
563 _req: crate::model::ListServerTlsPoliciesRequest,
564 _options: gax::options::RequestOptions,
565 ) -> impl std::future::Future<
566 Output = crate::Result<
567 gax::response::Response<crate::model::ListServerTlsPoliciesResponse>,
568 >,
569 > + Send {
570 gaxi::unimplemented::unimplemented_stub()
571 }
572
573 fn get_server_tls_policy(
575 &self,
576 _req: crate::model::GetServerTlsPolicyRequest,
577 _options: gax::options::RequestOptions,
578 ) -> impl std::future::Future<
579 Output = crate::Result<gax::response::Response<crate::model::ServerTlsPolicy>>,
580 > + Send {
581 gaxi::unimplemented::unimplemented_stub()
582 }
583
584 fn create_server_tls_policy(
586 &self,
587 _req: crate::model::CreateServerTlsPolicyRequest,
588 _options: gax::options::RequestOptions,
589 ) -> impl std::future::Future<
590 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
591 > + Send {
592 gaxi::unimplemented::unimplemented_stub()
593 }
594
595 fn update_server_tls_policy(
597 &self,
598 _req: crate::model::UpdateServerTlsPolicyRequest,
599 _options: gax::options::RequestOptions,
600 ) -> impl std::future::Future<
601 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
602 > + Send {
603 gaxi::unimplemented::unimplemented_stub()
604 }
605
606 fn delete_server_tls_policy(
608 &self,
609 _req: crate::model::DeleteServerTlsPolicyRequest,
610 _options: gax::options::RequestOptions,
611 ) -> impl std::future::Future<
612 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
613 > + Send {
614 gaxi::unimplemented::unimplemented_stub()
615 }
616
617 fn list_client_tls_policies(
619 &self,
620 _req: crate::model::ListClientTlsPoliciesRequest,
621 _options: gax::options::RequestOptions,
622 ) -> impl std::future::Future<
623 Output = crate::Result<
624 gax::response::Response<crate::model::ListClientTlsPoliciesResponse>,
625 >,
626 > + Send {
627 gaxi::unimplemented::unimplemented_stub()
628 }
629
630 fn get_client_tls_policy(
632 &self,
633 _req: crate::model::GetClientTlsPolicyRequest,
634 _options: gax::options::RequestOptions,
635 ) -> impl std::future::Future<
636 Output = crate::Result<gax::response::Response<crate::model::ClientTlsPolicy>>,
637 > + Send {
638 gaxi::unimplemented::unimplemented_stub()
639 }
640
641 fn create_client_tls_policy(
643 &self,
644 _req: crate::model::CreateClientTlsPolicyRequest,
645 _options: gax::options::RequestOptions,
646 ) -> impl std::future::Future<
647 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
648 > + Send {
649 gaxi::unimplemented::unimplemented_stub()
650 }
651
652 fn update_client_tls_policy(
654 &self,
655 _req: crate::model::UpdateClientTlsPolicyRequest,
656 _options: gax::options::RequestOptions,
657 ) -> impl std::future::Future<
658 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
659 > + Send {
660 gaxi::unimplemented::unimplemented_stub()
661 }
662
663 fn delete_client_tls_policy(
665 &self,
666 _req: crate::model::DeleteClientTlsPolicyRequest,
667 _options: gax::options::RequestOptions,
668 ) -> impl std::future::Future<
669 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
670 > + Send {
671 gaxi::unimplemented::unimplemented_stub()
672 }
673
674 fn list_locations(
676 &self,
677 _req: location::model::ListLocationsRequest,
678 _options: gax::options::RequestOptions,
679 ) -> impl std::future::Future<
680 Output = crate::Result<gax::response::Response<location::model::ListLocationsResponse>>,
681 > + Send {
682 gaxi::unimplemented::unimplemented_stub()
683 }
684
685 fn get_location(
687 &self,
688 _req: location::model::GetLocationRequest,
689 _options: gax::options::RequestOptions,
690 ) -> impl std::future::Future<
691 Output = crate::Result<gax::response::Response<location::model::Location>>,
692 > + Send {
693 gaxi::unimplemented::unimplemented_stub()
694 }
695
696 fn set_iam_policy(
698 &self,
699 _req: iam_v1::model::SetIamPolicyRequest,
700 _options: gax::options::RequestOptions,
701 ) -> impl std::future::Future<
702 Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
703 > + Send {
704 gaxi::unimplemented::unimplemented_stub()
705 }
706
707 fn get_iam_policy(
709 &self,
710 _req: iam_v1::model::GetIamPolicyRequest,
711 _options: gax::options::RequestOptions,
712 ) -> impl std::future::Future<
713 Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
714 > + Send {
715 gaxi::unimplemented::unimplemented_stub()
716 }
717
718 fn test_iam_permissions(
720 &self,
721 _req: iam_v1::model::TestIamPermissionsRequest,
722 _options: gax::options::RequestOptions,
723 ) -> impl std::future::Future<
724 Output = crate::Result<gax::response::Response<iam_v1::model::TestIamPermissionsResponse>>,
725 > + Send {
726 gaxi::unimplemented::unimplemented_stub()
727 }
728
729 fn list_operations(
731 &self,
732 _req: longrunning::model::ListOperationsRequest,
733 _options: gax::options::RequestOptions,
734 ) -> impl std::future::Future<
735 Output = crate::Result<gax::response::Response<longrunning::model::ListOperationsResponse>>,
736 > + Send {
737 gaxi::unimplemented::unimplemented_stub()
738 }
739
740 fn get_operation(
742 &self,
743 _req: longrunning::model::GetOperationRequest,
744 _options: gax::options::RequestOptions,
745 ) -> impl std::future::Future<
746 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
747 > + Send {
748 gaxi::unimplemented::unimplemented_stub()
749 }
750
751 fn delete_operation(
753 &self,
754 _req: longrunning::model::DeleteOperationRequest,
755 _options: gax::options::RequestOptions,
756 ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
757 gaxi::unimplemented::unimplemented_stub()
758 }
759
760 fn cancel_operation(
762 &self,
763 _req: longrunning::model::CancelOperationRequest,
764 _options: gax::options::RequestOptions,
765 ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
766 gaxi::unimplemented::unimplemented_stub()
767 }
768
769 fn get_polling_error_policy(
774 &self,
775 _options: &gax::options::RequestOptions,
776 ) -> std::sync::Arc<dyn gax::polling_error_policy::PollingErrorPolicy> {
777 std::sync::Arc::new(gax::polling_error_policy::Aip194Strict)
778 }
779
780 fn get_polling_backoff_policy(
785 &self,
786 _options: &gax::options::RequestOptions,
787 ) -> std::sync::Arc<dyn gax::polling_backoff_policy::PollingBackoffPolicy> {
788 std::sync::Arc::new(gax::exponential_backoff::ExponentialBackoff::default())
789 }
790}