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