1#![allow(rustdoc::broken_intra_doc_links)]
26
27pub(crate) mod dynamic;
28
29pub trait ReachabilityService: std::fmt::Debug + Send + Sync {
41 fn list_connectivity_tests(
43 &self,
44 _req: crate::model::ListConnectivityTestsRequest,
45 _options: gax::options::RequestOptions,
46 ) -> impl std::future::Future<
47 Output = crate::Result<
48 gax::response::Response<crate::model::ListConnectivityTestsResponse>,
49 >,
50 > + Send {
51 gaxi::unimplemented::unimplemented_stub()
52 }
53
54 fn get_connectivity_test(
56 &self,
57 _req: crate::model::GetConnectivityTestRequest,
58 _options: gax::options::RequestOptions,
59 ) -> impl std::future::Future<
60 Output = crate::Result<gax::response::Response<crate::model::ConnectivityTest>>,
61 > + Send {
62 gaxi::unimplemented::unimplemented_stub()
63 }
64
65 fn create_connectivity_test(
67 &self,
68 _req: crate::model::CreateConnectivityTestRequest,
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_connectivity_test(
78 &self,
79 _req: crate::model::UpdateConnectivityTestRequest,
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 rerun_connectivity_test(
89 &self,
90 _req: crate::model::RerunConnectivityTestRequest,
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 delete_connectivity_test(
100 &self,
101 _req: crate::model::DeleteConnectivityTestRequest,
102 _options: gax::options::RequestOptions,
103 ) -> impl std::future::Future<
104 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
105 > + Send {
106 gaxi::unimplemented::unimplemented_stub()
107 }
108
109 fn list_locations(
111 &self,
112 _req: location::model::ListLocationsRequest,
113 _options: gax::options::RequestOptions,
114 ) -> impl std::future::Future<
115 Output = crate::Result<gax::response::Response<location::model::ListLocationsResponse>>,
116 > + Send {
117 gaxi::unimplemented::unimplemented_stub()
118 }
119
120 fn get_location(
122 &self,
123 _req: location::model::GetLocationRequest,
124 _options: gax::options::RequestOptions,
125 ) -> impl std::future::Future<
126 Output = crate::Result<gax::response::Response<location::model::Location>>,
127 > + Send {
128 gaxi::unimplemented::unimplemented_stub()
129 }
130
131 fn set_iam_policy(
133 &self,
134 _req: iam_v1::model::SetIamPolicyRequest,
135 _options: gax::options::RequestOptions,
136 ) -> impl std::future::Future<
137 Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
138 > + Send {
139 gaxi::unimplemented::unimplemented_stub()
140 }
141
142 fn get_iam_policy(
144 &self,
145 _req: iam_v1::model::GetIamPolicyRequest,
146 _options: gax::options::RequestOptions,
147 ) -> impl std::future::Future<
148 Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
149 > + Send {
150 gaxi::unimplemented::unimplemented_stub()
151 }
152
153 fn test_iam_permissions(
155 &self,
156 _req: iam_v1::model::TestIamPermissionsRequest,
157 _options: gax::options::RequestOptions,
158 ) -> impl std::future::Future<
159 Output = crate::Result<gax::response::Response<iam_v1::model::TestIamPermissionsResponse>>,
160 > + Send {
161 gaxi::unimplemented::unimplemented_stub()
162 }
163
164 fn list_operations(
166 &self,
167 _req: longrunning::model::ListOperationsRequest,
168 _options: gax::options::RequestOptions,
169 ) -> impl std::future::Future<
170 Output = crate::Result<gax::response::Response<longrunning::model::ListOperationsResponse>>,
171 > + Send {
172 gaxi::unimplemented::unimplemented_stub()
173 }
174
175 fn get_operation(
177 &self,
178 _req: longrunning::model::GetOperationRequest,
179 _options: gax::options::RequestOptions,
180 ) -> impl std::future::Future<
181 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
182 > + Send {
183 gaxi::unimplemented::unimplemented_stub()
184 }
185
186 fn delete_operation(
188 &self,
189 _req: longrunning::model::DeleteOperationRequest,
190 _options: gax::options::RequestOptions,
191 ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
192 gaxi::unimplemented::unimplemented_stub()
193 }
194
195 fn cancel_operation(
197 &self,
198 _req: longrunning::model::CancelOperationRequest,
199 _options: gax::options::RequestOptions,
200 ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
201 gaxi::unimplemented::unimplemented_stub()
202 }
203
204 fn get_polling_error_policy(
209 &self,
210 _options: &gax::options::RequestOptions,
211 ) -> std::sync::Arc<dyn gax::polling_error_policy::PollingErrorPolicy> {
212 std::sync::Arc::new(gax::polling_error_policy::Aip194Strict)
213 }
214
215 fn get_polling_backoff_policy(
220 &self,
221 _options: &gax::options::RequestOptions,
222 ) -> std::sync::Arc<dyn gax::polling_backoff_policy::PollingBackoffPolicy> {
223 std::sync::Arc::new(gax::exponential_backoff::ExponentialBackoff::default())
224 }
225}
226
227pub trait VpcFlowLogsService: std::fmt::Debug + Send + Sync {
239 fn list_vpc_flow_logs_configs(
241 &self,
242 _req: crate::model::ListVpcFlowLogsConfigsRequest,
243 _options: gax::options::RequestOptions,
244 ) -> impl std::future::Future<
245 Output = crate::Result<
246 gax::response::Response<crate::model::ListVpcFlowLogsConfigsResponse>,
247 >,
248 > + Send {
249 gaxi::unimplemented::unimplemented_stub()
250 }
251
252 fn get_vpc_flow_logs_config(
254 &self,
255 _req: crate::model::GetVpcFlowLogsConfigRequest,
256 _options: gax::options::RequestOptions,
257 ) -> impl std::future::Future<
258 Output = crate::Result<gax::response::Response<crate::model::VpcFlowLogsConfig>>,
259 > + Send {
260 gaxi::unimplemented::unimplemented_stub()
261 }
262
263 fn create_vpc_flow_logs_config(
265 &self,
266 _req: crate::model::CreateVpcFlowLogsConfigRequest,
267 _options: gax::options::RequestOptions,
268 ) -> impl std::future::Future<
269 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
270 > + Send {
271 gaxi::unimplemented::unimplemented_stub()
272 }
273
274 fn update_vpc_flow_logs_config(
276 &self,
277 _req: crate::model::UpdateVpcFlowLogsConfigRequest,
278 _options: gax::options::RequestOptions,
279 ) -> impl std::future::Future<
280 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
281 > + Send {
282 gaxi::unimplemented::unimplemented_stub()
283 }
284
285 fn delete_vpc_flow_logs_config(
287 &self,
288 _req: crate::model::DeleteVpcFlowLogsConfigRequest,
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 fn query_org_vpc_flow_logs_configs(
298 &self,
299 _req: crate::model::QueryOrgVpcFlowLogsConfigsRequest,
300 _options: gax::options::RequestOptions,
301 ) -> impl std::future::Future<
302 Output = crate::Result<
303 gax::response::Response<crate::model::QueryOrgVpcFlowLogsConfigsResponse>,
304 >,
305 > + Send {
306 gaxi::unimplemented::unimplemented_stub()
307 }
308
309 fn show_effective_flow_logs_configs(
311 &self,
312 _req: crate::model::ShowEffectiveFlowLogsConfigsRequest,
313 _options: gax::options::RequestOptions,
314 ) -> impl std::future::Future<
315 Output = crate::Result<
316 gax::response::Response<crate::model::ShowEffectiveFlowLogsConfigsResponse>,
317 >,
318 > + Send {
319 gaxi::unimplemented::unimplemented_stub()
320 }
321
322 fn list_locations(
324 &self,
325 _req: location::model::ListLocationsRequest,
326 _options: gax::options::RequestOptions,
327 ) -> impl std::future::Future<
328 Output = crate::Result<gax::response::Response<location::model::ListLocationsResponse>>,
329 > + Send {
330 gaxi::unimplemented::unimplemented_stub()
331 }
332
333 fn get_location(
335 &self,
336 _req: location::model::GetLocationRequest,
337 _options: gax::options::RequestOptions,
338 ) -> impl std::future::Future<
339 Output = crate::Result<gax::response::Response<location::model::Location>>,
340 > + Send {
341 gaxi::unimplemented::unimplemented_stub()
342 }
343
344 fn set_iam_policy(
346 &self,
347 _req: iam_v1::model::SetIamPolicyRequest,
348 _options: gax::options::RequestOptions,
349 ) -> impl std::future::Future<
350 Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
351 > + Send {
352 gaxi::unimplemented::unimplemented_stub()
353 }
354
355 fn get_iam_policy(
357 &self,
358 _req: iam_v1::model::GetIamPolicyRequest,
359 _options: gax::options::RequestOptions,
360 ) -> impl std::future::Future<
361 Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
362 > + Send {
363 gaxi::unimplemented::unimplemented_stub()
364 }
365
366 fn test_iam_permissions(
368 &self,
369 _req: iam_v1::model::TestIamPermissionsRequest,
370 _options: gax::options::RequestOptions,
371 ) -> impl std::future::Future<
372 Output = crate::Result<gax::response::Response<iam_v1::model::TestIamPermissionsResponse>>,
373 > + Send {
374 gaxi::unimplemented::unimplemented_stub()
375 }
376
377 fn list_operations(
379 &self,
380 _req: longrunning::model::ListOperationsRequest,
381 _options: gax::options::RequestOptions,
382 ) -> impl std::future::Future<
383 Output = crate::Result<gax::response::Response<longrunning::model::ListOperationsResponse>>,
384 > + Send {
385 gaxi::unimplemented::unimplemented_stub()
386 }
387
388 fn get_operation(
390 &self,
391 _req: longrunning::model::GetOperationRequest,
392 _options: gax::options::RequestOptions,
393 ) -> impl std::future::Future<
394 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
395 > + Send {
396 gaxi::unimplemented::unimplemented_stub()
397 }
398
399 fn delete_operation(
401 &self,
402 _req: longrunning::model::DeleteOperationRequest,
403 _options: gax::options::RequestOptions,
404 ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
405 gaxi::unimplemented::unimplemented_stub()
406 }
407
408 fn cancel_operation(
410 &self,
411 _req: longrunning::model::CancelOperationRequest,
412 _options: gax::options::RequestOptions,
413 ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
414 gaxi::unimplemented::unimplemented_stub()
415 }
416
417 fn get_polling_error_policy(
422 &self,
423 _options: &gax::options::RequestOptions,
424 ) -> std::sync::Arc<dyn gax::polling_error_policy::PollingErrorPolicy> {
425 std::sync::Arc::new(gax::polling_error_policy::Aip194Strict)
426 }
427
428 fn get_polling_backoff_policy(
433 &self,
434 _options: &gax::options::RequestOptions,
435 ) -> std::sync::Arc<dyn gax::polling_backoff_policy::PollingBackoffPolicy> {
436 std::sync::Arc::new(gax::exponential_backoff::ExponentialBackoff::default())
437 }
438}
439
440pub trait OrganizationVpcFlowLogsService: std::fmt::Debug + Send + Sync {
452 fn list_vpc_flow_logs_configs(
454 &self,
455 _req: crate::model::ListVpcFlowLogsConfigsRequest,
456 _options: gax::options::RequestOptions,
457 ) -> impl std::future::Future<
458 Output = crate::Result<
459 gax::response::Response<crate::model::ListVpcFlowLogsConfigsResponse>,
460 >,
461 > + Send {
462 gaxi::unimplemented::unimplemented_stub()
463 }
464
465 fn get_vpc_flow_logs_config(
467 &self,
468 _req: crate::model::GetVpcFlowLogsConfigRequest,
469 _options: gax::options::RequestOptions,
470 ) -> impl std::future::Future<
471 Output = crate::Result<gax::response::Response<crate::model::VpcFlowLogsConfig>>,
472 > + Send {
473 gaxi::unimplemented::unimplemented_stub()
474 }
475
476 fn create_vpc_flow_logs_config(
478 &self,
479 _req: crate::model::CreateVpcFlowLogsConfigRequest,
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 update_vpc_flow_logs_config(
489 &self,
490 _req: crate::model::UpdateVpcFlowLogsConfigRequest,
491 _options: gax::options::RequestOptions,
492 ) -> impl std::future::Future<
493 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
494 > + Send {
495 gaxi::unimplemented::unimplemented_stub()
496 }
497
498 fn delete_vpc_flow_logs_config(
500 &self,
501 _req: crate::model::DeleteVpcFlowLogsConfigRequest,
502 _options: gax::options::RequestOptions,
503 ) -> impl std::future::Future<
504 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
505 > + Send {
506 gaxi::unimplemented::unimplemented_stub()
507 }
508
509 fn list_locations(
511 &self,
512 _req: location::model::ListLocationsRequest,
513 _options: gax::options::RequestOptions,
514 ) -> impl std::future::Future<
515 Output = crate::Result<gax::response::Response<location::model::ListLocationsResponse>>,
516 > + Send {
517 gaxi::unimplemented::unimplemented_stub()
518 }
519
520 fn get_location(
522 &self,
523 _req: location::model::GetLocationRequest,
524 _options: gax::options::RequestOptions,
525 ) -> impl std::future::Future<
526 Output = crate::Result<gax::response::Response<location::model::Location>>,
527 > + Send {
528 gaxi::unimplemented::unimplemented_stub()
529 }
530
531 fn set_iam_policy(
533 &self,
534 _req: iam_v1::model::SetIamPolicyRequest,
535 _options: gax::options::RequestOptions,
536 ) -> impl std::future::Future<
537 Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
538 > + Send {
539 gaxi::unimplemented::unimplemented_stub()
540 }
541
542 fn get_iam_policy(
544 &self,
545 _req: iam_v1::model::GetIamPolicyRequest,
546 _options: gax::options::RequestOptions,
547 ) -> impl std::future::Future<
548 Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
549 > + Send {
550 gaxi::unimplemented::unimplemented_stub()
551 }
552
553 fn test_iam_permissions(
555 &self,
556 _req: iam_v1::model::TestIamPermissionsRequest,
557 _options: gax::options::RequestOptions,
558 ) -> impl std::future::Future<
559 Output = crate::Result<gax::response::Response<iam_v1::model::TestIamPermissionsResponse>>,
560 > + Send {
561 gaxi::unimplemented::unimplemented_stub()
562 }
563
564 fn list_operations(
566 &self,
567 _req: longrunning::model::ListOperationsRequest,
568 _options: gax::options::RequestOptions,
569 ) -> impl std::future::Future<
570 Output = crate::Result<gax::response::Response<longrunning::model::ListOperationsResponse>>,
571 > + Send {
572 gaxi::unimplemented::unimplemented_stub()
573 }
574
575 fn get_operation(
577 &self,
578 _req: longrunning::model::GetOperationRequest,
579 _options: gax::options::RequestOptions,
580 ) -> impl std::future::Future<
581 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
582 > + Send {
583 gaxi::unimplemented::unimplemented_stub()
584 }
585
586 fn delete_operation(
588 &self,
589 _req: longrunning::model::DeleteOperationRequest,
590 _options: gax::options::RequestOptions,
591 ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
592 gaxi::unimplemented::unimplemented_stub()
593 }
594
595 fn cancel_operation(
597 &self,
598 _req: longrunning::model::CancelOperationRequest,
599 _options: gax::options::RequestOptions,
600 ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
601 gaxi::unimplemented::unimplemented_stub()
602 }
603
604 fn get_polling_error_policy(
609 &self,
610 _options: &gax::options::RequestOptions,
611 ) -> std::sync::Arc<dyn gax::polling_error_policy::PollingErrorPolicy> {
612 std::sync::Arc::new(gax::polling_error_policy::Aip194Strict)
613 }
614
615 fn get_polling_backoff_policy(
620 &self,
621 _options: &gax::options::RequestOptions,
622 ) -> std::sync::Arc<dyn gax::polling_backoff_policy::PollingBackoffPolicy> {
623 std::sync::Arc::new(gax::exponential_backoff::ExponentialBackoff::default())
624 }
625}