google_cloud_networksecurity_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::AddressGroupService].
30///
31/// Application developers may need to implement this trait to mock
32/// `client::AddressGroupService`.  In other use-cases, application developers only
33/// use `client::AddressGroupService` 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 AddressGroupService: std::fmt::Debug + Send + Sync {
41    /// Implements [super::client::AddressGroupService::list_address_groups].
42    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    /// Implements [super::client::AddressGroupService::get_address_group].
53    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    /// Implements [super::client::AddressGroupService::create_address_group].
64    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    /// Implements [super::client::AddressGroupService::update_address_group].
75    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    /// Implements [super::client::AddressGroupService::add_address_group_items].
86    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    /// Implements [super::client::AddressGroupService::remove_address_group_items].
97    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    /// Implements [super::client::AddressGroupService::clone_address_group_items].
108    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    /// Implements [super::client::AddressGroupService::delete_address_group].
119    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    /// Implements [super::client::AddressGroupService::list_address_group_references].
130    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    /// Implements [super::client::AddressGroupService::list_locations].
143    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    /// Implements [super::client::AddressGroupService::get_location].
154    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    /// Implements [super::client::AddressGroupService::set_iam_policy].
165    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    /// Implements [super::client::AddressGroupService::get_iam_policy].
176    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    /// Implements [super::client::AddressGroupService::test_iam_permissions].
187    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    /// Implements [super::client::AddressGroupService::list_operations].
198    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    /// Implements [super::client::AddressGroupService::get_operation].
209    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    /// Implements [super::client::AddressGroupService::delete_operation].
220    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    /// Implements [super::client::AddressGroupService::cancel_operation].
229    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    /// Returns the polling error policy.
238    ///
239    /// When mocking, this method is typically irrelevant. Do not try to verify
240    /// it is called by your mocks.
241    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    /// Returns the polling backoff policy.
249    ///
250    /// When mocking, this method is typically irrelevant. Do not try to verify
251    /// it is called by your mocks.
252    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
260/// Defines the trait used to implement [super::client::OrganizationAddressGroupService].
261///
262/// Application developers may need to implement this trait to mock
263/// `client::OrganizationAddressGroupService`.  In other use-cases, application developers only
264/// use `client::OrganizationAddressGroupService` and need not be concerned with this trait or
265/// its implementations.
266///
267/// Services gain new RPCs routinely. Consequently, this trait gains new methods
268/// too. To avoid breaking applications the trait provides a default
269/// implementation of each method. Most of these implementations just return an
270/// error.
271pub trait OrganizationAddressGroupService: std::fmt::Debug + Send + Sync {
272    /// Implements [super::client::OrganizationAddressGroupService::list_address_groups].
273    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    /// Implements [super::client::OrganizationAddressGroupService::get_address_group].
284    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    /// Implements [super::client::OrganizationAddressGroupService::create_address_group].
295    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    /// Implements [super::client::OrganizationAddressGroupService::update_address_group].
306    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    /// Implements [super::client::OrganizationAddressGroupService::add_address_group_items].
317    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    /// Implements [super::client::OrganizationAddressGroupService::remove_address_group_items].
328    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    /// Implements [super::client::OrganizationAddressGroupService::clone_address_group_items].
339    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    /// Implements [super::client::OrganizationAddressGroupService::delete_address_group].
350    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    /// Implements [super::client::OrganizationAddressGroupService::list_address_group_references].
361    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    /// Implements [super::client::OrganizationAddressGroupService::list_locations].
374    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    /// Implements [super::client::OrganizationAddressGroupService::get_location].
385    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    /// Implements [super::client::OrganizationAddressGroupService::set_iam_policy].
396    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    /// Implements [super::client::OrganizationAddressGroupService::get_iam_policy].
407    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    /// Implements [super::client::OrganizationAddressGroupService::test_iam_permissions].
418    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    /// Implements [super::client::OrganizationAddressGroupService::list_operations].
429    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    /// Implements [super::client::OrganizationAddressGroupService::get_operation].
440    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    /// Implements [super::client::OrganizationAddressGroupService::delete_operation].
451    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    /// Implements [super::client::OrganizationAddressGroupService::cancel_operation].
460    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    /// Returns the polling error policy.
469    ///
470    /// When mocking, this method is typically irrelevant. Do not try to verify
471    /// it is called by your mocks.
472    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    /// Returns the polling backoff policy.
480    ///
481    /// When mocking, this method is typically irrelevant. Do not try to verify
482    /// it is called by your mocks.
483    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
491/// Defines the trait used to implement [super::client::NetworkSecurity].
492///
493/// Application developers may need to implement this trait to mock
494/// `client::NetworkSecurity`.  In other use-cases, application developers only
495/// use `client::NetworkSecurity` and need not be concerned with this trait or
496/// its implementations.
497///
498/// Services gain new RPCs routinely. Consequently, this trait gains new methods
499/// too. To avoid breaking applications the trait provides a default
500/// implementation of each method. Most of these implementations just return an
501/// error.
502pub trait NetworkSecurity: std::fmt::Debug + Send + Sync {
503    /// Implements [super::client::NetworkSecurity::list_authorization_policies].
504    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    /// Implements [super::client::NetworkSecurity::get_authorization_policy].
517    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    /// Implements [super::client::NetworkSecurity::create_authorization_policy].
528    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    /// Implements [super::client::NetworkSecurity::update_authorization_policy].
539    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    /// Implements [super::client::NetworkSecurity::delete_authorization_policy].
550    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    /// Implements [super::client::NetworkSecurity::list_server_tls_policies].
561    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    /// Implements [super::client::NetworkSecurity::get_server_tls_policy].
574    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    /// Implements [super::client::NetworkSecurity::create_server_tls_policy].
585    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    /// Implements [super::client::NetworkSecurity::update_server_tls_policy].
596    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    /// Implements [super::client::NetworkSecurity::delete_server_tls_policy].
607    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    /// Implements [super::client::NetworkSecurity::list_client_tls_policies].
618    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    /// Implements [super::client::NetworkSecurity::get_client_tls_policy].
631    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    /// Implements [super::client::NetworkSecurity::create_client_tls_policy].
642    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    /// Implements [super::client::NetworkSecurity::update_client_tls_policy].
653    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    /// Implements [super::client::NetworkSecurity::delete_client_tls_policy].
664    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    /// Implements [super::client::NetworkSecurity::list_locations].
675    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    /// Implements [super::client::NetworkSecurity::get_location].
686    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    /// Implements [super::client::NetworkSecurity::set_iam_policy].
697    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    /// Implements [super::client::NetworkSecurity::get_iam_policy].
708    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    /// Implements [super::client::NetworkSecurity::test_iam_permissions].
719    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    /// Implements [super::client::NetworkSecurity::list_operations].
730    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    /// Implements [super::client::NetworkSecurity::get_operation].
741    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    /// Implements [super::client::NetworkSecurity::delete_operation].
752    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    /// Implements [super::client::NetworkSecurity::cancel_operation].
761    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    /// Returns the polling error policy.
770    ///
771    /// When mocking, this method is typically irrelevant. Do not try to verify
772    /// it is called by your mocks.
773    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    /// Returns the polling backoff policy.
781    ///
782    /// When mocking, this method is typically irrelevant. Do not try to verify
783    /// it is called by your mocks.
784    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}