1#![allow(rustdoc::broken_intra_doc_links)]
26
27pub(crate) mod dynamic;
28
29pub trait BareMetalSolution: 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 update_instance(
65 &self,
66 _req: crate::model::UpdateInstanceRequest,
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 rename_instance(
76 &self,
77 _req: crate::model::RenameInstanceRequest,
78 _options: gax::options::RequestOptions,
79 ) -> impl std::future::Future<
80 Output = crate::Result<gax::response::Response<crate::model::Instance>>,
81 > + Send {
82 gaxi::unimplemented::unimplemented_stub()
83 }
84
85 fn reset_instance(
87 &self,
88 _req: crate::model::ResetInstanceRequest,
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 start_instance(
98 &self,
99 _req: crate::model::StartInstanceRequest,
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 stop_instance(
109 &self,
110 _req: crate::model::StopInstanceRequest,
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 enable_interactive_serial_console(
120 &self,
121 _req: crate::model::EnableInteractiveSerialConsoleRequest,
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 disable_interactive_serial_console(
131 &self,
132 _req: crate::model::DisableInteractiveSerialConsoleRequest,
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 detach_lun(
142 &self,
143 _req: crate::model::DetachLunRequest,
144 _options: gax::options::RequestOptions,
145 ) -> impl std::future::Future<
146 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
147 > + Send {
148 gaxi::unimplemented::unimplemented_stub()
149 }
150
151 fn list_ssh_keys(
153 &self,
154 _req: crate::model::ListSSHKeysRequest,
155 _options: gax::options::RequestOptions,
156 ) -> impl std::future::Future<
157 Output = crate::Result<gax::response::Response<crate::model::ListSSHKeysResponse>>,
158 > + Send {
159 gaxi::unimplemented::unimplemented_stub()
160 }
161
162 fn create_ssh_key(
164 &self,
165 _req: crate::model::CreateSSHKeyRequest,
166 _options: gax::options::RequestOptions,
167 ) -> impl std::future::Future<
168 Output = crate::Result<gax::response::Response<crate::model::SSHKey>>,
169 > + Send {
170 gaxi::unimplemented::unimplemented_stub()
171 }
172
173 fn delete_ssh_key(
175 &self,
176 _req: crate::model::DeleteSSHKeyRequest,
177 _options: gax::options::RequestOptions,
178 ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
179 gaxi::unimplemented::unimplemented_stub()
180 }
181
182 fn list_volumes(
184 &self,
185 _req: crate::model::ListVolumesRequest,
186 _options: gax::options::RequestOptions,
187 ) -> impl std::future::Future<
188 Output = crate::Result<gax::response::Response<crate::model::ListVolumesResponse>>,
189 > + Send {
190 gaxi::unimplemented::unimplemented_stub()
191 }
192
193 fn get_volume(
195 &self,
196 _req: crate::model::GetVolumeRequest,
197 _options: gax::options::RequestOptions,
198 ) -> impl std::future::Future<
199 Output = crate::Result<gax::response::Response<crate::model::Volume>>,
200 > + Send {
201 gaxi::unimplemented::unimplemented_stub()
202 }
203
204 fn update_volume(
206 &self,
207 _req: crate::model::UpdateVolumeRequest,
208 _options: gax::options::RequestOptions,
209 ) -> impl std::future::Future<
210 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
211 > + Send {
212 gaxi::unimplemented::unimplemented_stub()
213 }
214
215 fn rename_volume(
217 &self,
218 _req: crate::model::RenameVolumeRequest,
219 _options: gax::options::RequestOptions,
220 ) -> impl std::future::Future<
221 Output = crate::Result<gax::response::Response<crate::model::Volume>>,
222 > + Send {
223 gaxi::unimplemented::unimplemented_stub()
224 }
225
226 fn evict_volume(
228 &self,
229 _req: crate::model::EvictVolumeRequest,
230 _options: gax::options::RequestOptions,
231 ) -> impl std::future::Future<
232 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
233 > + Send {
234 gaxi::unimplemented::unimplemented_stub()
235 }
236
237 fn resize_volume(
239 &self,
240 _req: crate::model::ResizeVolumeRequest,
241 _options: gax::options::RequestOptions,
242 ) -> impl std::future::Future<
243 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
244 > + Send {
245 gaxi::unimplemented::unimplemented_stub()
246 }
247
248 fn list_networks(
250 &self,
251 _req: crate::model::ListNetworksRequest,
252 _options: gax::options::RequestOptions,
253 ) -> impl std::future::Future<
254 Output = crate::Result<gax::response::Response<crate::model::ListNetworksResponse>>,
255 > + Send {
256 gaxi::unimplemented::unimplemented_stub()
257 }
258
259 fn list_network_usage(
261 &self,
262 _req: crate::model::ListNetworkUsageRequest,
263 _options: gax::options::RequestOptions,
264 ) -> impl std::future::Future<
265 Output = crate::Result<gax::response::Response<crate::model::ListNetworkUsageResponse>>,
266 > + Send {
267 gaxi::unimplemented::unimplemented_stub()
268 }
269
270 fn get_network(
272 &self,
273 _req: crate::model::GetNetworkRequest,
274 _options: gax::options::RequestOptions,
275 ) -> impl std::future::Future<
276 Output = crate::Result<gax::response::Response<crate::model::Network>>,
277 > + Send {
278 gaxi::unimplemented::unimplemented_stub()
279 }
280
281 fn update_network(
283 &self,
284 _req: crate::model::UpdateNetworkRequest,
285 _options: gax::options::RequestOptions,
286 ) -> impl std::future::Future<
287 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
288 > + Send {
289 gaxi::unimplemented::unimplemented_stub()
290 }
291
292 fn create_volume_snapshot(
294 &self,
295 _req: crate::model::CreateVolumeSnapshotRequest,
296 _options: gax::options::RequestOptions,
297 ) -> impl std::future::Future<
298 Output = crate::Result<gax::response::Response<crate::model::VolumeSnapshot>>,
299 > + Send {
300 gaxi::unimplemented::unimplemented_stub()
301 }
302
303 fn restore_volume_snapshot(
305 &self,
306 _req: crate::model::RestoreVolumeSnapshotRequest,
307 _options: gax::options::RequestOptions,
308 ) -> impl std::future::Future<
309 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
310 > + Send {
311 gaxi::unimplemented::unimplemented_stub()
312 }
313
314 fn delete_volume_snapshot(
316 &self,
317 _req: crate::model::DeleteVolumeSnapshotRequest,
318 _options: gax::options::RequestOptions,
319 ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
320 gaxi::unimplemented::unimplemented_stub()
321 }
322
323 fn get_volume_snapshot(
325 &self,
326 _req: crate::model::GetVolumeSnapshotRequest,
327 _options: gax::options::RequestOptions,
328 ) -> impl std::future::Future<
329 Output = crate::Result<gax::response::Response<crate::model::VolumeSnapshot>>,
330 > + Send {
331 gaxi::unimplemented::unimplemented_stub()
332 }
333
334 fn list_volume_snapshots(
336 &self,
337 _req: crate::model::ListVolumeSnapshotsRequest,
338 _options: gax::options::RequestOptions,
339 ) -> impl std::future::Future<
340 Output = crate::Result<gax::response::Response<crate::model::ListVolumeSnapshotsResponse>>,
341 > + Send {
342 gaxi::unimplemented::unimplemented_stub()
343 }
344
345 fn get_lun(
347 &self,
348 _req: crate::model::GetLunRequest,
349 _options: gax::options::RequestOptions,
350 ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<crate::model::Lun>>>
351 + Send {
352 gaxi::unimplemented::unimplemented_stub()
353 }
354
355 fn list_luns(
357 &self,
358 _req: crate::model::ListLunsRequest,
359 _options: gax::options::RequestOptions,
360 ) -> impl std::future::Future<
361 Output = crate::Result<gax::response::Response<crate::model::ListLunsResponse>>,
362 > + Send {
363 gaxi::unimplemented::unimplemented_stub()
364 }
365
366 fn evict_lun(
368 &self,
369 _req: crate::model::EvictLunRequest,
370 _options: gax::options::RequestOptions,
371 ) -> impl std::future::Future<
372 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
373 > + Send {
374 gaxi::unimplemented::unimplemented_stub()
375 }
376
377 fn get_nfs_share(
379 &self,
380 _req: crate::model::GetNfsShareRequest,
381 _options: gax::options::RequestOptions,
382 ) -> impl std::future::Future<
383 Output = crate::Result<gax::response::Response<crate::model::NfsShare>>,
384 > + Send {
385 gaxi::unimplemented::unimplemented_stub()
386 }
387
388 fn list_nfs_shares(
390 &self,
391 _req: crate::model::ListNfsSharesRequest,
392 _options: gax::options::RequestOptions,
393 ) -> impl std::future::Future<
394 Output = crate::Result<gax::response::Response<crate::model::ListNfsSharesResponse>>,
395 > + Send {
396 gaxi::unimplemented::unimplemented_stub()
397 }
398
399 fn update_nfs_share(
401 &self,
402 _req: crate::model::UpdateNfsShareRequest,
403 _options: gax::options::RequestOptions,
404 ) -> impl std::future::Future<
405 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
406 > + Send {
407 gaxi::unimplemented::unimplemented_stub()
408 }
409
410 fn create_nfs_share(
412 &self,
413 _req: crate::model::CreateNfsShareRequest,
414 _options: gax::options::RequestOptions,
415 ) -> impl std::future::Future<
416 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
417 > + Send {
418 gaxi::unimplemented::unimplemented_stub()
419 }
420
421 fn rename_nfs_share(
423 &self,
424 _req: crate::model::RenameNfsShareRequest,
425 _options: gax::options::RequestOptions,
426 ) -> impl std::future::Future<
427 Output = crate::Result<gax::response::Response<crate::model::NfsShare>>,
428 > + Send {
429 gaxi::unimplemented::unimplemented_stub()
430 }
431
432 fn delete_nfs_share(
434 &self,
435 _req: crate::model::DeleteNfsShareRequest,
436 _options: gax::options::RequestOptions,
437 ) -> impl std::future::Future<
438 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
439 > + Send {
440 gaxi::unimplemented::unimplemented_stub()
441 }
442
443 fn list_provisioning_quotas(
445 &self,
446 _req: crate::model::ListProvisioningQuotasRequest,
447 _options: gax::options::RequestOptions,
448 ) -> impl std::future::Future<
449 Output = crate::Result<
450 gax::response::Response<crate::model::ListProvisioningQuotasResponse>,
451 >,
452 > + Send {
453 gaxi::unimplemented::unimplemented_stub()
454 }
455
456 fn submit_provisioning_config(
458 &self,
459 _req: crate::model::SubmitProvisioningConfigRequest,
460 _options: gax::options::RequestOptions,
461 ) -> impl std::future::Future<
462 Output = crate::Result<
463 gax::response::Response<crate::model::SubmitProvisioningConfigResponse>,
464 >,
465 > + Send {
466 gaxi::unimplemented::unimplemented_stub()
467 }
468
469 fn get_provisioning_config(
471 &self,
472 _req: crate::model::GetProvisioningConfigRequest,
473 _options: gax::options::RequestOptions,
474 ) -> impl std::future::Future<
475 Output = crate::Result<gax::response::Response<crate::model::ProvisioningConfig>>,
476 > + Send {
477 gaxi::unimplemented::unimplemented_stub()
478 }
479
480 fn create_provisioning_config(
482 &self,
483 _req: crate::model::CreateProvisioningConfigRequest,
484 _options: gax::options::RequestOptions,
485 ) -> impl std::future::Future<
486 Output = crate::Result<gax::response::Response<crate::model::ProvisioningConfig>>,
487 > + Send {
488 gaxi::unimplemented::unimplemented_stub()
489 }
490
491 fn update_provisioning_config(
493 &self,
494 _req: crate::model::UpdateProvisioningConfigRequest,
495 _options: gax::options::RequestOptions,
496 ) -> impl std::future::Future<
497 Output = crate::Result<gax::response::Response<crate::model::ProvisioningConfig>>,
498 > + Send {
499 gaxi::unimplemented::unimplemented_stub()
500 }
501
502 fn rename_network(
504 &self,
505 _req: crate::model::RenameNetworkRequest,
506 _options: gax::options::RequestOptions,
507 ) -> impl std::future::Future<
508 Output = crate::Result<gax::response::Response<crate::model::Network>>,
509 > + Send {
510 gaxi::unimplemented::unimplemented_stub()
511 }
512
513 fn list_os_images(
515 &self,
516 _req: crate::model::ListOSImagesRequest,
517 _options: gax::options::RequestOptions,
518 ) -> impl std::future::Future<
519 Output = crate::Result<gax::response::Response<crate::model::ListOSImagesResponse>>,
520 > + Send {
521 gaxi::unimplemented::unimplemented_stub()
522 }
523
524 fn list_locations(
526 &self,
527 _req: location::model::ListLocationsRequest,
528 _options: gax::options::RequestOptions,
529 ) -> impl std::future::Future<
530 Output = crate::Result<gax::response::Response<location::model::ListLocationsResponse>>,
531 > + Send {
532 gaxi::unimplemented::unimplemented_stub()
533 }
534
535 fn get_location(
537 &self,
538 _req: location::model::GetLocationRequest,
539 _options: gax::options::RequestOptions,
540 ) -> impl std::future::Future<
541 Output = crate::Result<gax::response::Response<location::model::Location>>,
542 > + Send {
543 gaxi::unimplemented::unimplemented_stub()
544 }
545
546 fn get_operation(
548 &self,
549 _req: longrunning::model::GetOperationRequest,
550 _options: gax::options::RequestOptions,
551 ) -> impl std::future::Future<
552 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
553 > + Send {
554 gaxi::unimplemented::unimplemented_stub()
555 }
556
557 fn get_polling_error_policy(
562 &self,
563 _options: &gax::options::RequestOptions,
564 ) -> std::sync::Arc<dyn gax::polling_error_policy::PollingErrorPolicy> {
565 std::sync::Arc::new(gax::polling_error_policy::Aip194Strict)
566 }
567
568 fn get_polling_backoff_policy(
573 &self,
574 _options: &gax::options::RequestOptions,
575 ) -> std::sync::Arc<dyn gax::polling_backoff_policy::PollingBackoffPolicy> {
576 std::sync::Arc::new(gax::exponential_backoff::ExponentialBackoff::default())
577 }
578}