Skip to main content

google_cloud_securesourcemanager_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::SecureSourceManager].
30///
31/// Application developers may need to implement this trait to mock
32/// `client::SecureSourceManager`.  In other use-cases, application developers only
33/// use `client::SecureSourceManager` 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 SecureSourceManager: std::fmt::Debug + Send + Sync {
41    /// Implements [super::client::SecureSourceManager::list_instances].
42    fn list_instances(
43        &self,
44        _req: crate::model::ListInstancesRequest,
45        _options: crate::RequestOptions,
46    ) -> impl std::future::Future<
47        Output = crate::Result<crate::Response<crate::model::ListInstancesResponse>>,
48    > + Send {
49        gaxi::unimplemented::unimplemented_stub()
50    }
51
52    /// Implements [super::client::SecureSourceManager::get_instance].
53    fn get_instance(
54        &self,
55        _req: crate::model::GetInstanceRequest,
56        _options: crate::RequestOptions,
57    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Instance>>> + Send
58    {
59        gaxi::unimplemented::unimplemented_stub()
60    }
61
62    /// Implements [super::client::SecureSourceManager::create_instance].
63    fn create_instance(
64        &self,
65        _req: crate::model::CreateInstanceRequest,
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::SecureSourceManager::delete_instance].
74    fn delete_instance(
75        &self,
76        _req: crate::model::DeleteInstanceRequest,
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::SecureSourceManager::list_repositories].
85    fn list_repositories(
86        &self,
87        _req: crate::model::ListRepositoriesRequest,
88        _options: crate::RequestOptions,
89    ) -> impl std::future::Future<
90        Output = crate::Result<crate::Response<crate::model::ListRepositoriesResponse>>,
91    > + Send {
92        gaxi::unimplemented::unimplemented_stub()
93    }
94
95    /// Implements [super::client::SecureSourceManager::get_repository].
96    fn get_repository(
97        &self,
98        _req: crate::model::GetRepositoryRequest,
99        _options: crate::RequestOptions,
100    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Repository>>> + Send
101    {
102        gaxi::unimplemented::unimplemented_stub()
103    }
104
105    /// Implements [super::client::SecureSourceManager::create_repository].
106    fn create_repository(
107        &self,
108        _req: crate::model::CreateRepositoryRequest,
109        _options: crate::RequestOptions,
110    ) -> impl std::future::Future<
111        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
112    > + Send {
113        gaxi::unimplemented::unimplemented_stub()
114    }
115
116    /// Implements [super::client::SecureSourceManager::update_repository].
117    fn update_repository(
118        &self,
119        _req: crate::model::UpdateRepositoryRequest,
120        _options: crate::RequestOptions,
121    ) -> impl std::future::Future<
122        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
123    > + Send {
124        gaxi::unimplemented::unimplemented_stub()
125    }
126
127    /// Implements [super::client::SecureSourceManager::delete_repository].
128    fn delete_repository(
129        &self,
130        _req: crate::model::DeleteRepositoryRequest,
131        _options: crate::RequestOptions,
132    ) -> impl std::future::Future<
133        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
134    > + Send {
135        gaxi::unimplemented::unimplemented_stub()
136    }
137
138    /// Implements [super::client::SecureSourceManager::list_hooks].
139    fn list_hooks(
140        &self,
141        _req: crate::model::ListHooksRequest,
142        _options: crate::RequestOptions,
143    ) -> impl std::future::Future<
144        Output = crate::Result<crate::Response<crate::model::ListHooksResponse>>,
145    > + Send {
146        gaxi::unimplemented::unimplemented_stub()
147    }
148
149    /// Implements [super::client::SecureSourceManager::get_hook].
150    fn get_hook(
151        &self,
152        _req: crate::model::GetHookRequest,
153        _options: crate::RequestOptions,
154    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Hook>>> + Send
155    {
156        gaxi::unimplemented::unimplemented_stub()
157    }
158
159    /// Implements [super::client::SecureSourceManager::create_hook].
160    fn create_hook(
161        &self,
162        _req: crate::model::CreateHookRequest,
163        _options: crate::RequestOptions,
164    ) -> impl std::future::Future<
165        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
166    > + Send {
167        gaxi::unimplemented::unimplemented_stub()
168    }
169
170    /// Implements [super::client::SecureSourceManager::update_hook].
171    fn update_hook(
172        &self,
173        _req: crate::model::UpdateHookRequest,
174        _options: crate::RequestOptions,
175    ) -> impl std::future::Future<
176        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
177    > + Send {
178        gaxi::unimplemented::unimplemented_stub()
179    }
180
181    /// Implements [super::client::SecureSourceManager::delete_hook].
182    fn delete_hook(
183        &self,
184        _req: crate::model::DeleteHookRequest,
185        _options: crate::RequestOptions,
186    ) -> impl std::future::Future<
187        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
188    > + Send {
189        gaxi::unimplemented::unimplemented_stub()
190    }
191
192    /// Implements [super::client::SecureSourceManager::get_iam_policy_repo].
193    fn get_iam_policy_repo(
194        &self,
195        _req: google_cloud_iam_v1::model::GetIamPolicyRequest,
196        _options: crate::RequestOptions,
197    ) -> impl std::future::Future<
198        Output = crate::Result<crate::Response<google_cloud_iam_v1::model::Policy>>,
199    > + Send {
200        gaxi::unimplemented::unimplemented_stub()
201    }
202
203    /// Implements [super::client::SecureSourceManager::set_iam_policy_repo].
204    fn set_iam_policy_repo(
205        &self,
206        _req: google_cloud_iam_v1::model::SetIamPolicyRequest,
207        _options: crate::RequestOptions,
208    ) -> impl std::future::Future<
209        Output = crate::Result<crate::Response<google_cloud_iam_v1::model::Policy>>,
210    > + Send {
211        gaxi::unimplemented::unimplemented_stub()
212    }
213
214    /// Implements [super::client::SecureSourceManager::test_iam_permissions_repo].
215    fn test_iam_permissions_repo(
216        &self,
217        _req: google_cloud_iam_v1::model::TestIamPermissionsRequest,
218        _options: crate::RequestOptions,
219    ) -> impl std::future::Future<
220        Output = crate::Result<
221            crate::Response<google_cloud_iam_v1::model::TestIamPermissionsResponse>,
222        >,
223    > + Send {
224        gaxi::unimplemented::unimplemented_stub()
225    }
226
227    /// Implements [super::client::SecureSourceManager::create_branch_rule].
228    fn create_branch_rule(
229        &self,
230        _req: crate::model::CreateBranchRuleRequest,
231        _options: crate::RequestOptions,
232    ) -> impl std::future::Future<
233        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
234    > + Send {
235        gaxi::unimplemented::unimplemented_stub()
236    }
237
238    /// Implements [super::client::SecureSourceManager::list_branch_rules].
239    fn list_branch_rules(
240        &self,
241        _req: crate::model::ListBranchRulesRequest,
242        _options: crate::RequestOptions,
243    ) -> impl std::future::Future<
244        Output = crate::Result<crate::Response<crate::model::ListBranchRulesResponse>>,
245    > + Send {
246        gaxi::unimplemented::unimplemented_stub()
247    }
248
249    /// Implements [super::client::SecureSourceManager::get_branch_rule].
250    fn get_branch_rule(
251        &self,
252        _req: crate::model::GetBranchRuleRequest,
253        _options: crate::RequestOptions,
254    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::BranchRule>>> + Send
255    {
256        gaxi::unimplemented::unimplemented_stub()
257    }
258
259    /// Implements [super::client::SecureSourceManager::update_branch_rule].
260    fn update_branch_rule(
261        &self,
262        _req: crate::model::UpdateBranchRuleRequest,
263        _options: crate::RequestOptions,
264    ) -> impl std::future::Future<
265        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
266    > + Send {
267        gaxi::unimplemented::unimplemented_stub()
268    }
269
270    /// Implements [super::client::SecureSourceManager::delete_branch_rule].
271    fn delete_branch_rule(
272        &self,
273        _req: crate::model::DeleteBranchRuleRequest,
274        _options: crate::RequestOptions,
275    ) -> impl std::future::Future<
276        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
277    > + Send {
278        gaxi::unimplemented::unimplemented_stub()
279    }
280
281    /// Implements [super::client::SecureSourceManager::create_pull_request].
282    fn create_pull_request(
283        &self,
284        _req: crate::model::CreatePullRequestRequest,
285        _options: crate::RequestOptions,
286    ) -> impl std::future::Future<
287        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
288    > + Send {
289        gaxi::unimplemented::unimplemented_stub()
290    }
291
292    /// Implements [super::client::SecureSourceManager::get_pull_request].
293    fn get_pull_request(
294        &self,
295        _req: crate::model::GetPullRequestRequest,
296        _options: crate::RequestOptions,
297    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::PullRequest>>>
298    + Send {
299        gaxi::unimplemented::unimplemented_stub()
300    }
301
302    /// Implements [super::client::SecureSourceManager::list_pull_requests].
303    fn list_pull_requests(
304        &self,
305        _req: crate::model::ListPullRequestsRequest,
306        _options: crate::RequestOptions,
307    ) -> impl std::future::Future<
308        Output = crate::Result<crate::Response<crate::model::ListPullRequestsResponse>>,
309    > + Send {
310        gaxi::unimplemented::unimplemented_stub()
311    }
312
313    /// Implements [super::client::SecureSourceManager::update_pull_request].
314    fn update_pull_request(
315        &self,
316        _req: crate::model::UpdatePullRequestRequest,
317        _options: crate::RequestOptions,
318    ) -> impl std::future::Future<
319        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
320    > + Send {
321        gaxi::unimplemented::unimplemented_stub()
322    }
323
324    /// Implements [super::client::SecureSourceManager::merge_pull_request].
325    fn merge_pull_request(
326        &self,
327        _req: crate::model::MergePullRequestRequest,
328        _options: crate::RequestOptions,
329    ) -> impl std::future::Future<
330        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
331    > + Send {
332        gaxi::unimplemented::unimplemented_stub()
333    }
334
335    /// Implements [super::client::SecureSourceManager::open_pull_request].
336    fn open_pull_request(
337        &self,
338        _req: crate::model::OpenPullRequestRequest,
339        _options: crate::RequestOptions,
340    ) -> impl std::future::Future<
341        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
342    > + Send {
343        gaxi::unimplemented::unimplemented_stub()
344    }
345
346    /// Implements [super::client::SecureSourceManager::close_pull_request].
347    fn close_pull_request(
348        &self,
349        _req: crate::model::ClosePullRequestRequest,
350        _options: crate::RequestOptions,
351    ) -> impl std::future::Future<
352        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
353    > + Send {
354        gaxi::unimplemented::unimplemented_stub()
355    }
356
357    /// Implements [super::client::SecureSourceManager::list_pull_request_file_diffs].
358    fn list_pull_request_file_diffs(
359        &self,
360        _req: crate::model::ListPullRequestFileDiffsRequest,
361        _options: crate::RequestOptions,
362    ) -> impl std::future::Future<
363        Output = crate::Result<crate::Response<crate::model::ListPullRequestFileDiffsResponse>>,
364    > + Send {
365        gaxi::unimplemented::unimplemented_stub()
366    }
367
368    /// Implements [super::client::SecureSourceManager::fetch_tree].
369    fn fetch_tree(
370        &self,
371        _req: crate::model::FetchTreeRequest,
372        _options: crate::RequestOptions,
373    ) -> impl std::future::Future<
374        Output = crate::Result<crate::Response<crate::model::FetchTreeResponse>>,
375    > + Send {
376        gaxi::unimplemented::unimplemented_stub()
377    }
378
379    /// Implements [super::client::SecureSourceManager::fetch_blob].
380    fn fetch_blob(
381        &self,
382        _req: crate::model::FetchBlobRequest,
383        _options: crate::RequestOptions,
384    ) -> impl std::future::Future<
385        Output = crate::Result<crate::Response<crate::model::FetchBlobResponse>>,
386    > + Send {
387        gaxi::unimplemented::unimplemented_stub()
388    }
389
390    /// Implements [super::client::SecureSourceManager::create_issue].
391    fn create_issue(
392        &self,
393        _req: crate::model::CreateIssueRequest,
394        _options: crate::RequestOptions,
395    ) -> impl std::future::Future<
396        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
397    > + Send {
398        gaxi::unimplemented::unimplemented_stub()
399    }
400
401    /// Implements [super::client::SecureSourceManager::get_issue].
402    fn get_issue(
403        &self,
404        _req: crate::model::GetIssueRequest,
405        _options: crate::RequestOptions,
406    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Issue>>> + Send
407    {
408        gaxi::unimplemented::unimplemented_stub()
409    }
410
411    /// Implements [super::client::SecureSourceManager::list_issues].
412    fn list_issues(
413        &self,
414        _req: crate::model::ListIssuesRequest,
415        _options: crate::RequestOptions,
416    ) -> impl std::future::Future<
417        Output = crate::Result<crate::Response<crate::model::ListIssuesResponse>>,
418    > + Send {
419        gaxi::unimplemented::unimplemented_stub()
420    }
421
422    /// Implements [super::client::SecureSourceManager::update_issue].
423    fn update_issue(
424        &self,
425        _req: crate::model::UpdateIssueRequest,
426        _options: crate::RequestOptions,
427    ) -> impl std::future::Future<
428        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
429    > + Send {
430        gaxi::unimplemented::unimplemented_stub()
431    }
432
433    /// Implements [super::client::SecureSourceManager::delete_issue].
434    fn delete_issue(
435        &self,
436        _req: crate::model::DeleteIssueRequest,
437        _options: crate::RequestOptions,
438    ) -> impl std::future::Future<
439        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
440    > + Send {
441        gaxi::unimplemented::unimplemented_stub()
442    }
443
444    /// Implements [super::client::SecureSourceManager::open_issue].
445    fn open_issue(
446        &self,
447        _req: crate::model::OpenIssueRequest,
448        _options: crate::RequestOptions,
449    ) -> impl std::future::Future<
450        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
451    > + Send {
452        gaxi::unimplemented::unimplemented_stub()
453    }
454
455    /// Implements [super::client::SecureSourceManager::close_issue].
456    fn close_issue(
457        &self,
458        _req: crate::model::CloseIssueRequest,
459        _options: crate::RequestOptions,
460    ) -> impl std::future::Future<
461        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
462    > + Send {
463        gaxi::unimplemented::unimplemented_stub()
464    }
465
466    /// Implements [super::client::SecureSourceManager::get_pull_request_comment].
467    fn get_pull_request_comment(
468        &self,
469        _req: crate::model::GetPullRequestCommentRequest,
470        _options: crate::RequestOptions,
471    ) -> impl std::future::Future<
472        Output = crate::Result<crate::Response<crate::model::PullRequestComment>>,
473    > + Send {
474        gaxi::unimplemented::unimplemented_stub()
475    }
476
477    /// Implements [super::client::SecureSourceManager::list_pull_request_comments].
478    fn list_pull_request_comments(
479        &self,
480        _req: crate::model::ListPullRequestCommentsRequest,
481        _options: crate::RequestOptions,
482    ) -> impl std::future::Future<
483        Output = crate::Result<crate::Response<crate::model::ListPullRequestCommentsResponse>>,
484    > + Send {
485        gaxi::unimplemented::unimplemented_stub()
486    }
487
488    /// Implements [super::client::SecureSourceManager::create_pull_request_comment].
489    fn create_pull_request_comment(
490        &self,
491        _req: crate::model::CreatePullRequestCommentRequest,
492        _options: crate::RequestOptions,
493    ) -> impl std::future::Future<
494        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
495    > + Send {
496        gaxi::unimplemented::unimplemented_stub()
497    }
498
499    /// Implements [super::client::SecureSourceManager::update_pull_request_comment].
500    fn update_pull_request_comment(
501        &self,
502        _req: crate::model::UpdatePullRequestCommentRequest,
503        _options: crate::RequestOptions,
504    ) -> impl std::future::Future<
505        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
506    > + Send {
507        gaxi::unimplemented::unimplemented_stub()
508    }
509
510    /// Implements [super::client::SecureSourceManager::delete_pull_request_comment].
511    fn delete_pull_request_comment(
512        &self,
513        _req: crate::model::DeletePullRequestCommentRequest,
514        _options: crate::RequestOptions,
515    ) -> impl std::future::Future<
516        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
517    > + Send {
518        gaxi::unimplemented::unimplemented_stub()
519    }
520
521    /// Implements [super::client::SecureSourceManager::batch_create_pull_request_comments].
522    fn batch_create_pull_request_comments(
523        &self,
524        _req: crate::model::BatchCreatePullRequestCommentsRequest,
525        _options: crate::RequestOptions,
526    ) -> impl std::future::Future<
527        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
528    > + Send {
529        gaxi::unimplemented::unimplemented_stub()
530    }
531
532    /// Implements [super::client::SecureSourceManager::resolve_pull_request_comments].
533    fn resolve_pull_request_comments(
534        &self,
535        _req: crate::model::ResolvePullRequestCommentsRequest,
536        _options: crate::RequestOptions,
537    ) -> impl std::future::Future<
538        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
539    > + Send {
540        gaxi::unimplemented::unimplemented_stub()
541    }
542
543    /// Implements [super::client::SecureSourceManager::unresolve_pull_request_comments].
544    fn unresolve_pull_request_comments(
545        &self,
546        _req: crate::model::UnresolvePullRequestCommentsRequest,
547        _options: crate::RequestOptions,
548    ) -> impl std::future::Future<
549        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
550    > + Send {
551        gaxi::unimplemented::unimplemented_stub()
552    }
553
554    /// Implements [super::client::SecureSourceManager::create_issue_comment].
555    fn create_issue_comment(
556        &self,
557        _req: crate::model::CreateIssueCommentRequest,
558        _options: crate::RequestOptions,
559    ) -> impl std::future::Future<
560        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
561    > + Send {
562        gaxi::unimplemented::unimplemented_stub()
563    }
564
565    /// Implements [super::client::SecureSourceManager::get_issue_comment].
566    fn get_issue_comment(
567        &self,
568        _req: crate::model::GetIssueCommentRequest,
569        _options: crate::RequestOptions,
570    ) -> impl std::future::Future<
571        Output = crate::Result<crate::Response<crate::model::IssueComment>>,
572    > + Send {
573        gaxi::unimplemented::unimplemented_stub()
574    }
575
576    /// Implements [super::client::SecureSourceManager::list_issue_comments].
577    fn list_issue_comments(
578        &self,
579        _req: crate::model::ListIssueCommentsRequest,
580        _options: crate::RequestOptions,
581    ) -> impl std::future::Future<
582        Output = crate::Result<crate::Response<crate::model::ListIssueCommentsResponse>>,
583    > + Send {
584        gaxi::unimplemented::unimplemented_stub()
585    }
586
587    /// Implements [super::client::SecureSourceManager::update_issue_comment].
588    fn update_issue_comment(
589        &self,
590        _req: crate::model::UpdateIssueCommentRequest,
591        _options: crate::RequestOptions,
592    ) -> impl std::future::Future<
593        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
594    > + Send {
595        gaxi::unimplemented::unimplemented_stub()
596    }
597
598    /// Implements [super::client::SecureSourceManager::delete_issue_comment].
599    fn delete_issue_comment(
600        &self,
601        _req: crate::model::DeleteIssueCommentRequest,
602        _options: crate::RequestOptions,
603    ) -> impl std::future::Future<
604        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
605    > + Send {
606        gaxi::unimplemented::unimplemented_stub()
607    }
608
609    /// Implements [super::client::SecureSourceManager::list_locations].
610    fn list_locations(
611        &self,
612        _req: google_cloud_location::model::ListLocationsRequest,
613        _options: crate::RequestOptions,
614    ) -> impl std::future::Future<
615        Output = crate::Result<
616            crate::Response<google_cloud_location::model::ListLocationsResponse>,
617        >,
618    > + Send {
619        gaxi::unimplemented::unimplemented_stub()
620    }
621
622    /// Implements [super::client::SecureSourceManager::get_location].
623    fn get_location(
624        &self,
625        _req: google_cloud_location::model::GetLocationRequest,
626        _options: crate::RequestOptions,
627    ) -> impl std::future::Future<
628        Output = crate::Result<crate::Response<google_cloud_location::model::Location>>,
629    > + Send {
630        gaxi::unimplemented::unimplemented_stub()
631    }
632
633    /// Implements [super::client::SecureSourceManager::set_iam_policy].
634    fn set_iam_policy(
635        &self,
636        _req: google_cloud_iam_v1::model::SetIamPolicyRequest,
637        _options: crate::RequestOptions,
638    ) -> impl std::future::Future<
639        Output = crate::Result<crate::Response<google_cloud_iam_v1::model::Policy>>,
640    > + Send {
641        gaxi::unimplemented::unimplemented_stub()
642    }
643
644    /// Implements [super::client::SecureSourceManager::get_iam_policy].
645    fn get_iam_policy(
646        &self,
647        _req: google_cloud_iam_v1::model::GetIamPolicyRequest,
648        _options: crate::RequestOptions,
649    ) -> impl std::future::Future<
650        Output = crate::Result<crate::Response<google_cloud_iam_v1::model::Policy>>,
651    > + Send {
652        gaxi::unimplemented::unimplemented_stub()
653    }
654
655    /// Implements [super::client::SecureSourceManager::test_iam_permissions].
656    fn test_iam_permissions(
657        &self,
658        _req: google_cloud_iam_v1::model::TestIamPermissionsRequest,
659        _options: crate::RequestOptions,
660    ) -> impl std::future::Future<
661        Output = crate::Result<
662            crate::Response<google_cloud_iam_v1::model::TestIamPermissionsResponse>,
663        >,
664    > + Send {
665        gaxi::unimplemented::unimplemented_stub()
666    }
667
668    /// Implements [super::client::SecureSourceManager::list_operations].
669    fn list_operations(
670        &self,
671        _req: google_cloud_longrunning::model::ListOperationsRequest,
672        _options: crate::RequestOptions,
673    ) -> impl std::future::Future<
674        Output = crate::Result<
675            crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
676        >,
677    > + Send {
678        gaxi::unimplemented::unimplemented_stub()
679    }
680
681    /// Implements [super::client::SecureSourceManager::get_operation].
682    fn get_operation(
683        &self,
684        _req: google_cloud_longrunning::model::GetOperationRequest,
685        _options: crate::RequestOptions,
686    ) -> impl std::future::Future<
687        Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
688    > + Send {
689        gaxi::unimplemented::unimplemented_stub()
690    }
691
692    /// Implements [super::client::SecureSourceManager::delete_operation].
693    fn delete_operation(
694        &self,
695        _req: google_cloud_longrunning::model::DeleteOperationRequest,
696        _options: crate::RequestOptions,
697    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
698        gaxi::unimplemented::unimplemented_stub()
699    }
700
701    /// Implements [super::client::SecureSourceManager::cancel_operation].
702    fn cancel_operation(
703        &self,
704        _req: google_cloud_longrunning::model::CancelOperationRequest,
705        _options: crate::RequestOptions,
706    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
707        gaxi::unimplemented::unimplemented_stub()
708    }
709
710    /// Returns the polling error policy.
711    ///
712    /// When mocking, this method is typically irrelevant. Do not try to verify
713    /// it is called by your mocks.
714    fn get_polling_error_policy(
715        &self,
716        _options: &crate::RequestOptions,
717    ) -> std::sync::Arc<dyn google_cloud_gax::polling_error_policy::PollingErrorPolicy> {
718        std::sync::Arc::new(google_cloud_gax::polling_error_policy::Aip194Strict)
719    }
720
721    /// Returns the polling backoff policy.
722    ///
723    /// When mocking, this method is typically irrelevant. Do not try to verify
724    /// it is called by your mocks.
725    fn get_polling_backoff_policy(
726        &self,
727        _options: &crate::RequestOptions,
728    ) -> std::sync::Arc<dyn google_cloud_gax::polling_backoff_policy::PollingBackoffPolicy> {
729        std::sync::Arc::new(google_cloud_gax::exponential_backoff::ExponentialBackoff::default())
730    }
731}