google_cloud_vmwareengine_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
27use gax::error::Error;
28use std::sync::Arc;
29
30pub(crate) mod dynamic;
31
32/// Defines the trait used to implement [super::client::VmwareEngine].
33///
34/// Application developers may need to implement this trait to mock
35/// `client::VmwareEngine`.  In other use-cases, application developers only
36/// use `client::VmwareEngine` and need not be concerned with this trait or
37/// its implementations.
38///
39/// Services gain new RPCs routinely. Consequently, this trait gains new methods
40/// too. To avoid breaking applications the trait provides a default
41/// implementation of each method. Most of these implementations just return an
42/// error.
43pub trait VmwareEngine: std::fmt::Debug + Send + Sync {
44    /// Implements [super::client::VmwareEngine::list_private_clouds].
45    fn list_private_clouds(
46        &self,
47        _req: crate::model::ListPrivateCloudsRequest,
48        _options: gax::options::RequestOptions,
49    ) -> impl std::future::Future<
50        Output = crate::Result<gax::response::Response<crate::model::ListPrivateCloudsResponse>>,
51    > + Send {
52        std::future::ready::<
53            crate::Result<gax::response::Response<crate::model::ListPrivateCloudsResponse>>,
54        >(Err(Error::other("unimplemented")))
55    }
56
57    /// Implements [super::client::VmwareEngine::get_private_cloud].
58    fn get_private_cloud(
59        &self,
60        _req: crate::model::GetPrivateCloudRequest,
61        _options: gax::options::RequestOptions,
62    ) -> impl std::future::Future<
63        Output = crate::Result<gax::response::Response<crate::model::PrivateCloud>>,
64    > + Send {
65        std::future::ready::<crate::Result<gax::response::Response<crate::model::PrivateCloud>>>(
66            Err(Error::other("unimplemented")),
67        )
68    }
69
70    /// Implements [super::client::VmwareEngine::create_private_cloud].
71    fn create_private_cloud(
72        &self,
73        _req: crate::model::CreatePrivateCloudRequest,
74        _options: gax::options::RequestOptions,
75    ) -> impl std::future::Future<
76        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
77    > + Send {
78        std::future::ready::<crate::Result<gax::response::Response<longrunning::model::Operation>>>(
79            Err(Error::other("unimplemented")),
80        )
81    }
82
83    /// Implements [super::client::VmwareEngine::update_private_cloud].
84    fn update_private_cloud(
85        &self,
86        _req: crate::model::UpdatePrivateCloudRequest,
87        _options: gax::options::RequestOptions,
88    ) -> impl std::future::Future<
89        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
90    > + Send {
91        std::future::ready::<crate::Result<gax::response::Response<longrunning::model::Operation>>>(
92            Err(Error::other("unimplemented")),
93        )
94    }
95
96    /// Implements [super::client::VmwareEngine::delete_private_cloud].
97    fn delete_private_cloud(
98        &self,
99        _req: crate::model::DeletePrivateCloudRequest,
100        _options: gax::options::RequestOptions,
101    ) -> impl std::future::Future<
102        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
103    > + Send {
104        std::future::ready::<crate::Result<gax::response::Response<longrunning::model::Operation>>>(
105            Err(Error::other("unimplemented")),
106        )
107    }
108
109    /// Implements [super::client::VmwareEngine::undelete_private_cloud].
110    fn undelete_private_cloud(
111        &self,
112        _req: crate::model::UndeletePrivateCloudRequest,
113        _options: gax::options::RequestOptions,
114    ) -> impl std::future::Future<
115        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
116    > + Send {
117        std::future::ready::<crate::Result<gax::response::Response<longrunning::model::Operation>>>(
118            Err(Error::other("unimplemented")),
119        )
120    }
121
122    /// Implements [super::client::VmwareEngine::list_clusters].
123    fn list_clusters(
124        &self,
125        _req: crate::model::ListClustersRequest,
126        _options: gax::options::RequestOptions,
127    ) -> impl std::future::Future<
128        Output = crate::Result<gax::response::Response<crate::model::ListClustersResponse>>,
129    > + Send {
130        std::future::ready::<
131            crate::Result<gax::response::Response<crate::model::ListClustersResponse>>,
132        >(Err(Error::other("unimplemented")))
133    }
134
135    /// Implements [super::client::VmwareEngine::get_cluster].
136    fn get_cluster(
137        &self,
138        _req: crate::model::GetClusterRequest,
139        _options: gax::options::RequestOptions,
140    ) -> impl std::future::Future<
141        Output = crate::Result<gax::response::Response<crate::model::Cluster>>,
142    > + Send {
143        std::future::ready::<crate::Result<gax::response::Response<crate::model::Cluster>>>(Err(
144            Error::other("unimplemented"),
145        ))
146    }
147
148    /// Implements [super::client::VmwareEngine::create_cluster].
149    fn create_cluster(
150        &self,
151        _req: crate::model::CreateClusterRequest,
152        _options: gax::options::RequestOptions,
153    ) -> impl std::future::Future<
154        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
155    > + Send {
156        std::future::ready::<crate::Result<gax::response::Response<longrunning::model::Operation>>>(
157            Err(Error::other("unimplemented")),
158        )
159    }
160
161    /// Implements [super::client::VmwareEngine::update_cluster].
162    fn update_cluster(
163        &self,
164        _req: crate::model::UpdateClusterRequest,
165        _options: gax::options::RequestOptions,
166    ) -> impl std::future::Future<
167        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
168    > + Send {
169        std::future::ready::<crate::Result<gax::response::Response<longrunning::model::Operation>>>(
170            Err(Error::other("unimplemented")),
171        )
172    }
173
174    /// Implements [super::client::VmwareEngine::delete_cluster].
175    fn delete_cluster(
176        &self,
177        _req: crate::model::DeleteClusterRequest,
178        _options: gax::options::RequestOptions,
179    ) -> impl std::future::Future<
180        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
181    > + Send {
182        std::future::ready::<crate::Result<gax::response::Response<longrunning::model::Operation>>>(
183            Err(Error::other("unimplemented")),
184        )
185    }
186
187    /// Implements [super::client::VmwareEngine::list_nodes].
188    fn list_nodes(
189        &self,
190        _req: crate::model::ListNodesRequest,
191        _options: gax::options::RequestOptions,
192    ) -> impl std::future::Future<
193        Output = crate::Result<gax::response::Response<crate::model::ListNodesResponse>>,
194    > + Send {
195        std::future::ready::<crate::Result<gax::response::Response<crate::model::ListNodesResponse>>>(
196            Err(Error::other("unimplemented")),
197        )
198    }
199
200    /// Implements [super::client::VmwareEngine::get_node].
201    fn get_node(
202        &self,
203        _req: crate::model::GetNodeRequest,
204        _options: gax::options::RequestOptions,
205    ) -> impl std::future::Future<
206        Output = crate::Result<gax::response::Response<crate::model::Node>>,
207    > + Send {
208        std::future::ready::<crate::Result<gax::response::Response<crate::model::Node>>>(Err(
209            Error::other("unimplemented"),
210        ))
211    }
212
213    /// Implements [super::client::VmwareEngine::list_external_addresses].
214    fn list_external_addresses(
215        &self,
216        _req: crate::model::ListExternalAddressesRequest,
217        _options: gax::options::RequestOptions,
218    ) -> impl std::future::Future<
219        Output = crate::Result<
220            gax::response::Response<crate::model::ListExternalAddressesResponse>,
221        >,
222    > + Send {
223        std::future::ready::<
224            crate::Result<gax::response::Response<crate::model::ListExternalAddressesResponse>>,
225        >(Err(Error::other("unimplemented")))
226    }
227
228    /// Implements [super::client::VmwareEngine::fetch_network_policy_external_addresses].
229    fn fetch_network_policy_external_addresses(
230        &self,
231        _req: crate::model::FetchNetworkPolicyExternalAddressesRequest,
232        _options: gax::options::RequestOptions,
233    ) -> impl std::future::Future<
234        Output = crate::Result<
235            gax::response::Response<crate::model::FetchNetworkPolicyExternalAddressesResponse>,
236        >,
237    > + Send {
238        std::future::ready::<
239            crate::Result<
240                gax::response::Response<crate::model::FetchNetworkPolicyExternalAddressesResponse>,
241            >,
242        >(Err(Error::other("unimplemented")))
243    }
244
245    /// Implements [super::client::VmwareEngine::get_external_address].
246    fn get_external_address(
247        &self,
248        _req: crate::model::GetExternalAddressRequest,
249        _options: gax::options::RequestOptions,
250    ) -> impl std::future::Future<
251        Output = crate::Result<gax::response::Response<crate::model::ExternalAddress>>,
252    > + Send {
253        std::future::ready::<crate::Result<gax::response::Response<crate::model::ExternalAddress>>>(
254            Err(Error::other("unimplemented")),
255        )
256    }
257
258    /// Implements [super::client::VmwareEngine::create_external_address].
259    fn create_external_address(
260        &self,
261        _req: crate::model::CreateExternalAddressRequest,
262        _options: gax::options::RequestOptions,
263    ) -> impl std::future::Future<
264        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
265    > + Send {
266        std::future::ready::<crate::Result<gax::response::Response<longrunning::model::Operation>>>(
267            Err(Error::other("unimplemented")),
268        )
269    }
270
271    /// Implements [super::client::VmwareEngine::update_external_address].
272    fn update_external_address(
273        &self,
274        _req: crate::model::UpdateExternalAddressRequest,
275        _options: gax::options::RequestOptions,
276    ) -> impl std::future::Future<
277        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
278    > + Send {
279        std::future::ready::<crate::Result<gax::response::Response<longrunning::model::Operation>>>(
280            Err(Error::other("unimplemented")),
281        )
282    }
283
284    /// Implements [super::client::VmwareEngine::delete_external_address].
285    fn delete_external_address(
286        &self,
287        _req: crate::model::DeleteExternalAddressRequest,
288        _options: gax::options::RequestOptions,
289    ) -> impl std::future::Future<
290        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
291    > + Send {
292        std::future::ready::<crate::Result<gax::response::Response<longrunning::model::Operation>>>(
293            Err(Error::other("unimplemented")),
294        )
295    }
296
297    /// Implements [super::client::VmwareEngine::list_subnets].
298    fn list_subnets(
299        &self,
300        _req: crate::model::ListSubnetsRequest,
301        _options: gax::options::RequestOptions,
302    ) -> impl std::future::Future<
303        Output = crate::Result<gax::response::Response<crate::model::ListSubnetsResponse>>,
304    > + Send {
305        std::future::ready::<
306            crate::Result<gax::response::Response<crate::model::ListSubnetsResponse>>,
307        >(Err(Error::other("unimplemented")))
308    }
309
310    /// Implements [super::client::VmwareEngine::get_subnet].
311    fn get_subnet(
312        &self,
313        _req: crate::model::GetSubnetRequest,
314        _options: gax::options::RequestOptions,
315    ) -> impl std::future::Future<
316        Output = crate::Result<gax::response::Response<crate::model::Subnet>>,
317    > + Send {
318        std::future::ready::<crate::Result<gax::response::Response<crate::model::Subnet>>>(Err(
319            Error::other("unimplemented"),
320        ))
321    }
322
323    /// Implements [super::client::VmwareEngine::update_subnet].
324    fn update_subnet(
325        &self,
326        _req: crate::model::UpdateSubnetRequest,
327        _options: gax::options::RequestOptions,
328    ) -> impl std::future::Future<
329        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
330    > + Send {
331        std::future::ready::<crate::Result<gax::response::Response<longrunning::model::Operation>>>(
332            Err(Error::other("unimplemented")),
333        )
334    }
335
336    /// Implements [super::client::VmwareEngine::list_external_access_rules].
337    fn list_external_access_rules(
338        &self,
339        _req: crate::model::ListExternalAccessRulesRequest,
340        _options: gax::options::RequestOptions,
341    ) -> impl std::future::Future<
342        Output = crate::Result<
343            gax::response::Response<crate::model::ListExternalAccessRulesResponse>,
344        >,
345    > + Send {
346        std::future::ready::<
347            crate::Result<gax::response::Response<crate::model::ListExternalAccessRulesResponse>>,
348        >(Err(Error::other("unimplemented")))
349    }
350
351    /// Implements [super::client::VmwareEngine::get_external_access_rule].
352    fn get_external_access_rule(
353        &self,
354        _req: crate::model::GetExternalAccessRuleRequest,
355        _options: gax::options::RequestOptions,
356    ) -> impl std::future::Future<
357        Output = crate::Result<gax::response::Response<crate::model::ExternalAccessRule>>,
358    > + Send {
359        std::future::ready::<crate::Result<gax::response::Response<crate::model::ExternalAccessRule>>>(
360            Err(Error::other("unimplemented")),
361        )
362    }
363
364    /// Implements [super::client::VmwareEngine::create_external_access_rule].
365    fn create_external_access_rule(
366        &self,
367        _req: crate::model::CreateExternalAccessRuleRequest,
368        _options: gax::options::RequestOptions,
369    ) -> impl std::future::Future<
370        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
371    > + Send {
372        std::future::ready::<crate::Result<gax::response::Response<longrunning::model::Operation>>>(
373            Err(Error::other("unimplemented")),
374        )
375    }
376
377    /// Implements [super::client::VmwareEngine::update_external_access_rule].
378    fn update_external_access_rule(
379        &self,
380        _req: crate::model::UpdateExternalAccessRuleRequest,
381        _options: gax::options::RequestOptions,
382    ) -> impl std::future::Future<
383        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
384    > + Send {
385        std::future::ready::<crate::Result<gax::response::Response<longrunning::model::Operation>>>(
386            Err(Error::other("unimplemented")),
387        )
388    }
389
390    /// Implements [super::client::VmwareEngine::delete_external_access_rule].
391    fn delete_external_access_rule(
392        &self,
393        _req: crate::model::DeleteExternalAccessRuleRequest,
394        _options: gax::options::RequestOptions,
395    ) -> impl std::future::Future<
396        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
397    > + Send {
398        std::future::ready::<crate::Result<gax::response::Response<longrunning::model::Operation>>>(
399            Err(Error::other("unimplemented")),
400        )
401    }
402
403    /// Implements [super::client::VmwareEngine::list_logging_servers].
404    fn list_logging_servers(
405        &self,
406        _req: crate::model::ListLoggingServersRequest,
407        _options: gax::options::RequestOptions,
408    ) -> impl std::future::Future<
409        Output = crate::Result<gax::response::Response<crate::model::ListLoggingServersResponse>>,
410    > + Send {
411        std::future::ready::<
412            crate::Result<gax::response::Response<crate::model::ListLoggingServersResponse>>,
413        >(Err(Error::other("unimplemented")))
414    }
415
416    /// Implements [super::client::VmwareEngine::get_logging_server].
417    fn get_logging_server(
418        &self,
419        _req: crate::model::GetLoggingServerRequest,
420        _options: gax::options::RequestOptions,
421    ) -> impl std::future::Future<
422        Output = crate::Result<gax::response::Response<crate::model::LoggingServer>>,
423    > + Send {
424        std::future::ready::<crate::Result<gax::response::Response<crate::model::LoggingServer>>>(
425            Err(Error::other("unimplemented")),
426        )
427    }
428
429    /// Implements [super::client::VmwareEngine::create_logging_server].
430    fn create_logging_server(
431        &self,
432        _req: crate::model::CreateLoggingServerRequest,
433        _options: gax::options::RequestOptions,
434    ) -> impl std::future::Future<
435        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
436    > + Send {
437        std::future::ready::<crate::Result<gax::response::Response<longrunning::model::Operation>>>(
438            Err(Error::other("unimplemented")),
439        )
440    }
441
442    /// Implements [super::client::VmwareEngine::update_logging_server].
443    fn update_logging_server(
444        &self,
445        _req: crate::model::UpdateLoggingServerRequest,
446        _options: gax::options::RequestOptions,
447    ) -> impl std::future::Future<
448        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
449    > + Send {
450        std::future::ready::<crate::Result<gax::response::Response<longrunning::model::Operation>>>(
451            Err(Error::other("unimplemented")),
452        )
453    }
454
455    /// Implements [super::client::VmwareEngine::delete_logging_server].
456    fn delete_logging_server(
457        &self,
458        _req: crate::model::DeleteLoggingServerRequest,
459        _options: gax::options::RequestOptions,
460    ) -> impl std::future::Future<
461        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
462    > + Send {
463        std::future::ready::<crate::Result<gax::response::Response<longrunning::model::Operation>>>(
464            Err(Error::other("unimplemented")),
465        )
466    }
467
468    /// Implements [super::client::VmwareEngine::list_node_types].
469    fn list_node_types(
470        &self,
471        _req: crate::model::ListNodeTypesRequest,
472        _options: gax::options::RequestOptions,
473    ) -> impl std::future::Future<
474        Output = crate::Result<gax::response::Response<crate::model::ListNodeTypesResponse>>,
475    > + Send {
476        std::future::ready::<
477            crate::Result<gax::response::Response<crate::model::ListNodeTypesResponse>>,
478        >(Err(Error::other("unimplemented")))
479    }
480
481    /// Implements [super::client::VmwareEngine::get_node_type].
482    fn get_node_type(
483        &self,
484        _req: crate::model::GetNodeTypeRequest,
485        _options: gax::options::RequestOptions,
486    ) -> impl std::future::Future<
487        Output = crate::Result<gax::response::Response<crate::model::NodeType>>,
488    > + Send {
489        std::future::ready::<crate::Result<gax::response::Response<crate::model::NodeType>>>(Err(
490            Error::other("unimplemented"),
491        ))
492    }
493
494    /// Implements [super::client::VmwareEngine::show_nsx_credentials].
495    fn show_nsx_credentials(
496        &self,
497        _req: crate::model::ShowNsxCredentialsRequest,
498        _options: gax::options::RequestOptions,
499    ) -> impl std::future::Future<
500        Output = crate::Result<gax::response::Response<crate::model::Credentials>>,
501    > + Send {
502        std::future::ready::<crate::Result<gax::response::Response<crate::model::Credentials>>>(
503            Err(Error::other("unimplemented")),
504        )
505    }
506
507    /// Implements [super::client::VmwareEngine::show_vcenter_credentials].
508    fn show_vcenter_credentials(
509        &self,
510        _req: crate::model::ShowVcenterCredentialsRequest,
511        _options: gax::options::RequestOptions,
512    ) -> impl std::future::Future<
513        Output = crate::Result<gax::response::Response<crate::model::Credentials>>,
514    > + Send {
515        std::future::ready::<crate::Result<gax::response::Response<crate::model::Credentials>>>(
516            Err(Error::other("unimplemented")),
517        )
518    }
519
520    /// Implements [super::client::VmwareEngine::reset_nsx_credentials].
521    fn reset_nsx_credentials(
522        &self,
523        _req: crate::model::ResetNsxCredentialsRequest,
524        _options: gax::options::RequestOptions,
525    ) -> impl std::future::Future<
526        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
527    > + Send {
528        std::future::ready::<crate::Result<gax::response::Response<longrunning::model::Operation>>>(
529            Err(Error::other("unimplemented")),
530        )
531    }
532
533    /// Implements [super::client::VmwareEngine::reset_vcenter_credentials].
534    fn reset_vcenter_credentials(
535        &self,
536        _req: crate::model::ResetVcenterCredentialsRequest,
537        _options: gax::options::RequestOptions,
538    ) -> impl std::future::Future<
539        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
540    > + Send {
541        std::future::ready::<crate::Result<gax::response::Response<longrunning::model::Operation>>>(
542            Err(Error::other("unimplemented")),
543        )
544    }
545
546    /// Implements [super::client::VmwareEngine::get_dns_forwarding].
547    fn get_dns_forwarding(
548        &self,
549        _req: crate::model::GetDnsForwardingRequest,
550        _options: gax::options::RequestOptions,
551    ) -> impl std::future::Future<
552        Output = crate::Result<gax::response::Response<crate::model::DnsForwarding>>,
553    > + Send {
554        std::future::ready::<crate::Result<gax::response::Response<crate::model::DnsForwarding>>>(
555            Err(Error::other("unimplemented")),
556        )
557    }
558
559    /// Implements [super::client::VmwareEngine::update_dns_forwarding].
560    fn update_dns_forwarding(
561        &self,
562        _req: crate::model::UpdateDnsForwardingRequest,
563        _options: gax::options::RequestOptions,
564    ) -> impl std::future::Future<
565        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
566    > + Send {
567        std::future::ready::<crate::Result<gax::response::Response<longrunning::model::Operation>>>(
568            Err(Error::other("unimplemented")),
569        )
570    }
571
572    /// Implements [super::client::VmwareEngine::get_network_peering].
573    fn get_network_peering(
574        &self,
575        _req: crate::model::GetNetworkPeeringRequest,
576        _options: gax::options::RequestOptions,
577    ) -> impl std::future::Future<
578        Output = crate::Result<gax::response::Response<crate::model::NetworkPeering>>,
579    > + Send {
580        std::future::ready::<crate::Result<gax::response::Response<crate::model::NetworkPeering>>>(
581            Err(Error::other("unimplemented")),
582        )
583    }
584
585    /// Implements [super::client::VmwareEngine::list_network_peerings].
586    fn list_network_peerings(
587        &self,
588        _req: crate::model::ListNetworkPeeringsRequest,
589        _options: gax::options::RequestOptions,
590    ) -> impl std::future::Future<
591        Output = crate::Result<gax::response::Response<crate::model::ListNetworkPeeringsResponse>>,
592    > + Send {
593        std::future::ready::<
594            crate::Result<gax::response::Response<crate::model::ListNetworkPeeringsResponse>>,
595        >(Err(Error::other("unimplemented")))
596    }
597
598    /// Implements [super::client::VmwareEngine::create_network_peering].
599    fn create_network_peering(
600        &self,
601        _req: crate::model::CreateNetworkPeeringRequest,
602        _options: gax::options::RequestOptions,
603    ) -> impl std::future::Future<
604        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
605    > + Send {
606        std::future::ready::<crate::Result<gax::response::Response<longrunning::model::Operation>>>(
607            Err(Error::other("unimplemented")),
608        )
609    }
610
611    /// Implements [super::client::VmwareEngine::delete_network_peering].
612    fn delete_network_peering(
613        &self,
614        _req: crate::model::DeleteNetworkPeeringRequest,
615        _options: gax::options::RequestOptions,
616    ) -> impl std::future::Future<
617        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
618    > + Send {
619        std::future::ready::<crate::Result<gax::response::Response<longrunning::model::Operation>>>(
620            Err(Error::other("unimplemented")),
621        )
622    }
623
624    /// Implements [super::client::VmwareEngine::update_network_peering].
625    fn update_network_peering(
626        &self,
627        _req: crate::model::UpdateNetworkPeeringRequest,
628        _options: gax::options::RequestOptions,
629    ) -> impl std::future::Future<
630        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
631    > + Send {
632        std::future::ready::<crate::Result<gax::response::Response<longrunning::model::Operation>>>(
633            Err(Error::other("unimplemented")),
634        )
635    }
636
637    /// Implements [super::client::VmwareEngine::list_peering_routes].
638    fn list_peering_routes(
639        &self,
640        _req: crate::model::ListPeeringRoutesRequest,
641        _options: gax::options::RequestOptions,
642    ) -> impl std::future::Future<
643        Output = crate::Result<gax::response::Response<crate::model::ListPeeringRoutesResponse>>,
644    > + Send {
645        std::future::ready::<
646            crate::Result<gax::response::Response<crate::model::ListPeeringRoutesResponse>>,
647        >(Err(Error::other("unimplemented")))
648    }
649
650    /// Implements [super::client::VmwareEngine::create_hcx_activation_key].
651    fn create_hcx_activation_key(
652        &self,
653        _req: crate::model::CreateHcxActivationKeyRequest,
654        _options: gax::options::RequestOptions,
655    ) -> impl std::future::Future<
656        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
657    > + Send {
658        std::future::ready::<crate::Result<gax::response::Response<longrunning::model::Operation>>>(
659            Err(Error::other("unimplemented")),
660        )
661    }
662
663    /// Implements [super::client::VmwareEngine::list_hcx_activation_keys].
664    fn list_hcx_activation_keys(
665        &self,
666        _req: crate::model::ListHcxActivationKeysRequest,
667        _options: gax::options::RequestOptions,
668    ) -> impl std::future::Future<
669        Output = crate::Result<
670            gax::response::Response<crate::model::ListHcxActivationKeysResponse>,
671        >,
672    > + Send {
673        std::future::ready::<
674            crate::Result<gax::response::Response<crate::model::ListHcxActivationKeysResponse>>,
675        >(Err(Error::other("unimplemented")))
676    }
677
678    /// Implements [super::client::VmwareEngine::get_hcx_activation_key].
679    fn get_hcx_activation_key(
680        &self,
681        _req: crate::model::GetHcxActivationKeyRequest,
682        _options: gax::options::RequestOptions,
683    ) -> impl std::future::Future<
684        Output = crate::Result<gax::response::Response<crate::model::HcxActivationKey>>,
685    > + Send {
686        std::future::ready::<crate::Result<gax::response::Response<crate::model::HcxActivationKey>>>(
687            Err(Error::other("unimplemented")),
688        )
689    }
690
691    /// Implements [super::client::VmwareEngine::get_network_policy].
692    fn get_network_policy(
693        &self,
694        _req: crate::model::GetNetworkPolicyRequest,
695        _options: gax::options::RequestOptions,
696    ) -> impl std::future::Future<
697        Output = crate::Result<gax::response::Response<crate::model::NetworkPolicy>>,
698    > + Send {
699        std::future::ready::<crate::Result<gax::response::Response<crate::model::NetworkPolicy>>>(
700            Err(Error::other("unimplemented")),
701        )
702    }
703
704    /// Implements [super::client::VmwareEngine::list_network_policies].
705    fn list_network_policies(
706        &self,
707        _req: crate::model::ListNetworkPoliciesRequest,
708        _options: gax::options::RequestOptions,
709    ) -> impl std::future::Future<
710        Output = crate::Result<gax::response::Response<crate::model::ListNetworkPoliciesResponse>>,
711    > + Send {
712        std::future::ready::<
713            crate::Result<gax::response::Response<crate::model::ListNetworkPoliciesResponse>>,
714        >(Err(Error::other("unimplemented")))
715    }
716
717    /// Implements [super::client::VmwareEngine::create_network_policy].
718    fn create_network_policy(
719        &self,
720        _req: crate::model::CreateNetworkPolicyRequest,
721        _options: gax::options::RequestOptions,
722    ) -> impl std::future::Future<
723        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
724    > + Send {
725        std::future::ready::<crate::Result<gax::response::Response<longrunning::model::Operation>>>(
726            Err(Error::other("unimplemented")),
727        )
728    }
729
730    /// Implements [super::client::VmwareEngine::update_network_policy].
731    fn update_network_policy(
732        &self,
733        _req: crate::model::UpdateNetworkPolicyRequest,
734        _options: gax::options::RequestOptions,
735    ) -> impl std::future::Future<
736        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
737    > + Send {
738        std::future::ready::<crate::Result<gax::response::Response<longrunning::model::Operation>>>(
739            Err(Error::other("unimplemented")),
740        )
741    }
742
743    /// Implements [super::client::VmwareEngine::delete_network_policy].
744    fn delete_network_policy(
745        &self,
746        _req: crate::model::DeleteNetworkPolicyRequest,
747        _options: gax::options::RequestOptions,
748    ) -> impl std::future::Future<
749        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
750    > + Send {
751        std::future::ready::<crate::Result<gax::response::Response<longrunning::model::Operation>>>(
752            Err(Error::other("unimplemented")),
753        )
754    }
755
756    /// Implements [super::client::VmwareEngine::list_management_dns_zone_bindings].
757    fn list_management_dns_zone_bindings(
758        &self,
759        _req: crate::model::ListManagementDnsZoneBindingsRequest,
760        _options: gax::options::RequestOptions,
761    ) -> impl std::future::Future<
762        Output = crate::Result<
763            gax::response::Response<crate::model::ListManagementDnsZoneBindingsResponse>,
764        >,
765    > + Send {
766        std::future::ready::<
767            crate::Result<
768                gax::response::Response<crate::model::ListManagementDnsZoneBindingsResponse>,
769            >,
770        >(Err(Error::other("unimplemented")))
771    }
772
773    /// Implements [super::client::VmwareEngine::get_management_dns_zone_binding].
774    fn get_management_dns_zone_binding(
775        &self,
776        _req: crate::model::GetManagementDnsZoneBindingRequest,
777        _options: gax::options::RequestOptions,
778    ) -> impl std::future::Future<
779        Output = crate::Result<gax::response::Response<crate::model::ManagementDnsZoneBinding>>,
780    > + Send {
781        std::future::ready::<
782            crate::Result<gax::response::Response<crate::model::ManagementDnsZoneBinding>>,
783        >(Err(Error::other("unimplemented")))
784    }
785
786    /// Implements [super::client::VmwareEngine::create_management_dns_zone_binding].
787    fn create_management_dns_zone_binding(
788        &self,
789        _req: crate::model::CreateManagementDnsZoneBindingRequest,
790        _options: gax::options::RequestOptions,
791    ) -> impl std::future::Future<
792        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
793    > + Send {
794        std::future::ready::<crate::Result<gax::response::Response<longrunning::model::Operation>>>(
795            Err(Error::other("unimplemented")),
796        )
797    }
798
799    /// Implements [super::client::VmwareEngine::update_management_dns_zone_binding].
800    fn update_management_dns_zone_binding(
801        &self,
802        _req: crate::model::UpdateManagementDnsZoneBindingRequest,
803        _options: gax::options::RequestOptions,
804    ) -> impl std::future::Future<
805        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
806    > + Send {
807        std::future::ready::<crate::Result<gax::response::Response<longrunning::model::Operation>>>(
808            Err(Error::other("unimplemented")),
809        )
810    }
811
812    /// Implements [super::client::VmwareEngine::delete_management_dns_zone_binding].
813    fn delete_management_dns_zone_binding(
814        &self,
815        _req: crate::model::DeleteManagementDnsZoneBindingRequest,
816        _options: gax::options::RequestOptions,
817    ) -> impl std::future::Future<
818        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
819    > + Send {
820        std::future::ready::<crate::Result<gax::response::Response<longrunning::model::Operation>>>(
821            Err(Error::other("unimplemented")),
822        )
823    }
824
825    /// Implements [super::client::VmwareEngine::repair_management_dns_zone_binding].
826    fn repair_management_dns_zone_binding(
827        &self,
828        _req: crate::model::RepairManagementDnsZoneBindingRequest,
829        _options: gax::options::RequestOptions,
830    ) -> impl std::future::Future<
831        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
832    > + Send {
833        std::future::ready::<crate::Result<gax::response::Response<longrunning::model::Operation>>>(
834            Err(Error::other("unimplemented")),
835        )
836    }
837
838    /// Implements [super::client::VmwareEngine::create_vmware_engine_network].
839    fn create_vmware_engine_network(
840        &self,
841        _req: crate::model::CreateVmwareEngineNetworkRequest,
842        _options: gax::options::RequestOptions,
843    ) -> impl std::future::Future<
844        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
845    > + Send {
846        std::future::ready::<crate::Result<gax::response::Response<longrunning::model::Operation>>>(
847            Err(Error::other("unimplemented")),
848        )
849    }
850
851    /// Implements [super::client::VmwareEngine::update_vmware_engine_network].
852    fn update_vmware_engine_network(
853        &self,
854        _req: crate::model::UpdateVmwareEngineNetworkRequest,
855        _options: gax::options::RequestOptions,
856    ) -> impl std::future::Future<
857        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
858    > + Send {
859        std::future::ready::<crate::Result<gax::response::Response<longrunning::model::Operation>>>(
860            Err(Error::other("unimplemented")),
861        )
862    }
863
864    /// Implements [super::client::VmwareEngine::delete_vmware_engine_network].
865    fn delete_vmware_engine_network(
866        &self,
867        _req: crate::model::DeleteVmwareEngineNetworkRequest,
868        _options: gax::options::RequestOptions,
869    ) -> impl std::future::Future<
870        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
871    > + Send {
872        std::future::ready::<crate::Result<gax::response::Response<longrunning::model::Operation>>>(
873            Err(Error::other("unimplemented")),
874        )
875    }
876
877    /// Implements [super::client::VmwareEngine::get_vmware_engine_network].
878    fn get_vmware_engine_network(
879        &self,
880        _req: crate::model::GetVmwareEngineNetworkRequest,
881        _options: gax::options::RequestOptions,
882    ) -> impl std::future::Future<
883        Output = crate::Result<gax::response::Response<crate::model::VmwareEngineNetwork>>,
884    > + Send {
885        std::future::ready::<
886            crate::Result<gax::response::Response<crate::model::VmwareEngineNetwork>>,
887        >(Err(Error::other("unimplemented")))
888    }
889
890    /// Implements [super::client::VmwareEngine::list_vmware_engine_networks].
891    fn list_vmware_engine_networks(
892        &self,
893        _req: crate::model::ListVmwareEngineNetworksRequest,
894        _options: gax::options::RequestOptions,
895    ) -> impl std::future::Future<
896        Output = crate::Result<
897            gax::response::Response<crate::model::ListVmwareEngineNetworksResponse>,
898        >,
899    > + Send {
900        std::future::ready::<
901            crate::Result<gax::response::Response<crate::model::ListVmwareEngineNetworksResponse>>,
902        >(Err(Error::other("unimplemented")))
903    }
904
905    /// Implements [super::client::VmwareEngine::create_private_connection].
906    fn create_private_connection(
907        &self,
908        _req: crate::model::CreatePrivateConnectionRequest,
909        _options: gax::options::RequestOptions,
910    ) -> impl std::future::Future<
911        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
912    > + Send {
913        std::future::ready::<crate::Result<gax::response::Response<longrunning::model::Operation>>>(
914            Err(Error::other("unimplemented")),
915        )
916    }
917
918    /// Implements [super::client::VmwareEngine::get_private_connection].
919    fn get_private_connection(
920        &self,
921        _req: crate::model::GetPrivateConnectionRequest,
922        _options: gax::options::RequestOptions,
923    ) -> impl std::future::Future<
924        Output = crate::Result<gax::response::Response<crate::model::PrivateConnection>>,
925    > + Send {
926        std::future::ready::<crate::Result<gax::response::Response<crate::model::PrivateConnection>>>(
927            Err(Error::other("unimplemented")),
928        )
929    }
930
931    /// Implements [super::client::VmwareEngine::list_private_connections].
932    fn list_private_connections(
933        &self,
934        _req: crate::model::ListPrivateConnectionsRequest,
935        _options: gax::options::RequestOptions,
936    ) -> impl std::future::Future<
937        Output = crate::Result<
938            gax::response::Response<crate::model::ListPrivateConnectionsResponse>,
939        >,
940    > + Send {
941        std::future::ready::<
942            crate::Result<gax::response::Response<crate::model::ListPrivateConnectionsResponse>>,
943        >(Err(Error::other("unimplemented")))
944    }
945
946    /// Implements [super::client::VmwareEngine::update_private_connection].
947    fn update_private_connection(
948        &self,
949        _req: crate::model::UpdatePrivateConnectionRequest,
950        _options: gax::options::RequestOptions,
951    ) -> impl std::future::Future<
952        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
953    > + Send {
954        std::future::ready::<crate::Result<gax::response::Response<longrunning::model::Operation>>>(
955            Err(Error::other("unimplemented")),
956        )
957    }
958
959    /// Implements [super::client::VmwareEngine::delete_private_connection].
960    fn delete_private_connection(
961        &self,
962        _req: crate::model::DeletePrivateConnectionRequest,
963        _options: gax::options::RequestOptions,
964    ) -> impl std::future::Future<
965        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
966    > + Send {
967        std::future::ready::<crate::Result<gax::response::Response<longrunning::model::Operation>>>(
968            Err(Error::other("unimplemented")),
969        )
970    }
971
972    /// Implements [super::client::VmwareEngine::list_private_connection_peering_routes].
973    fn list_private_connection_peering_routes(
974        &self,
975        _req: crate::model::ListPrivateConnectionPeeringRoutesRequest,
976        _options: gax::options::RequestOptions,
977    ) -> impl std::future::Future<
978        Output = crate::Result<
979            gax::response::Response<crate::model::ListPrivateConnectionPeeringRoutesResponse>,
980        >,
981    > + Send {
982        std::future::ready::<
983            crate::Result<
984                gax::response::Response<crate::model::ListPrivateConnectionPeeringRoutesResponse>,
985            >,
986        >(Err(Error::other("unimplemented")))
987    }
988
989    /// Implements [super::client::VmwareEngine::grant_dns_bind_permission].
990    fn grant_dns_bind_permission(
991        &self,
992        _req: crate::model::GrantDnsBindPermissionRequest,
993        _options: gax::options::RequestOptions,
994    ) -> impl std::future::Future<
995        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
996    > + Send {
997        std::future::ready::<crate::Result<gax::response::Response<longrunning::model::Operation>>>(
998            Err(Error::other("unimplemented")),
999        )
1000    }
1001
1002    /// Implements [super::client::VmwareEngine::get_dns_bind_permission].
1003    fn get_dns_bind_permission(
1004        &self,
1005        _req: crate::model::GetDnsBindPermissionRequest,
1006        _options: gax::options::RequestOptions,
1007    ) -> impl std::future::Future<
1008        Output = crate::Result<gax::response::Response<crate::model::DnsBindPermission>>,
1009    > + Send {
1010        std::future::ready::<crate::Result<gax::response::Response<crate::model::DnsBindPermission>>>(
1011            Err(Error::other("unimplemented")),
1012        )
1013    }
1014
1015    /// Implements [super::client::VmwareEngine::revoke_dns_bind_permission].
1016    fn revoke_dns_bind_permission(
1017        &self,
1018        _req: crate::model::RevokeDnsBindPermissionRequest,
1019        _options: gax::options::RequestOptions,
1020    ) -> impl std::future::Future<
1021        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
1022    > + Send {
1023        std::future::ready::<crate::Result<gax::response::Response<longrunning::model::Operation>>>(
1024            Err(Error::other("unimplemented")),
1025        )
1026    }
1027
1028    /// Implements [super::client::VmwareEngine::list_locations].
1029    fn list_locations(
1030        &self,
1031        _req: location::model::ListLocationsRequest,
1032        _options: gax::options::RequestOptions,
1033    ) -> impl std::future::Future<
1034        Output = crate::Result<gax::response::Response<location::model::ListLocationsResponse>>,
1035    > + Send {
1036        std::future::ready::<
1037            crate::Result<gax::response::Response<location::model::ListLocationsResponse>>,
1038        >(Err(Error::other("unimplemented")))
1039    }
1040
1041    /// Implements [super::client::VmwareEngine::get_location].
1042    fn get_location(
1043        &self,
1044        _req: location::model::GetLocationRequest,
1045        _options: gax::options::RequestOptions,
1046    ) -> impl std::future::Future<
1047        Output = crate::Result<gax::response::Response<location::model::Location>>,
1048    > + Send {
1049        std::future::ready::<crate::Result<gax::response::Response<location::model::Location>>>(
1050            Err(Error::other("unimplemented")),
1051        )
1052    }
1053
1054    /// Implements [super::client::VmwareEngine::set_iam_policy].
1055    fn set_iam_policy(
1056        &self,
1057        _req: iam_v1::model::SetIamPolicyRequest,
1058        _options: gax::options::RequestOptions,
1059    ) -> impl std::future::Future<
1060        Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
1061    > + Send {
1062        std::future::ready::<crate::Result<gax::response::Response<iam_v1::model::Policy>>>(Err(
1063            Error::other("unimplemented"),
1064        ))
1065    }
1066
1067    /// Implements [super::client::VmwareEngine::get_iam_policy].
1068    fn get_iam_policy(
1069        &self,
1070        _req: iam_v1::model::GetIamPolicyRequest,
1071        _options: gax::options::RequestOptions,
1072    ) -> impl std::future::Future<
1073        Output = crate::Result<gax::response::Response<iam_v1::model::Policy>>,
1074    > + Send {
1075        std::future::ready::<crate::Result<gax::response::Response<iam_v1::model::Policy>>>(Err(
1076            Error::other("unimplemented"),
1077        ))
1078    }
1079
1080    /// Implements [super::client::VmwareEngine::test_iam_permissions].
1081    fn test_iam_permissions(
1082        &self,
1083        _req: iam_v1::model::TestIamPermissionsRequest,
1084        _options: gax::options::RequestOptions,
1085    ) -> impl std::future::Future<
1086        Output = crate::Result<gax::response::Response<iam_v1::model::TestIamPermissionsResponse>>,
1087    > + Send {
1088        std::future::ready::<
1089            crate::Result<gax::response::Response<iam_v1::model::TestIamPermissionsResponse>>,
1090        >(Err(Error::other("unimplemented")))
1091    }
1092
1093    /// Implements [super::client::VmwareEngine::list_operations].
1094    fn list_operations(
1095        &self,
1096        _req: longrunning::model::ListOperationsRequest,
1097        _options: gax::options::RequestOptions,
1098    ) -> impl std::future::Future<
1099        Output = crate::Result<gax::response::Response<longrunning::model::ListOperationsResponse>>,
1100    > + Send {
1101        std::future::ready::<
1102            crate::Result<gax::response::Response<longrunning::model::ListOperationsResponse>>,
1103        >(Err(Error::other("unimplemented")))
1104    }
1105
1106    /// Implements [super::client::VmwareEngine::get_operation].
1107    fn get_operation(
1108        &self,
1109        _req: longrunning::model::GetOperationRequest,
1110        _options: gax::options::RequestOptions,
1111    ) -> impl std::future::Future<
1112        Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
1113    > + Send {
1114        std::future::ready::<crate::Result<gax::response::Response<longrunning::model::Operation>>>(
1115            Err(Error::other("unimplemented")),
1116        )
1117    }
1118
1119    /// Implements [super::client::VmwareEngine::delete_operation].
1120    fn delete_operation(
1121        &self,
1122        _req: longrunning::model::DeleteOperationRequest,
1123        _options: gax::options::RequestOptions,
1124    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
1125        std::future::ready::<crate::Result<gax::response::Response<()>>>(Err(Error::other(
1126            "unimplemented",
1127        )))
1128    }
1129
1130    /// Returns the polling error policy.
1131    ///
1132    /// When mocking, this method is typically irrelevant. Do not try to verify
1133    /// it is called by your mocks.
1134    fn get_polling_error_policy(
1135        &self,
1136        _options: &gax::options::RequestOptions,
1137    ) -> Arc<dyn gax::polling_error_policy::PollingErrorPolicy> {
1138        Arc::new(gax::polling_error_policy::Aip194Strict)
1139    }
1140
1141    /// Returns the polling backoff policy.
1142    ///
1143    /// When mocking, this method is typically irrelevant. Do not try to verify
1144    /// it is called by your mocks.
1145    fn get_polling_backoff_policy(
1146        &self,
1147        _options: &gax::options::RequestOptions,
1148    ) -> Arc<dyn gax::polling_backoff_policy::PollingBackoffPolicy> {
1149        Arc::new(gax::exponential_backoff::ExponentialBackoff::default())
1150    }
1151}