google_cloud_networkmanagement_v1/
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//! Traits to mock the clients in this library.
18//!
19//! Application developers may need to mock the clients in this library to test
20//! how their application works with different (and sometimes hard to trigger)
21//! client and service behavior. Such test can define mocks implementing the
22//! trait(s) defined in this module, initialize the client with an instance of
23//! this mock in their tests, and verify their application responds as expected.
24
25#![allow(rustdoc::broken_intra_doc_links)]
26
27pub(crate) mod dynamic;
28
29/// Defines the trait used to implement [super::client::ReachabilityService].
30///
31/// Application developers may need to implement this trait to mock
32/// `client::ReachabilityService`.  In other use-cases, application developers only
33/// use `client::ReachabilityService` and need not be concerned with this trait or
34/// its implementations.
35///
36/// Services gain new RPCs routinely. Consequently, this trait gains new methods
37/// too. To avoid breaking applications the trait provides a default
38/// implementation of each method. Most of these implementations just return an
39/// error.
40pub trait ReachabilityService: std::fmt::Debug + Send + Sync {
41    /// Implements [super::client::ReachabilityService::list_connectivity_tests].
42    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    /// Implements [super::client::ReachabilityService::get_connectivity_test].
55    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    /// Implements [super::client::ReachabilityService::create_connectivity_test].
66    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    /// Implements [super::client::ReachabilityService::update_connectivity_test].
77    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    /// Implements [super::client::ReachabilityService::rerun_connectivity_test].
88    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    /// Implements [super::client::ReachabilityService::delete_connectivity_test].
99    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    /// Implements [super::client::ReachabilityService::list_locations].
110    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    /// Implements [super::client::ReachabilityService::get_location].
121    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    /// Implements [super::client::ReachabilityService::set_iam_policy].
132    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    /// Implements [super::client::ReachabilityService::get_iam_policy].
143    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    /// Implements [super::client::ReachabilityService::test_iam_permissions].
154    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    /// Implements [super::client::ReachabilityService::list_operations].
165    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    /// Implements [super::client::ReachabilityService::get_operation].
176    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    /// Implements [super::client::ReachabilityService::delete_operation].
187    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    /// Implements [super::client::ReachabilityService::cancel_operation].
196    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    /// Returns the polling error policy.
205    ///
206    /// When mocking, this method is typically irrelevant. Do not try to verify
207    /// it is called by your mocks.
208    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    /// Returns the polling backoff policy.
216    ///
217    /// When mocking, this method is typically irrelevant. Do not try to verify
218    /// it is called by your mocks.
219    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
227/// Defines the trait used to implement [super::client::VpcFlowLogsService].
228///
229/// Application developers may need to implement this trait to mock
230/// `client::VpcFlowLogsService`.  In other use-cases, application developers only
231/// use `client::VpcFlowLogsService` and need not be concerned with this trait or
232/// its implementations.
233///
234/// Services gain new RPCs routinely. Consequently, this trait gains new methods
235/// too. To avoid breaking applications the trait provides a default
236/// implementation of each method. Most of these implementations just return an
237/// error.
238pub trait VpcFlowLogsService: std::fmt::Debug + Send + Sync {
239    /// Implements [super::client::VpcFlowLogsService::list_vpc_flow_logs_configs].
240    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    /// Implements [super::client::VpcFlowLogsService::get_vpc_flow_logs_config].
253    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    /// Implements [super::client::VpcFlowLogsService::create_vpc_flow_logs_config].
264    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    /// Implements [super::client::VpcFlowLogsService::update_vpc_flow_logs_config].
275    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    /// Implements [super::client::VpcFlowLogsService::delete_vpc_flow_logs_config].
286    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    /// Implements [super::client::VpcFlowLogsService::query_org_vpc_flow_logs_configs].
297    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    /// Implements [super::client::VpcFlowLogsService::show_effective_flow_logs_configs].
310    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    /// Implements [super::client::VpcFlowLogsService::list_locations].
323    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    /// Implements [super::client::VpcFlowLogsService::get_location].
334    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    /// Implements [super::client::VpcFlowLogsService::set_iam_policy].
345    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    /// Implements [super::client::VpcFlowLogsService::get_iam_policy].
356    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    /// Implements [super::client::VpcFlowLogsService::test_iam_permissions].
367    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    /// Implements [super::client::VpcFlowLogsService::list_operations].
378    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    /// Implements [super::client::VpcFlowLogsService::get_operation].
389    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    /// Implements [super::client::VpcFlowLogsService::delete_operation].
400    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    /// Implements [super::client::VpcFlowLogsService::cancel_operation].
409    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    /// Returns the polling error policy.
418    ///
419    /// When mocking, this method is typically irrelevant. Do not try to verify
420    /// it is called by your mocks.
421    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    /// Returns the polling backoff policy.
429    ///
430    /// When mocking, this method is typically irrelevant. Do not try to verify
431    /// it is called by your mocks.
432    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
440/// Defines the trait used to implement [super::client::OrganizationVpcFlowLogsService].
441///
442/// Application developers may need to implement this trait to mock
443/// `client::OrganizationVpcFlowLogsService`.  In other use-cases, application developers only
444/// use `client::OrganizationVpcFlowLogsService` and need not be concerned with this trait or
445/// its implementations.
446///
447/// Services gain new RPCs routinely. Consequently, this trait gains new methods
448/// too. To avoid breaking applications the trait provides a default
449/// implementation of each method. Most of these implementations just return an
450/// error.
451pub trait OrganizationVpcFlowLogsService: std::fmt::Debug + Send + Sync {
452    /// Implements [super::client::OrganizationVpcFlowLogsService::list_vpc_flow_logs_configs].
453    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    /// Implements [super::client::OrganizationVpcFlowLogsService::get_vpc_flow_logs_config].
466    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    /// Implements [super::client::OrganizationVpcFlowLogsService::create_vpc_flow_logs_config].
477    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    /// Implements [super::client::OrganizationVpcFlowLogsService::update_vpc_flow_logs_config].
488    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    /// Implements [super::client::OrganizationVpcFlowLogsService::delete_vpc_flow_logs_config].
499    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    /// Implements [super::client::OrganizationVpcFlowLogsService::list_locations].
510    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    /// Implements [super::client::OrganizationVpcFlowLogsService::get_location].
521    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    /// Implements [super::client::OrganizationVpcFlowLogsService::set_iam_policy].
532    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    /// Implements [super::client::OrganizationVpcFlowLogsService::get_iam_policy].
543    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    /// Implements [super::client::OrganizationVpcFlowLogsService::test_iam_permissions].
554    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    /// Implements [super::client::OrganizationVpcFlowLogsService::list_operations].
565    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    /// Implements [super::client::OrganizationVpcFlowLogsService::get_operation].
576    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    /// Implements [super::client::OrganizationVpcFlowLogsService::delete_operation].
587    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    /// Implements [super::client::OrganizationVpcFlowLogsService::cancel_operation].
596    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    /// Returns the polling error policy.
605    ///
606    /// When mocking, this method is typically irrelevant. Do not try to verify
607    /// it is called by your mocks.
608    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    /// Returns the polling backoff policy.
616    ///
617    /// When mocking, this method is typically irrelevant. Do not try to verify
618    /// it is called by your mocks.
619    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}