Skip to main content

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: crate::RequestOptions,
46    ) -> impl std::future::Future<
47        Output = crate::Result<crate::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: crate::RequestOptions,
57    ) -> impl std::future::Future<
58        Output = crate::Result<crate::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: crate::RequestOptions,
68    ) -> impl std::future::Future<
69        Output = crate::Result<crate::Response<google_cloud_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: crate::RequestOptions,
79    ) -> impl std::future::Future<
80        Output = crate::Result<crate::Response<google_cloud_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: crate::RequestOptions,
90    ) -> impl std::future::Future<
91        Output = crate::Result<crate::Response<google_cloud_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: crate::RequestOptions,
101    ) -> impl std::future::Future<
102        Output = crate::Result<crate::Response<google_cloud_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: crate::RequestOptions,
112    ) -> impl std::future::Future<
113        Output = crate::Result<crate::Response<google_cloud_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: crate::RequestOptions,
123    ) -> impl std::future::Future<
124        Output = crate::Result<crate::Response<google_cloud_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: crate::RequestOptions,
134    ) -> impl std::future::Future<
135        Output = crate::Result<crate::Response<crate::model::ListAddressGroupReferencesResponse>>,
136    > + Send {
137        gaxi::unimplemented::unimplemented_stub()
138    }
139
140    /// Implements [super::client::AddressGroupService::list_locations].
141    fn list_locations(
142        &self,
143        _req: google_cloud_location::model::ListLocationsRequest,
144        _options: crate::RequestOptions,
145    ) -> impl std::future::Future<
146        Output = crate::Result<
147            crate::Response<google_cloud_location::model::ListLocationsResponse>,
148        >,
149    > + Send {
150        gaxi::unimplemented::unimplemented_stub()
151    }
152
153    /// Implements [super::client::AddressGroupService::get_location].
154    fn get_location(
155        &self,
156        _req: google_cloud_location::model::GetLocationRequest,
157        _options: crate::RequestOptions,
158    ) -> impl std::future::Future<
159        Output = crate::Result<crate::Response<google_cloud_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: google_cloud_iam_v1::model::SetIamPolicyRequest,
168        _options: crate::RequestOptions,
169    ) -> impl std::future::Future<
170        Output = crate::Result<crate::Response<google_cloud_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: google_cloud_iam_v1::model::GetIamPolicyRequest,
179        _options: crate::RequestOptions,
180    ) -> impl std::future::Future<
181        Output = crate::Result<crate::Response<google_cloud_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: google_cloud_iam_v1::model::TestIamPermissionsRequest,
190        _options: crate::RequestOptions,
191    ) -> impl std::future::Future<
192        Output = crate::Result<
193            crate::Response<google_cloud_iam_v1::model::TestIamPermissionsResponse>,
194        >,
195    > + Send {
196        gaxi::unimplemented::unimplemented_stub()
197    }
198
199    /// Implements [super::client::AddressGroupService::list_operations].
200    fn list_operations(
201        &self,
202        _req: google_cloud_longrunning::model::ListOperationsRequest,
203        _options: crate::RequestOptions,
204    ) -> impl std::future::Future<
205        Output = crate::Result<
206            crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
207        >,
208    > + Send {
209        gaxi::unimplemented::unimplemented_stub()
210    }
211
212    /// Implements [super::client::AddressGroupService::get_operation].
213    fn get_operation(
214        &self,
215        _req: google_cloud_longrunning::model::GetOperationRequest,
216        _options: crate::RequestOptions,
217    ) -> impl std::future::Future<
218        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
219    > + Send {
220        gaxi::unimplemented::unimplemented_stub()
221    }
222
223    /// Implements [super::client::AddressGroupService::delete_operation].
224    fn delete_operation(
225        &self,
226        _req: google_cloud_longrunning::model::DeleteOperationRequest,
227        _options: crate::RequestOptions,
228    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
229        gaxi::unimplemented::unimplemented_stub()
230    }
231
232    /// Implements [super::client::AddressGroupService::cancel_operation].
233    fn cancel_operation(
234        &self,
235        _req: google_cloud_longrunning::model::CancelOperationRequest,
236        _options: crate::RequestOptions,
237    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
238        gaxi::unimplemented::unimplemented_stub()
239    }
240
241    /// Returns the polling error policy.
242    ///
243    /// When mocking, this method is typically irrelevant. Do not try to verify
244    /// it is called by your mocks.
245    fn get_polling_error_policy(
246        &self,
247        _options: &crate::RequestOptions,
248    ) -> std::sync::Arc<dyn google_cloud_gax::polling_error_policy::PollingErrorPolicy> {
249        std::sync::Arc::new(google_cloud_gax::polling_error_policy::Aip194Strict)
250    }
251
252    /// Returns the polling backoff policy.
253    ///
254    /// When mocking, this method is typically irrelevant. Do not try to verify
255    /// it is called by your mocks.
256    fn get_polling_backoff_policy(
257        &self,
258        _options: &crate::RequestOptions,
259    ) -> std::sync::Arc<dyn google_cloud_gax::polling_backoff_policy::PollingBackoffPolicy> {
260        std::sync::Arc::new(google_cloud_gax::exponential_backoff::ExponentialBackoff::default())
261    }
262}
263
264/// Defines the trait used to implement [super::client::OrganizationAddressGroupService].
265///
266/// Application developers may need to implement this trait to mock
267/// `client::OrganizationAddressGroupService`.  In other use-cases, application developers only
268/// use `client::OrganizationAddressGroupService` and need not be concerned with this trait or
269/// its implementations.
270///
271/// Services gain new RPCs routinely. Consequently, this trait gains new methods
272/// too. To avoid breaking applications the trait provides a default
273/// implementation of each method. Most of these implementations just return an
274/// error.
275pub trait OrganizationAddressGroupService: std::fmt::Debug + Send + Sync {
276    /// Implements [super::client::OrganizationAddressGroupService::list_address_groups].
277    fn list_address_groups(
278        &self,
279        _req: crate::model::ListAddressGroupsRequest,
280        _options: crate::RequestOptions,
281    ) -> impl std::future::Future<
282        Output = crate::Result<crate::Response<crate::model::ListAddressGroupsResponse>>,
283    > + Send {
284        gaxi::unimplemented::unimplemented_stub()
285    }
286
287    /// Implements [super::client::OrganizationAddressGroupService::get_address_group].
288    fn get_address_group(
289        &self,
290        _req: crate::model::GetAddressGroupRequest,
291        _options: crate::RequestOptions,
292    ) -> impl std::future::Future<
293        Output = crate::Result<crate::Response<crate::model::AddressGroup>>,
294    > + Send {
295        gaxi::unimplemented::unimplemented_stub()
296    }
297
298    /// Implements [super::client::OrganizationAddressGroupService::create_address_group].
299    fn create_address_group(
300        &self,
301        _req: crate::model::CreateAddressGroupRequest,
302        _options: crate::RequestOptions,
303    ) -> impl std::future::Future<
304        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
305    > + Send {
306        gaxi::unimplemented::unimplemented_stub()
307    }
308
309    /// Implements [super::client::OrganizationAddressGroupService::update_address_group].
310    fn update_address_group(
311        &self,
312        _req: crate::model::UpdateAddressGroupRequest,
313        _options: crate::RequestOptions,
314    ) -> impl std::future::Future<
315        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
316    > + Send {
317        gaxi::unimplemented::unimplemented_stub()
318    }
319
320    /// Implements [super::client::OrganizationAddressGroupService::add_address_group_items].
321    fn add_address_group_items(
322        &self,
323        _req: crate::model::AddAddressGroupItemsRequest,
324        _options: crate::RequestOptions,
325    ) -> impl std::future::Future<
326        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
327    > + Send {
328        gaxi::unimplemented::unimplemented_stub()
329    }
330
331    /// Implements [super::client::OrganizationAddressGroupService::remove_address_group_items].
332    fn remove_address_group_items(
333        &self,
334        _req: crate::model::RemoveAddressGroupItemsRequest,
335        _options: crate::RequestOptions,
336    ) -> impl std::future::Future<
337        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
338    > + Send {
339        gaxi::unimplemented::unimplemented_stub()
340    }
341
342    /// Implements [super::client::OrganizationAddressGroupService::clone_address_group_items].
343    fn clone_address_group_items(
344        &self,
345        _req: crate::model::CloneAddressGroupItemsRequest,
346        _options: crate::RequestOptions,
347    ) -> impl std::future::Future<
348        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
349    > + Send {
350        gaxi::unimplemented::unimplemented_stub()
351    }
352
353    /// Implements [super::client::OrganizationAddressGroupService::delete_address_group].
354    fn delete_address_group(
355        &self,
356        _req: crate::model::DeleteAddressGroupRequest,
357        _options: crate::RequestOptions,
358    ) -> impl std::future::Future<
359        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
360    > + Send {
361        gaxi::unimplemented::unimplemented_stub()
362    }
363
364    /// Implements [super::client::OrganizationAddressGroupService::list_address_group_references].
365    fn list_address_group_references(
366        &self,
367        _req: crate::model::ListAddressGroupReferencesRequest,
368        _options: crate::RequestOptions,
369    ) -> impl std::future::Future<
370        Output = crate::Result<crate::Response<crate::model::ListAddressGroupReferencesResponse>>,
371    > + Send {
372        gaxi::unimplemented::unimplemented_stub()
373    }
374
375    /// Implements [super::client::OrganizationAddressGroupService::list_locations].
376    fn list_locations(
377        &self,
378        _req: google_cloud_location::model::ListLocationsRequest,
379        _options: crate::RequestOptions,
380    ) -> impl std::future::Future<
381        Output = crate::Result<
382            crate::Response<google_cloud_location::model::ListLocationsResponse>,
383        >,
384    > + Send {
385        gaxi::unimplemented::unimplemented_stub()
386    }
387
388    /// Implements [super::client::OrganizationAddressGroupService::get_location].
389    fn get_location(
390        &self,
391        _req: google_cloud_location::model::GetLocationRequest,
392        _options: crate::RequestOptions,
393    ) -> impl std::future::Future<
394        Output = crate::Result<crate::Response<google_cloud_location::model::Location>>,
395    > + Send {
396        gaxi::unimplemented::unimplemented_stub()
397    }
398
399    /// Implements [super::client::OrganizationAddressGroupService::set_iam_policy].
400    fn set_iam_policy(
401        &self,
402        _req: google_cloud_iam_v1::model::SetIamPolicyRequest,
403        _options: crate::RequestOptions,
404    ) -> impl std::future::Future<
405        Output = crate::Result<crate::Response<google_cloud_iam_v1::model::Policy>>,
406    > + Send {
407        gaxi::unimplemented::unimplemented_stub()
408    }
409
410    /// Implements [super::client::OrganizationAddressGroupService::get_iam_policy].
411    fn get_iam_policy(
412        &self,
413        _req: google_cloud_iam_v1::model::GetIamPolicyRequest,
414        _options: crate::RequestOptions,
415    ) -> impl std::future::Future<
416        Output = crate::Result<crate::Response<google_cloud_iam_v1::model::Policy>>,
417    > + Send {
418        gaxi::unimplemented::unimplemented_stub()
419    }
420
421    /// Implements [super::client::OrganizationAddressGroupService::test_iam_permissions].
422    fn test_iam_permissions(
423        &self,
424        _req: google_cloud_iam_v1::model::TestIamPermissionsRequest,
425        _options: crate::RequestOptions,
426    ) -> impl std::future::Future<
427        Output = crate::Result<
428            crate::Response<google_cloud_iam_v1::model::TestIamPermissionsResponse>,
429        >,
430    > + Send {
431        gaxi::unimplemented::unimplemented_stub()
432    }
433
434    /// Implements [super::client::OrganizationAddressGroupService::list_operations].
435    fn list_operations(
436        &self,
437        _req: google_cloud_longrunning::model::ListOperationsRequest,
438        _options: crate::RequestOptions,
439    ) -> impl std::future::Future<
440        Output = crate::Result<
441            crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
442        >,
443    > + Send {
444        gaxi::unimplemented::unimplemented_stub()
445    }
446
447    /// Implements [super::client::OrganizationAddressGroupService::get_operation].
448    fn get_operation(
449        &self,
450        _req: google_cloud_longrunning::model::GetOperationRequest,
451        _options: crate::RequestOptions,
452    ) -> impl std::future::Future<
453        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
454    > + Send {
455        gaxi::unimplemented::unimplemented_stub()
456    }
457
458    /// Implements [super::client::OrganizationAddressGroupService::delete_operation].
459    fn delete_operation(
460        &self,
461        _req: google_cloud_longrunning::model::DeleteOperationRequest,
462        _options: crate::RequestOptions,
463    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
464        gaxi::unimplemented::unimplemented_stub()
465    }
466
467    /// Implements [super::client::OrganizationAddressGroupService::cancel_operation].
468    fn cancel_operation(
469        &self,
470        _req: google_cloud_longrunning::model::CancelOperationRequest,
471        _options: crate::RequestOptions,
472    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
473        gaxi::unimplemented::unimplemented_stub()
474    }
475
476    /// Returns the polling error policy.
477    ///
478    /// When mocking, this method is typically irrelevant. Do not try to verify
479    /// it is called by your mocks.
480    fn get_polling_error_policy(
481        &self,
482        _options: &crate::RequestOptions,
483    ) -> std::sync::Arc<dyn google_cloud_gax::polling_error_policy::PollingErrorPolicy> {
484        std::sync::Arc::new(google_cloud_gax::polling_error_policy::Aip194Strict)
485    }
486
487    /// Returns the polling backoff policy.
488    ///
489    /// When mocking, this method is typically irrelevant. Do not try to verify
490    /// it is called by your mocks.
491    fn get_polling_backoff_policy(
492        &self,
493        _options: &crate::RequestOptions,
494    ) -> std::sync::Arc<dyn google_cloud_gax::polling_backoff_policy::PollingBackoffPolicy> {
495        std::sync::Arc::new(google_cloud_gax::exponential_backoff::ExponentialBackoff::default())
496    }
497}
498
499/// Defines the trait used to implement [super::client::NetworkSecurity].
500///
501/// Application developers may need to implement this trait to mock
502/// `client::NetworkSecurity`.  In other use-cases, application developers only
503/// use `client::NetworkSecurity` and need not be concerned with this trait or
504/// its implementations.
505///
506/// Services gain new RPCs routinely. Consequently, this trait gains new methods
507/// too. To avoid breaking applications the trait provides a default
508/// implementation of each method. Most of these implementations just return an
509/// error.
510pub trait NetworkSecurity: std::fmt::Debug + Send + Sync {
511    /// Implements [super::client::NetworkSecurity::list_authorization_policies].
512    fn list_authorization_policies(
513        &self,
514        _req: crate::model::ListAuthorizationPoliciesRequest,
515        _options: crate::RequestOptions,
516    ) -> impl std::future::Future<
517        Output = crate::Result<crate::Response<crate::model::ListAuthorizationPoliciesResponse>>,
518    > + Send {
519        gaxi::unimplemented::unimplemented_stub()
520    }
521
522    /// Implements [super::client::NetworkSecurity::get_authorization_policy].
523    fn get_authorization_policy(
524        &self,
525        _req: crate::model::GetAuthorizationPolicyRequest,
526        _options: crate::RequestOptions,
527    ) -> impl std::future::Future<
528        Output = crate::Result<crate::Response<crate::model::AuthorizationPolicy>>,
529    > + Send {
530        gaxi::unimplemented::unimplemented_stub()
531    }
532
533    /// Implements [super::client::NetworkSecurity::create_authorization_policy].
534    fn create_authorization_policy(
535        &self,
536        _req: crate::model::CreateAuthorizationPolicyRequest,
537        _options: crate::RequestOptions,
538    ) -> impl std::future::Future<
539        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
540    > + Send {
541        gaxi::unimplemented::unimplemented_stub()
542    }
543
544    /// Implements [super::client::NetworkSecurity::update_authorization_policy].
545    fn update_authorization_policy(
546        &self,
547        _req: crate::model::UpdateAuthorizationPolicyRequest,
548        _options: crate::RequestOptions,
549    ) -> impl std::future::Future<
550        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
551    > + Send {
552        gaxi::unimplemented::unimplemented_stub()
553    }
554
555    /// Implements [super::client::NetworkSecurity::delete_authorization_policy].
556    fn delete_authorization_policy(
557        &self,
558        _req: crate::model::DeleteAuthorizationPolicyRequest,
559        _options: crate::RequestOptions,
560    ) -> impl std::future::Future<
561        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
562    > + Send {
563        gaxi::unimplemented::unimplemented_stub()
564    }
565
566    /// Implements [super::client::NetworkSecurity::list_server_tls_policies].
567    fn list_server_tls_policies(
568        &self,
569        _req: crate::model::ListServerTlsPoliciesRequest,
570        _options: crate::RequestOptions,
571    ) -> impl std::future::Future<
572        Output = crate::Result<crate::Response<crate::model::ListServerTlsPoliciesResponse>>,
573    > + Send {
574        gaxi::unimplemented::unimplemented_stub()
575    }
576
577    /// Implements [super::client::NetworkSecurity::get_server_tls_policy].
578    fn get_server_tls_policy(
579        &self,
580        _req: crate::model::GetServerTlsPolicyRequest,
581        _options: crate::RequestOptions,
582    ) -> impl std::future::Future<
583        Output = crate::Result<crate::Response<crate::model::ServerTlsPolicy>>,
584    > + Send {
585        gaxi::unimplemented::unimplemented_stub()
586    }
587
588    /// Implements [super::client::NetworkSecurity::create_server_tls_policy].
589    fn create_server_tls_policy(
590        &self,
591        _req: crate::model::CreateServerTlsPolicyRequest,
592        _options: crate::RequestOptions,
593    ) -> impl std::future::Future<
594        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
595    > + Send {
596        gaxi::unimplemented::unimplemented_stub()
597    }
598
599    /// Implements [super::client::NetworkSecurity::update_server_tls_policy].
600    fn update_server_tls_policy(
601        &self,
602        _req: crate::model::UpdateServerTlsPolicyRequest,
603        _options: crate::RequestOptions,
604    ) -> impl std::future::Future<
605        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
606    > + Send {
607        gaxi::unimplemented::unimplemented_stub()
608    }
609
610    /// Implements [super::client::NetworkSecurity::delete_server_tls_policy].
611    fn delete_server_tls_policy(
612        &self,
613        _req: crate::model::DeleteServerTlsPolicyRequest,
614        _options: crate::RequestOptions,
615    ) -> impl std::future::Future<
616        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
617    > + Send {
618        gaxi::unimplemented::unimplemented_stub()
619    }
620
621    /// Implements [super::client::NetworkSecurity::list_client_tls_policies].
622    fn list_client_tls_policies(
623        &self,
624        _req: crate::model::ListClientTlsPoliciesRequest,
625        _options: crate::RequestOptions,
626    ) -> impl std::future::Future<
627        Output = crate::Result<crate::Response<crate::model::ListClientTlsPoliciesResponse>>,
628    > + Send {
629        gaxi::unimplemented::unimplemented_stub()
630    }
631
632    /// Implements [super::client::NetworkSecurity::get_client_tls_policy].
633    fn get_client_tls_policy(
634        &self,
635        _req: crate::model::GetClientTlsPolicyRequest,
636        _options: crate::RequestOptions,
637    ) -> impl std::future::Future<
638        Output = crate::Result<crate::Response<crate::model::ClientTlsPolicy>>,
639    > + Send {
640        gaxi::unimplemented::unimplemented_stub()
641    }
642
643    /// Implements [super::client::NetworkSecurity::create_client_tls_policy].
644    fn create_client_tls_policy(
645        &self,
646        _req: crate::model::CreateClientTlsPolicyRequest,
647        _options: crate::RequestOptions,
648    ) -> impl std::future::Future<
649        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
650    > + Send {
651        gaxi::unimplemented::unimplemented_stub()
652    }
653
654    /// Implements [super::client::NetworkSecurity::update_client_tls_policy].
655    fn update_client_tls_policy(
656        &self,
657        _req: crate::model::UpdateClientTlsPolicyRequest,
658        _options: crate::RequestOptions,
659    ) -> impl std::future::Future<
660        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
661    > + Send {
662        gaxi::unimplemented::unimplemented_stub()
663    }
664
665    /// Implements [super::client::NetworkSecurity::delete_client_tls_policy].
666    fn delete_client_tls_policy(
667        &self,
668        _req: crate::model::DeleteClientTlsPolicyRequest,
669        _options: crate::RequestOptions,
670    ) -> impl std::future::Future<
671        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
672    > + Send {
673        gaxi::unimplemented::unimplemented_stub()
674    }
675
676    /// Implements [super::client::NetworkSecurity::list_locations].
677    fn list_locations(
678        &self,
679        _req: google_cloud_location::model::ListLocationsRequest,
680        _options: crate::RequestOptions,
681    ) -> impl std::future::Future<
682        Output = crate::Result<
683            crate::Response<google_cloud_location::model::ListLocationsResponse>,
684        >,
685    > + Send {
686        gaxi::unimplemented::unimplemented_stub()
687    }
688
689    /// Implements [super::client::NetworkSecurity::get_location].
690    fn get_location(
691        &self,
692        _req: google_cloud_location::model::GetLocationRequest,
693        _options: crate::RequestOptions,
694    ) -> impl std::future::Future<
695        Output = crate::Result<crate::Response<google_cloud_location::model::Location>>,
696    > + Send {
697        gaxi::unimplemented::unimplemented_stub()
698    }
699
700    /// Implements [super::client::NetworkSecurity::set_iam_policy].
701    fn set_iam_policy(
702        &self,
703        _req: google_cloud_iam_v1::model::SetIamPolicyRequest,
704        _options: crate::RequestOptions,
705    ) -> impl std::future::Future<
706        Output = crate::Result<crate::Response<google_cloud_iam_v1::model::Policy>>,
707    > + Send {
708        gaxi::unimplemented::unimplemented_stub()
709    }
710
711    /// Implements [super::client::NetworkSecurity::get_iam_policy].
712    fn get_iam_policy(
713        &self,
714        _req: google_cloud_iam_v1::model::GetIamPolicyRequest,
715        _options: crate::RequestOptions,
716    ) -> impl std::future::Future<
717        Output = crate::Result<crate::Response<google_cloud_iam_v1::model::Policy>>,
718    > + Send {
719        gaxi::unimplemented::unimplemented_stub()
720    }
721
722    /// Implements [super::client::NetworkSecurity::test_iam_permissions].
723    fn test_iam_permissions(
724        &self,
725        _req: google_cloud_iam_v1::model::TestIamPermissionsRequest,
726        _options: crate::RequestOptions,
727    ) -> impl std::future::Future<
728        Output = crate::Result<
729            crate::Response<google_cloud_iam_v1::model::TestIamPermissionsResponse>,
730        >,
731    > + Send {
732        gaxi::unimplemented::unimplemented_stub()
733    }
734
735    /// Implements [super::client::NetworkSecurity::list_operations].
736    fn list_operations(
737        &self,
738        _req: google_cloud_longrunning::model::ListOperationsRequest,
739        _options: crate::RequestOptions,
740    ) -> impl std::future::Future<
741        Output = crate::Result<
742            crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
743        >,
744    > + Send {
745        gaxi::unimplemented::unimplemented_stub()
746    }
747
748    /// Implements [super::client::NetworkSecurity::get_operation].
749    fn get_operation(
750        &self,
751        _req: google_cloud_longrunning::model::GetOperationRequest,
752        _options: crate::RequestOptions,
753    ) -> impl std::future::Future<
754        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
755    > + Send {
756        gaxi::unimplemented::unimplemented_stub()
757    }
758
759    /// Implements [super::client::NetworkSecurity::delete_operation].
760    fn delete_operation(
761        &self,
762        _req: google_cloud_longrunning::model::DeleteOperationRequest,
763        _options: crate::RequestOptions,
764    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
765        gaxi::unimplemented::unimplemented_stub()
766    }
767
768    /// Implements [super::client::NetworkSecurity::cancel_operation].
769    fn cancel_operation(
770        &self,
771        _req: google_cloud_longrunning::model::CancelOperationRequest,
772        _options: crate::RequestOptions,
773    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
774        gaxi::unimplemented::unimplemented_stub()
775    }
776
777    /// Returns the polling error policy.
778    ///
779    /// When mocking, this method is typically irrelevant. Do not try to verify
780    /// it is called by your mocks.
781    fn get_polling_error_policy(
782        &self,
783        _options: &crate::RequestOptions,
784    ) -> std::sync::Arc<dyn google_cloud_gax::polling_error_policy::PollingErrorPolicy> {
785        std::sync::Arc::new(google_cloud_gax::polling_error_policy::Aip194Strict)
786    }
787
788    /// Returns the polling backoff policy.
789    ///
790    /// When mocking, this method is typically irrelevant. Do not try to verify
791    /// it is called by your mocks.
792    fn get_polling_backoff_policy(
793        &self,
794        _options: &crate::RequestOptions,
795    ) -> std::sync::Arc<dyn google_cloud_gax::polling_backoff_policy::PollingBackoffPolicy> {
796        std::sync::Arc::new(google_cloud_gax::exponential_backoff::ExponentialBackoff::default())
797    }
798}