1#![allow(rustdoc::broken_intra_doc_links)]
26
27pub(crate) mod dynamic;
28
29pub trait DeveloperConnect: std::fmt::Debug + Send + Sync {
41 fn list_connections(
43 &self,
44 _req: crate::model::ListConnectionsRequest,
45 _options: gax::options::RequestOptions,
46 ) -> impl std::future::Future<
47 Output = crate::Result<gax::response::Response<crate::model::ListConnectionsResponse>>,
48 > + Send {
49 gaxi::unimplemented::unimplemented_stub()
50 }
51
52 fn get_connection(
54 &self,
55 _req: crate::model::GetConnectionRequest,
56 _options: gax::options::RequestOptions,
57 ) -> impl std::future::Future<
58 Output = crate::Result<gax::response::Response<crate::model::Connection>>,
59 > + Send {
60 gaxi::unimplemented::unimplemented_stub()
61 }
62
63 fn create_connection(
65 &self,
66 _req: crate::model::CreateConnectionRequest,
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 update_connection(
76 &self,
77 _req: crate::model::UpdateConnectionRequest,
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 delete_connection(
87 &self,
88 _req: crate::model::DeleteConnectionRequest,
89 _options: gax::options::RequestOptions,
90 ) -> impl std::future::Future<
91 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
92 > + Send {
93 gaxi::unimplemented::unimplemented_stub()
94 }
95
96 fn create_git_repository_link(
98 &self,
99 _req: crate::model::CreateGitRepositoryLinkRequest,
100 _options: gax::options::RequestOptions,
101 ) -> impl std::future::Future<
102 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
103 > + Send {
104 gaxi::unimplemented::unimplemented_stub()
105 }
106
107 fn delete_git_repository_link(
109 &self,
110 _req: crate::model::DeleteGitRepositoryLinkRequest,
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 list_git_repository_links(
120 &self,
121 _req: crate::model::ListGitRepositoryLinksRequest,
122 _options: gax::options::RequestOptions,
123 ) -> impl std::future::Future<
124 Output = crate::Result<
125 gax::response::Response<crate::model::ListGitRepositoryLinksResponse>,
126 >,
127 > + Send {
128 gaxi::unimplemented::unimplemented_stub()
129 }
130
131 fn get_git_repository_link(
133 &self,
134 _req: crate::model::GetGitRepositoryLinkRequest,
135 _options: gax::options::RequestOptions,
136 ) -> impl std::future::Future<
137 Output = crate::Result<gax::response::Response<crate::model::GitRepositoryLink>>,
138 > + Send {
139 gaxi::unimplemented::unimplemented_stub()
140 }
141
142 fn fetch_read_write_token(
144 &self,
145 _req: crate::model::FetchReadWriteTokenRequest,
146 _options: gax::options::RequestOptions,
147 ) -> impl std::future::Future<
148 Output = crate::Result<gax::response::Response<crate::model::FetchReadWriteTokenResponse>>,
149 > + Send {
150 gaxi::unimplemented::unimplemented_stub()
151 }
152
153 fn fetch_read_token(
155 &self,
156 _req: crate::model::FetchReadTokenRequest,
157 _options: gax::options::RequestOptions,
158 ) -> impl std::future::Future<
159 Output = crate::Result<gax::response::Response<crate::model::FetchReadTokenResponse>>,
160 > + Send {
161 gaxi::unimplemented::unimplemented_stub()
162 }
163
164 fn fetch_linkable_git_repositories(
166 &self,
167 _req: crate::model::FetchLinkableGitRepositoriesRequest,
168 _options: gax::options::RequestOptions,
169 ) -> impl std::future::Future<
170 Output = crate::Result<
171 gax::response::Response<crate::model::FetchLinkableGitRepositoriesResponse>,
172 >,
173 > + Send {
174 gaxi::unimplemented::unimplemented_stub()
175 }
176
177 fn fetch_git_hub_installations(
179 &self,
180 _req: crate::model::FetchGitHubInstallationsRequest,
181 _options: gax::options::RequestOptions,
182 ) -> impl std::future::Future<
183 Output = crate::Result<
184 gax::response::Response<crate::model::FetchGitHubInstallationsResponse>,
185 >,
186 > + Send {
187 gaxi::unimplemented::unimplemented_stub()
188 }
189
190 fn fetch_git_refs(
192 &self,
193 _req: crate::model::FetchGitRefsRequest,
194 _options: gax::options::RequestOptions,
195 ) -> impl std::future::Future<
196 Output = crate::Result<gax::response::Response<crate::model::FetchGitRefsResponse>>,
197 > + Send {
198 gaxi::unimplemented::unimplemented_stub()
199 }
200
201 fn list_account_connectors(
203 &self,
204 _req: crate::model::ListAccountConnectorsRequest,
205 _options: gax::options::RequestOptions,
206 ) -> impl std::future::Future<
207 Output = crate::Result<
208 gax::response::Response<crate::model::ListAccountConnectorsResponse>,
209 >,
210 > + Send {
211 gaxi::unimplemented::unimplemented_stub()
212 }
213
214 fn get_account_connector(
216 &self,
217 _req: crate::model::GetAccountConnectorRequest,
218 _options: gax::options::RequestOptions,
219 ) -> impl std::future::Future<
220 Output = crate::Result<gax::response::Response<crate::model::AccountConnector>>,
221 > + Send {
222 gaxi::unimplemented::unimplemented_stub()
223 }
224
225 fn create_account_connector(
227 &self,
228 _req: crate::model::CreateAccountConnectorRequest,
229 _options: gax::options::RequestOptions,
230 ) -> impl std::future::Future<
231 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
232 > + Send {
233 gaxi::unimplemented::unimplemented_stub()
234 }
235
236 fn update_account_connector(
238 &self,
239 _req: crate::model::UpdateAccountConnectorRequest,
240 _options: gax::options::RequestOptions,
241 ) -> impl std::future::Future<
242 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
243 > + Send {
244 gaxi::unimplemented::unimplemented_stub()
245 }
246
247 fn delete_account_connector(
249 &self,
250 _req: crate::model::DeleteAccountConnectorRequest,
251 _options: gax::options::RequestOptions,
252 ) -> impl std::future::Future<
253 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
254 > + Send {
255 gaxi::unimplemented::unimplemented_stub()
256 }
257
258 fn fetch_access_token(
260 &self,
261 _req: crate::model::FetchAccessTokenRequest,
262 _options: gax::options::RequestOptions,
263 ) -> impl std::future::Future<
264 Output = crate::Result<gax::response::Response<crate::model::FetchAccessTokenResponse>>,
265 > + Send {
266 gaxi::unimplemented::unimplemented_stub()
267 }
268
269 fn list_users(
271 &self,
272 _req: crate::model::ListUsersRequest,
273 _options: gax::options::RequestOptions,
274 ) -> impl std::future::Future<
275 Output = crate::Result<gax::response::Response<crate::model::ListUsersResponse>>,
276 > + Send {
277 gaxi::unimplemented::unimplemented_stub()
278 }
279
280 fn delete_user(
282 &self,
283 _req: crate::model::DeleteUserRequest,
284 _options: gax::options::RequestOptions,
285 ) -> impl std::future::Future<
286 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
287 > + Send {
288 gaxi::unimplemented::unimplemented_stub()
289 }
290
291 fn fetch_self(
293 &self,
294 _req: crate::model::FetchSelfRequest,
295 _options: gax::options::RequestOptions,
296 ) -> impl std::future::Future<
297 Output = crate::Result<gax::response::Response<crate::model::User>>,
298 > + Send {
299 gaxi::unimplemented::unimplemented_stub()
300 }
301
302 fn delete_self(
304 &self,
305 _req: crate::model::DeleteSelfRequest,
306 _options: gax::options::RequestOptions,
307 ) -> impl std::future::Future<
308 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
309 > + Send {
310 gaxi::unimplemented::unimplemented_stub()
311 }
312
313 fn list_locations(
315 &self,
316 _req: location::model::ListLocationsRequest,
317 _options: gax::options::RequestOptions,
318 ) -> impl std::future::Future<
319 Output = crate::Result<gax::response::Response<location::model::ListLocationsResponse>>,
320 > + Send {
321 gaxi::unimplemented::unimplemented_stub()
322 }
323
324 fn get_location(
326 &self,
327 _req: location::model::GetLocationRequest,
328 _options: gax::options::RequestOptions,
329 ) -> impl std::future::Future<
330 Output = crate::Result<gax::response::Response<location::model::Location>>,
331 > + Send {
332 gaxi::unimplemented::unimplemented_stub()
333 }
334
335 fn list_operations(
337 &self,
338 _req: longrunning::model::ListOperationsRequest,
339 _options: gax::options::RequestOptions,
340 ) -> impl std::future::Future<
341 Output = crate::Result<gax::response::Response<longrunning::model::ListOperationsResponse>>,
342 > + Send {
343 gaxi::unimplemented::unimplemented_stub()
344 }
345
346 fn get_operation(
348 &self,
349 _req: longrunning::model::GetOperationRequest,
350 _options: gax::options::RequestOptions,
351 ) -> impl std::future::Future<
352 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
353 > + Send {
354 gaxi::unimplemented::unimplemented_stub()
355 }
356
357 fn delete_operation(
359 &self,
360 _req: longrunning::model::DeleteOperationRequest,
361 _options: gax::options::RequestOptions,
362 ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
363 gaxi::unimplemented::unimplemented_stub()
364 }
365
366 fn cancel_operation(
368 &self,
369 _req: longrunning::model::CancelOperationRequest,
370 _options: gax::options::RequestOptions,
371 ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
372 gaxi::unimplemented::unimplemented_stub()
373 }
374
375 fn get_polling_error_policy(
380 &self,
381 _options: &gax::options::RequestOptions,
382 ) -> std::sync::Arc<dyn gax::polling_error_policy::PollingErrorPolicy> {
383 std::sync::Arc::new(gax::polling_error_policy::Aip194Strict)
384 }
385
386 fn get_polling_backoff_policy(
391 &self,
392 _options: &gax::options::RequestOptions,
393 ) -> std::sync::Arc<dyn gax::polling_backoff_policy::PollingBackoffPolicy> {
394 std::sync::Arc::new(gax::exponential_backoff::ExponentialBackoff::default())
395 }
396}
397
398pub trait InsightsConfigService: std::fmt::Debug + Send + Sync {
410 fn list_insights_configs(
412 &self,
413 _req: crate::model::ListInsightsConfigsRequest,
414 _options: gax::options::RequestOptions,
415 ) -> impl std::future::Future<
416 Output = crate::Result<gax::response::Response<crate::model::ListInsightsConfigsResponse>>,
417 > + Send {
418 gaxi::unimplemented::unimplemented_stub()
419 }
420
421 fn create_insights_config(
423 &self,
424 _req: crate::model::CreateInsightsConfigRequest,
425 _options: gax::options::RequestOptions,
426 ) -> impl std::future::Future<
427 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
428 > + Send {
429 gaxi::unimplemented::unimplemented_stub()
430 }
431
432 fn get_insights_config(
434 &self,
435 _req: crate::model::GetInsightsConfigRequest,
436 _options: gax::options::RequestOptions,
437 ) -> impl std::future::Future<
438 Output = crate::Result<gax::response::Response<crate::model::InsightsConfig>>,
439 > + Send {
440 gaxi::unimplemented::unimplemented_stub()
441 }
442
443 fn update_insights_config(
445 &self,
446 _req: crate::model::UpdateInsightsConfigRequest,
447 _options: gax::options::RequestOptions,
448 ) -> impl std::future::Future<
449 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
450 > + Send {
451 gaxi::unimplemented::unimplemented_stub()
452 }
453
454 fn delete_insights_config(
456 &self,
457 _req: crate::model::DeleteInsightsConfigRequest,
458 _options: gax::options::RequestOptions,
459 ) -> impl std::future::Future<
460 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
461 > + Send {
462 gaxi::unimplemented::unimplemented_stub()
463 }
464
465 fn list_locations(
467 &self,
468 _req: location::model::ListLocationsRequest,
469 _options: gax::options::RequestOptions,
470 ) -> impl std::future::Future<
471 Output = crate::Result<gax::response::Response<location::model::ListLocationsResponse>>,
472 > + Send {
473 gaxi::unimplemented::unimplemented_stub()
474 }
475
476 fn get_location(
478 &self,
479 _req: location::model::GetLocationRequest,
480 _options: gax::options::RequestOptions,
481 ) -> impl std::future::Future<
482 Output = crate::Result<gax::response::Response<location::model::Location>>,
483 > + Send {
484 gaxi::unimplemented::unimplemented_stub()
485 }
486
487 fn list_operations(
489 &self,
490 _req: longrunning::model::ListOperationsRequest,
491 _options: gax::options::RequestOptions,
492 ) -> impl std::future::Future<
493 Output = crate::Result<gax::response::Response<longrunning::model::ListOperationsResponse>>,
494 > + Send {
495 gaxi::unimplemented::unimplemented_stub()
496 }
497
498 fn get_operation(
500 &self,
501 _req: longrunning::model::GetOperationRequest,
502 _options: gax::options::RequestOptions,
503 ) -> impl std::future::Future<
504 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
505 > + Send {
506 gaxi::unimplemented::unimplemented_stub()
507 }
508
509 fn delete_operation(
511 &self,
512 _req: longrunning::model::DeleteOperationRequest,
513 _options: gax::options::RequestOptions,
514 ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
515 gaxi::unimplemented::unimplemented_stub()
516 }
517
518 fn cancel_operation(
520 &self,
521 _req: longrunning::model::CancelOperationRequest,
522 _options: gax::options::RequestOptions,
523 ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
524 gaxi::unimplemented::unimplemented_stub()
525 }
526
527 fn get_polling_error_policy(
532 &self,
533 _options: &gax::options::RequestOptions,
534 ) -> std::sync::Arc<dyn gax::polling_error_policy::PollingErrorPolicy> {
535 std::sync::Arc::new(gax::polling_error_policy::Aip194Strict)
536 }
537
538 fn get_polling_backoff_policy(
543 &self,
544 _options: &gax::options::RequestOptions,
545 ) -> std::sync::Arc<dyn gax::polling_backoff_policy::PollingBackoffPolicy> {
546 std::sync::Arc::new(gax::exponential_backoff::ExponentialBackoff::default())
547 }
548}