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