Skip to main content

google_cloud_developerconnect_v1/
stub.rs

1// Copyright 2025 Google LLC
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     https://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14//
15// Code generated by sidekick. DO NOT EDIT.
16
17//! Traits to mock the clients in this library.
18//!
19//! Application developers may need to mock the clients in this library to test
20//! how their application works with different (and sometimes hard to trigger)
21//! client and service behavior. Such test can define mocks implementing the
22//! trait(s) defined in this module, initialize the client with an instance of
23//! this mock in their tests, and verify their application responds as expected.
24
25#![allow(rustdoc::broken_intra_doc_links)]
26
27pub(crate) mod dynamic;
28
29/// Defines the trait used to implement [super::client::DeveloperConnect].
30///
31/// Application developers may need to implement this trait to mock
32/// `client::DeveloperConnect`.  In other use-cases, application developers only
33/// use `client::DeveloperConnect` and need not be concerned with this trait or
34/// its implementations.
35///
36/// Services gain new RPCs routinely. Consequently, this trait gains new methods
37/// too. To avoid breaking applications the trait provides a default
38/// implementation of each method. Most of these implementations just return an
39/// error.
40pub trait DeveloperConnect: std::fmt::Debug + Send + Sync {
41    /// Implements [super::client::DeveloperConnect::list_connections].
42    fn list_connections(
43        &self,
44        _req: crate::model::ListConnectionsRequest,
45        _options: crate::RequestOptions,
46    ) -> impl std::future::Future<
47        Output = crate::Result<crate::Response<crate::model::ListConnectionsResponse>>,
48    > + Send {
49        gaxi::unimplemented::unimplemented_stub()
50    }
51
52    /// Implements [super::client::DeveloperConnect::get_connection].
53    fn get_connection(
54        &self,
55        _req: crate::model::GetConnectionRequest,
56        _options: crate::RequestOptions,
57    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Connection>>> + Send
58    {
59        gaxi::unimplemented::unimplemented_stub()
60    }
61
62    /// Implements [super::client::DeveloperConnect::create_connection].
63    fn create_connection(
64        &self,
65        _req: crate::model::CreateConnectionRequest,
66        _options: crate::RequestOptions,
67    ) -> impl std::future::Future<
68        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
69    > + Send {
70        gaxi::unimplemented::unimplemented_stub()
71    }
72
73    /// Implements [super::client::DeveloperConnect::update_connection].
74    fn update_connection(
75        &self,
76        _req: crate::model::UpdateConnectionRequest,
77        _options: crate::RequestOptions,
78    ) -> impl std::future::Future<
79        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
80    > + Send {
81        gaxi::unimplemented::unimplemented_stub()
82    }
83
84    /// Implements [super::client::DeveloperConnect::delete_connection].
85    fn delete_connection(
86        &self,
87        _req: crate::model::DeleteConnectionRequest,
88        _options: crate::RequestOptions,
89    ) -> impl std::future::Future<
90        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
91    > + Send {
92        gaxi::unimplemented::unimplemented_stub()
93    }
94
95    /// Implements [super::client::DeveloperConnect::create_git_repository_link].
96    fn create_git_repository_link(
97        &self,
98        _req: crate::model::CreateGitRepositoryLinkRequest,
99        _options: crate::RequestOptions,
100    ) -> impl std::future::Future<
101        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
102    > + Send {
103        gaxi::unimplemented::unimplemented_stub()
104    }
105
106    /// Implements [super::client::DeveloperConnect::delete_git_repository_link].
107    fn delete_git_repository_link(
108        &self,
109        _req: crate::model::DeleteGitRepositoryLinkRequest,
110        _options: crate::RequestOptions,
111    ) -> impl std::future::Future<
112        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
113    > + Send {
114        gaxi::unimplemented::unimplemented_stub()
115    }
116
117    /// Implements [super::client::DeveloperConnect::list_git_repository_links].
118    fn list_git_repository_links(
119        &self,
120        _req: crate::model::ListGitRepositoryLinksRequest,
121        _options: crate::RequestOptions,
122    ) -> impl std::future::Future<
123        Output = crate::Result<crate::Response<crate::model::ListGitRepositoryLinksResponse>>,
124    > + Send {
125        gaxi::unimplemented::unimplemented_stub()
126    }
127
128    /// Implements [super::client::DeveloperConnect::get_git_repository_link].
129    fn get_git_repository_link(
130        &self,
131        _req: crate::model::GetGitRepositoryLinkRequest,
132        _options: crate::RequestOptions,
133    ) -> impl std::future::Future<
134        Output = crate::Result<crate::Response<crate::model::GitRepositoryLink>>,
135    > + Send {
136        gaxi::unimplemented::unimplemented_stub()
137    }
138
139    /// Implements [super::client::DeveloperConnect::fetch_read_write_token].
140    fn fetch_read_write_token(
141        &self,
142        _req: crate::model::FetchReadWriteTokenRequest,
143        _options: crate::RequestOptions,
144    ) -> impl std::future::Future<
145        Output = crate::Result<crate::Response<crate::model::FetchReadWriteTokenResponse>>,
146    > + Send {
147        gaxi::unimplemented::unimplemented_stub()
148    }
149
150    /// Implements [super::client::DeveloperConnect::fetch_read_token].
151    fn fetch_read_token(
152        &self,
153        _req: crate::model::FetchReadTokenRequest,
154        _options: crate::RequestOptions,
155    ) -> impl std::future::Future<
156        Output = crate::Result<crate::Response<crate::model::FetchReadTokenResponse>>,
157    > + Send {
158        gaxi::unimplemented::unimplemented_stub()
159    }
160
161    /// Implements [super::client::DeveloperConnect::open_git_repository_link_pull_request].
162    fn open_git_repository_link_pull_request(
163        &self,
164        _req: crate::model::OpenGitRepositoryLinkPullRequestRequest,
165        _options: crate::RequestOptions,
166    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::PullRequest>>>
167    + Send {
168        gaxi::unimplemented::unimplemented_stub()
169    }
170
171    /// Implements [super::client::DeveloperConnect::fetch_linkable_git_repositories].
172    fn fetch_linkable_git_repositories(
173        &self,
174        _req: crate::model::FetchLinkableGitRepositoriesRequest,
175        _options: crate::RequestOptions,
176    ) -> impl std::future::Future<
177        Output = crate::Result<crate::Response<crate::model::FetchLinkableGitRepositoriesResponse>>,
178    > + Send {
179        gaxi::unimplemented::unimplemented_stub()
180    }
181
182    /// Implements [super::client::DeveloperConnect::fetch_git_hub_installations].
183    fn fetch_git_hub_installations(
184        &self,
185        _req: crate::model::FetchGitHubInstallationsRequest,
186        _options: crate::RequestOptions,
187    ) -> impl std::future::Future<
188        Output = crate::Result<crate::Response<crate::model::FetchGitHubInstallationsResponse>>,
189    > + Send {
190        gaxi::unimplemented::unimplemented_stub()
191    }
192
193    /// Implements [super::client::DeveloperConnect::fetch_git_refs].
194    fn fetch_git_refs(
195        &self,
196        _req: crate::model::FetchGitRefsRequest,
197        _options: crate::RequestOptions,
198    ) -> impl std::future::Future<
199        Output = crate::Result<crate::Response<crate::model::FetchGitRefsResponse>>,
200    > + Send {
201        gaxi::unimplemented::unimplemented_stub()
202    }
203
204    /// Implements [super::client::DeveloperConnect::diff_git_repository_link_commit].
205    fn diff_git_repository_link_commit(
206        &self,
207        _req: crate::model::DiffGitRepositoryLinkCommitRequest,
208        _options: crate::RequestOptions,
209    ) -> impl std::future::Future<
210        Output = crate::Result<crate::Response<crate::model::DiffGitRepositoryLinkCommitResponse>>,
211    > + Send {
212        gaxi::unimplemented::unimplemented_stub()
213    }
214
215    /// Implements [super::client::DeveloperConnect::fetch_git_repository_link_commit].
216    fn fetch_git_repository_link_commit(
217        &self,
218        _req: crate::model::FetchGitRepositoryLinkCommitRequest,
219        _options: crate::RequestOptions,
220    ) -> impl std::future::Future<
221        Output = crate::Result<crate::Response<crate::model::FetchGitRepositoryLinkCommitResponse>>,
222    > + Send {
223        gaxi::unimplemented::unimplemented_stub()
224    }
225
226    /// Implements [super::client::DeveloperConnect::fetch_git_repository_link_commit_list].
227    fn fetch_git_repository_link_commit_list(
228        &self,
229        _req: crate::model::FetchGitRepositoryLinkCommitListRequest,
230        _options: crate::RequestOptions,
231    ) -> impl std::future::Future<
232        Output = crate::Result<
233            crate::Response<crate::model::FetchGitRepositoryLinkCommitListResponse>,
234        >,
235    > + Send {
236        gaxi::unimplemented::unimplemented_stub()
237    }
238
239    /// Implements [super::client::DeveloperConnect::fetch_git_repository_link_file_blame].
240    fn fetch_git_repository_link_file_blame(
241        &self,
242        _req: crate::model::FetchGitRepositoryLinkFileBlameRequest,
243        _options: crate::RequestOptions,
244    ) -> impl std::future::Future<
245        Output = crate::Result<
246            crate::Response<crate::model::FetchGitRepositoryLinkFileBlameResponse>,
247        >,
248    > + Send {
249        gaxi::unimplemented::unimplemented_stub()
250    }
251
252    /// Implements [super::client::DeveloperConnect::fetch_git_repository_link_pull_request].
253    fn fetch_git_repository_link_pull_request(
254        &self,
255        _req: crate::model::FetchGitRepositoryLinkPullRequestRequest,
256        _options: crate::RequestOptions,
257    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::PullRequest>>>
258    + Send {
259        gaxi::unimplemented::unimplemented_stub()
260    }
261
262    /// Implements [super::client::DeveloperConnect::add_git_repository_link_pull_request_comment].
263    fn add_git_repository_link_pull_request_comment(
264        &self,
265        _req: crate::model::AddGitRepositoryLinkPullRequestCommentRequest,
266        _options: crate::RequestOptions,
267    ) -> impl std::future::Future<
268        Output = crate::Result<crate::Response<crate::model::PullRequestComment>>,
269    > + Send {
270        gaxi::unimplemented::unimplemented_stub()
271    }
272
273    /// Implements [super::client::DeveloperConnect::add_git_repository_link_pull_request_review_comment].
274    fn add_git_repository_link_pull_request_review_comment(
275        &self,
276        _req: crate::model::AddGitRepositoryLinkPullRequestReviewCommentRequest,
277        _options: crate::RequestOptions,
278    ) -> impl std::future::Future<
279        Output = crate::Result<crate::Response<crate::model::PullRequestReviewComment>>,
280    > + Send {
281        gaxi::unimplemented::unimplemented_stub()
282    }
283
284    /// Implements [super::client::DeveloperConnect::modify_git_repository_link_pull_request].
285    fn modify_git_repository_link_pull_request(
286        &self,
287        _req: crate::model::ModifyGitRepositoryLinkPullRequestRequest,
288        _options: crate::RequestOptions,
289    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::PullRequest>>>
290    + Send {
291        gaxi::unimplemented::unimplemented_stub()
292    }
293
294    /// Implements [super::client::DeveloperConnect::fetch_git_repository_link_pull_request_list].
295    fn fetch_git_repository_link_pull_request_list(
296        &self,
297        _req: crate::model::FetchGitRepositoryLinkPullRequestListRequest,
298        _options: crate::RequestOptions,
299    ) -> impl std::future::Future<
300        Output = crate::Result<
301            crate::Response<crate::model::FetchGitRepositoryLinkPullRequestListResponse>,
302        >,
303    > + Send {
304        gaxi::unimplemented::unimplemented_stub()
305    }
306
307    /// Implements [super::client::DeveloperConnect::list_account_connectors].
308    fn list_account_connectors(
309        &self,
310        _req: crate::model::ListAccountConnectorsRequest,
311        _options: crate::RequestOptions,
312    ) -> impl std::future::Future<
313        Output = crate::Result<crate::Response<crate::model::ListAccountConnectorsResponse>>,
314    > + Send {
315        gaxi::unimplemented::unimplemented_stub()
316    }
317
318    /// Implements [super::client::DeveloperConnect::get_account_connector].
319    fn get_account_connector(
320        &self,
321        _req: crate::model::GetAccountConnectorRequest,
322        _options: crate::RequestOptions,
323    ) -> impl std::future::Future<
324        Output = crate::Result<crate::Response<crate::model::AccountConnector>>,
325    > + Send {
326        gaxi::unimplemented::unimplemented_stub()
327    }
328
329    /// Implements [super::client::DeveloperConnect::create_account_connector].
330    fn create_account_connector(
331        &self,
332        _req: crate::model::CreateAccountConnectorRequest,
333        _options: crate::RequestOptions,
334    ) -> impl std::future::Future<
335        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
336    > + Send {
337        gaxi::unimplemented::unimplemented_stub()
338    }
339
340    /// Implements [super::client::DeveloperConnect::update_account_connector].
341    fn update_account_connector(
342        &self,
343        _req: crate::model::UpdateAccountConnectorRequest,
344        _options: crate::RequestOptions,
345    ) -> impl std::future::Future<
346        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
347    > + Send {
348        gaxi::unimplemented::unimplemented_stub()
349    }
350
351    /// Implements [super::client::DeveloperConnect::delete_account_connector].
352    fn delete_account_connector(
353        &self,
354        _req: crate::model::DeleteAccountConnectorRequest,
355        _options: crate::RequestOptions,
356    ) -> impl std::future::Future<
357        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
358    > + Send {
359        gaxi::unimplemented::unimplemented_stub()
360    }
361
362    /// Implements [super::client::DeveloperConnect::fetch_access_token].
363    fn fetch_access_token(
364        &self,
365        _req: crate::model::FetchAccessTokenRequest,
366        _options: crate::RequestOptions,
367    ) -> impl std::future::Future<
368        Output = crate::Result<crate::Response<crate::model::FetchAccessTokenResponse>>,
369    > + Send {
370        gaxi::unimplemented::unimplemented_stub()
371    }
372
373    /// Implements [super::client::DeveloperConnect::list_users].
374    fn list_users(
375        &self,
376        _req: crate::model::ListUsersRequest,
377        _options: crate::RequestOptions,
378    ) -> impl std::future::Future<
379        Output = crate::Result<crate::Response<crate::model::ListUsersResponse>>,
380    > + Send {
381        gaxi::unimplemented::unimplemented_stub()
382    }
383
384    /// Implements [super::client::DeveloperConnect::delete_user].
385    fn delete_user(
386        &self,
387        _req: crate::model::DeleteUserRequest,
388        _options: crate::RequestOptions,
389    ) -> impl std::future::Future<
390        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
391    > + Send {
392        gaxi::unimplemented::unimplemented_stub()
393    }
394
395    /// Implements [super::client::DeveloperConnect::fetch_self].
396    fn fetch_self(
397        &self,
398        _req: crate::model::FetchSelfRequest,
399        _options: crate::RequestOptions,
400    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::User>>> + Send
401    {
402        gaxi::unimplemented::unimplemented_stub()
403    }
404
405    /// Implements [super::client::DeveloperConnect::delete_self].
406    fn delete_self(
407        &self,
408        _req: crate::model::DeleteSelfRequest,
409        _options: crate::RequestOptions,
410    ) -> impl std::future::Future<
411        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
412    > + Send {
413        gaxi::unimplemented::unimplemented_stub()
414    }
415
416    /// Implements [super::client::DeveloperConnect::start_o_auth].
417    fn start_o_auth(
418        &self,
419        _req: crate::model::StartOAuthRequest,
420        _options: crate::RequestOptions,
421    ) -> impl std::future::Future<
422        Output = crate::Result<crate::Response<crate::model::StartOAuthResponse>>,
423    > + Send {
424        gaxi::unimplemented::unimplemented_stub()
425    }
426
427    /// Implements [super::client::DeveloperConnect::finish_o_auth].
428    fn finish_o_auth(
429        &self,
430        _req: crate::model::FinishOAuthRequest,
431        _options: crate::RequestOptions,
432    ) -> impl std::future::Future<
433        Output = crate::Result<crate::Response<crate::model::FinishOAuthResponse>>,
434    > + Send {
435        gaxi::unimplemented::unimplemented_stub()
436    }
437
438    /// Implements [super::client::DeveloperConnect::list_locations].
439    fn list_locations(
440        &self,
441        _req: google_cloud_location::model::ListLocationsRequest,
442        _options: crate::RequestOptions,
443    ) -> impl std::future::Future<
444        Output = crate::Result<
445            crate::Response<google_cloud_location::model::ListLocationsResponse>,
446        >,
447    > + Send {
448        gaxi::unimplemented::unimplemented_stub()
449    }
450
451    /// Implements [super::client::DeveloperConnect::get_location].
452    fn get_location(
453        &self,
454        _req: google_cloud_location::model::GetLocationRequest,
455        _options: crate::RequestOptions,
456    ) -> impl std::future::Future<
457        Output = crate::Result<crate::Response<google_cloud_location::model::Location>>,
458    > + Send {
459        gaxi::unimplemented::unimplemented_stub()
460    }
461
462    /// Implements [super::client::DeveloperConnect::list_operations].
463    fn list_operations(
464        &self,
465        _req: google_cloud_longrunning::model::ListOperationsRequest,
466        _options: crate::RequestOptions,
467    ) -> impl std::future::Future<
468        Output = crate::Result<
469            crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
470        >,
471    > + Send {
472        gaxi::unimplemented::unimplemented_stub()
473    }
474
475    /// Implements [super::client::DeveloperConnect::get_operation].
476    fn get_operation(
477        &self,
478        _req: google_cloud_longrunning::model::GetOperationRequest,
479        _options: crate::RequestOptions,
480    ) -> impl std::future::Future<
481        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
482    > + Send {
483        gaxi::unimplemented::unimplemented_stub()
484    }
485
486    /// Implements [super::client::DeveloperConnect::delete_operation].
487    fn delete_operation(
488        &self,
489        _req: google_cloud_longrunning::model::DeleteOperationRequest,
490        _options: crate::RequestOptions,
491    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
492        gaxi::unimplemented::unimplemented_stub()
493    }
494
495    /// Implements [super::client::DeveloperConnect::cancel_operation].
496    fn cancel_operation(
497        &self,
498        _req: google_cloud_longrunning::model::CancelOperationRequest,
499        _options: crate::RequestOptions,
500    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
501        gaxi::unimplemented::unimplemented_stub()
502    }
503
504    /// Returns the polling error policy.
505    ///
506    /// When mocking, this method is typically irrelevant. Do not try to verify
507    /// it is called by your mocks.
508    fn get_polling_error_policy(
509        &self,
510        _options: &crate::RequestOptions,
511    ) -> std::sync::Arc<dyn google_cloud_gax::polling_error_policy::PollingErrorPolicy> {
512        std::sync::Arc::new(google_cloud_gax::polling_error_policy::Aip194Strict)
513    }
514
515    /// Returns the polling backoff policy.
516    ///
517    /// When mocking, this method is typically irrelevant. Do not try to verify
518    /// it is called by your mocks.
519    fn get_polling_backoff_policy(
520        &self,
521        _options: &crate::RequestOptions,
522    ) -> std::sync::Arc<dyn google_cloud_gax::polling_backoff_policy::PollingBackoffPolicy> {
523        std::sync::Arc::new(google_cloud_gax::exponential_backoff::ExponentialBackoff::default())
524    }
525
526    #[doc(hidden)]
527    /// Returns the poller options.
528    ///
529    /// When mocking, this method is typically irrelevant. Do not try to verify
530    /// it is called by your mocks.
531    fn get_poller_options(
532        &self,
533        _options: &crate::RequestOptions,
534    ) -> google_cloud_lro::PollerOptions {
535        google_cloud_lro::PollerOptions::default()
536    }
537}
538
539/// Defines the trait used to implement [super::client::InsightsConfigService].
540///
541/// Application developers may need to implement this trait to mock
542/// `client::InsightsConfigService`.  In other use-cases, application developers only
543/// use `client::InsightsConfigService` and need not be concerned with this trait or
544/// its implementations.
545///
546/// Services gain new RPCs routinely. Consequently, this trait gains new methods
547/// too. To avoid breaking applications the trait provides a default
548/// implementation of each method. Most of these implementations just return an
549/// error.
550pub trait InsightsConfigService: std::fmt::Debug + Send + Sync {
551    /// Implements [super::client::InsightsConfigService::list_insights_configs].
552    fn list_insights_configs(
553        &self,
554        _req: crate::model::ListInsightsConfigsRequest,
555        _options: crate::RequestOptions,
556    ) -> impl std::future::Future<
557        Output = crate::Result<crate::Response<crate::model::ListInsightsConfigsResponse>>,
558    > + Send {
559        gaxi::unimplemented::unimplemented_stub()
560    }
561
562    /// Implements [super::client::InsightsConfigService::create_insights_config].
563    fn create_insights_config(
564        &self,
565        _req: crate::model::CreateInsightsConfigRequest,
566        _options: crate::RequestOptions,
567    ) -> impl std::future::Future<
568        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
569    > + Send {
570        gaxi::unimplemented::unimplemented_stub()
571    }
572
573    /// Implements [super::client::InsightsConfigService::get_insights_config].
574    fn get_insights_config(
575        &self,
576        _req: crate::model::GetInsightsConfigRequest,
577        _options: crate::RequestOptions,
578    ) -> impl std::future::Future<
579        Output = crate::Result<crate::Response<crate::model::InsightsConfig>>,
580    > + Send {
581        gaxi::unimplemented::unimplemented_stub()
582    }
583
584    /// Implements [super::client::InsightsConfigService::update_insights_config].
585    fn update_insights_config(
586        &self,
587        _req: crate::model::UpdateInsightsConfigRequest,
588        _options: crate::RequestOptions,
589    ) -> impl std::future::Future<
590        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
591    > + Send {
592        gaxi::unimplemented::unimplemented_stub()
593    }
594
595    /// Implements [super::client::InsightsConfigService::delete_insights_config].
596    fn delete_insights_config(
597        &self,
598        _req: crate::model::DeleteInsightsConfigRequest,
599        _options: crate::RequestOptions,
600    ) -> impl std::future::Future<
601        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
602    > + Send {
603        gaxi::unimplemented::unimplemented_stub()
604    }
605
606    /// Implements [super::client::InsightsConfigService::get_deployment_event].
607    fn get_deployment_event(
608        &self,
609        _req: crate::model::GetDeploymentEventRequest,
610        _options: crate::RequestOptions,
611    ) -> impl std::future::Future<
612        Output = crate::Result<crate::Response<crate::model::DeploymentEvent>>,
613    > + Send {
614        gaxi::unimplemented::unimplemented_stub()
615    }
616
617    /// Implements [super::client::InsightsConfigService::list_deployment_events].
618    fn list_deployment_events(
619        &self,
620        _req: crate::model::ListDeploymentEventsRequest,
621        _options: crate::RequestOptions,
622    ) -> impl std::future::Future<
623        Output = crate::Result<crate::Response<crate::model::ListDeploymentEventsResponse>>,
624    > + Send {
625        gaxi::unimplemented::unimplemented_stub()
626    }
627
628    /// Implements [super::client::InsightsConfigService::list_locations].
629    fn list_locations(
630        &self,
631        _req: google_cloud_location::model::ListLocationsRequest,
632        _options: crate::RequestOptions,
633    ) -> impl std::future::Future<
634        Output = crate::Result<
635            crate::Response<google_cloud_location::model::ListLocationsResponse>,
636        >,
637    > + Send {
638        gaxi::unimplemented::unimplemented_stub()
639    }
640
641    /// Implements [super::client::InsightsConfigService::get_location].
642    fn get_location(
643        &self,
644        _req: google_cloud_location::model::GetLocationRequest,
645        _options: crate::RequestOptions,
646    ) -> impl std::future::Future<
647        Output = crate::Result<crate::Response<google_cloud_location::model::Location>>,
648    > + Send {
649        gaxi::unimplemented::unimplemented_stub()
650    }
651
652    /// Implements [super::client::InsightsConfigService::list_operations].
653    fn list_operations(
654        &self,
655        _req: google_cloud_longrunning::model::ListOperationsRequest,
656        _options: crate::RequestOptions,
657    ) -> impl std::future::Future<
658        Output = crate::Result<
659            crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
660        >,
661    > + Send {
662        gaxi::unimplemented::unimplemented_stub()
663    }
664
665    /// Implements [super::client::InsightsConfigService::get_operation].
666    fn get_operation(
667        &self,
668        _req: google_cloud_longrunning::model::GetOperationRequest,
669        _options: crate::RequestOptions,
670    ) -> impl std::future::Future<
671        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
672    > + Send {
673        gaxi::unimplemented::unimplemented_stub()
674    }
675
676    /// Implements [super::client::InsightsConfigService::delete_operation].
677    fn delete_operation(
678        &self,
679        _req: google_cloud_longrunning::model::DeleteOperationRequest,
680        _options: crate::RequestOptions,
681    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
682        gaxi::unimplemented::unimplemented_stub()
683    }
684
685    /// Implements [super::client::InsightsConfigService::cancel_operation].
686    fn cancel_operation(
687        &self,
688        _req: google_cloud_longrunning::model::CancelOperationRequest,
689        _options: crate::RequestOptions,
690    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
691        gaxi::unimplemented::unimplemented_stub()
692    }
693
694    /// Returns the polling error policy.
695    ///
696    /// When mocking, this method is typically irrelevant. Do not try to verify
697    /// it is called by your mocks.
698    fn get_polling_error_policy(
699        &self,
700        _options: &crate::RequestOptions,
701    ) -> std::sync::Arc<dyn google_cloud_gax::polling_error_policy::PollingErrorPolicy> {
702        std::sync::Arc::new(google_cloud_gax::polling_error_policy::Aip194Strict)
703    }
704
705    /// Returns the polling backoff policy.
706    ///
707    /// When mocking, this method is typically irrelevant. Do not try to verify
708    /// it is called by your mocks.
709    fn get_polling_backoff_policy(
710        &self,
711        _options: &crate::RequestOptions,
712    ) -> std::sync::Arc<dyn google_cloud_gax::polling_backoff_policy::PollingBackoffPolicy> {
713        std::sync::Arc::new(google_cloud_gax::exponential_backoff::ExponentialBackoff::default())
714    }
715
716    #[doc(hidden)]
717    /// Returns the poller options.
718    ///
719    /// When mocking, this method is typically irrelevant. Do not try to verify
720    /// it is called by your mocks.
721    fn get_poller_options(
722        &self,
723        _options: &crate::RequestOptions,
724    ) -> google_cloud_lro::PollerOptions {
725        google_cloud_lro::PollerOptions::default()
726    }
727}