Skip to main content

google_cloud_sql_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::SqlBackupRunsService].
30///
31/// Application developers may need to implement this trait to mock
32/// `client::SqlBackupRunsService`.  In other use-cases, application developers only
33/// use `client::SqlBackupRunsService` 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 SqlBackupRunsService: std::fmt::Debug + Send + Sync {
41    /// Implements [super::client::SqlBackupRunsService::delete].
42    fn delete(
43        &self,
44        _req: crate::model::SqlBackupRunsDeleteRequest,
45        _options: crate::RequestOptions,
46    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Operation>>> + Send
47    {
48        gaxi::unimplemented::unimplemented_stub()
49    }
50
51    /// Implements [super::client::SqlBackupRunsService::get].
52    fn get(
53        &self,
54        _req: crate::model::SqlBackupRunsGetRequest,
55        _options: crate::RequestOptions,
56    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::BackupRun>>> + Send
57    {
58        gaxi::unimplemented::unimplemented_stub()
59    }
60
61    /// Implements [super::client::SqlBackupRunsService::insert].
62    fn insert(
63        &self,
64        _req: crate::model::SqlBackupRunsInsertRequest,
65        _options: crate::RequestOptions,
66    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Operation>>> + Send
67    {
68        gaxi::unimplemented::unimplemented_stub()
69    }
70
71    /// Implements [super::client::SqlBackupRunsService::list].
72    fn list(
73        &self,
74        _req: crate::model::SqlBackupRunsListRequest,
75        _options: crate::RequestOptions,
76    ) -> impl std::future::Future<
77        Output = crate::Result<crate::Response<crate::model::BackupRunsListResponse>>,
78    > + Send {
79        gaxi::unimplemented::unimplemented_stub()
80    }
81}
82
83/// Defines the trait used to implement [super::client::SqlBackupsService].
84///
85/// Application developers may need to implement this trait to mock
86/// `client::SqlBackupsService`.  In other use-cases, application developers only
87/// use `client::SqlBackupsService` and need not be concerned with this trait or
88/// its implementations.
89///
90/// Services gain new RPCs routinely. Consequently, this trait gains new methods
91/// too. To avoid breaking applications the trait provides a default
92/// implementation of each method. Most of these implementations just return an
93/// error.
94pub trait SqlBackupsService: std::fmt::Debug + Send + Sync {
95    /// Implements [super::client::SqlBackupsService::create_backup].
96    fn create_backup(
97        &self,
98        _req: crate::model::CreateBackupRequest,
99        _options: crate::RequestOptions,
100    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Operation>>> + Send
101    {
102        gaxi::unimplemented::unimplemented_stub()
103    }
104
105    /// Implements [super::client::SqlBackupsService::get_backup].
106    fn get_backup(
107        &self,
108        _req: crate::model::GetBackupRequest,
109        _options: crate::RequestOptions,
110    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Backup>>> + Send
111    {
112        gaxi::unimplemented::unimplemented_stub()
113    }
114
115    /// Implements [super::client::SqlBackupsService::list_backups].
116    fn list_backups(
117        &self,
118        _req: crate::model::ListBackupsRequest,
119        _options: crate::RequestOptions,
120    ) -> impl std::future::Future<
121        Output = crate::Result<crate::Response<crate::model::ListBackupsResponse>>,
122    > + Send {
123        gaxi::unimplemented::unimplemented_stub()
124    }
125
126    /// Implements [super::client::SqlBackupsService::update_backup].
127    fn update_backup(
128        &self,
129        _req: crate::model::UpdateBackupRequest,
130        _options: crate::RequestOptions,
131    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Operation>>> + Send
132    {
133        gaxi::unimplemented::unimplemented_stub()
134    }
135
136    /// Implements [super::client::SqlBackupsService::delete_backup].
137    fn delete_backup(
138        &self,
139        _req: crate::model::DeleteBackupRequest,
140        _options: crate::RequestOptions,
141    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Operation>>> + Send
142    {
143        gaxi::unimplemented::unimplemented_stub()
144    }
145}
146
147/// Defines the trait used to implement [super::client::SqlConnectService].
148///
149/// Application developers may need to implement this trait to mock
150/// `client::SqlConnectService`.  In other use-cases, application developers only
151/// use `client::SqlConnectService` and need not be concerned with this trait or
152/// its implementations.
153///
154/// Services gain new RPCs routinely. Consequently, this trait gains new methods
155/// too. To avoid breaking applications the trait provides a default
156/// implementation of each method. Most of these implementations just return an
157/// error.
158pub trait SqlConnectService: std::fmt::Debug + Send + Sync {
159    /// Implements [super::client::SqlConnectService::get_connect_settings].
160    fn get_connect_settings(
161        &self,
162        _req: crate::model::GetConnectSettingsRequest,
163        _options: crate::RequestOptions,
164    ) -> impl std::future::Future<
165        Output = crate::Result<crate::Response<crate::model::ConnectSettings>>,
166    > + Send {
167        gaxi::unimplemented::unimplemented_stub()
168    }
169
170    /// Implements [super::client::SqlConnectService::generate_ephemeral_cert].
171    fn generate_ephemeral_cert(
172        &self,
173        _req: crate::model::GenerateEphemeralCertRequest,
174        _options: crate::RequestOptions,
175    ) -> impl std::future::Future<
176        Output = crate::Result<crate::Response<crate::model::GenerateEphemeralCertResponse>>,
177    > + Send {
178        gaxi::unimplemented::unimplemented_stub()
179    }
180}
181
182/// Defines the trait used to implement [super::client::SqlDatabasesService].
183///
184/// Application developers may need to implement this trait to mock
185/// `client::SqlDatabasesService`.  In other use-cases, application developers only
186/// use `client::SqlDatabasesService` and need not be concerned with this trait or
187/// its implementations.
188///
189/// Services gain new RPCs routinely. Consequently, this trait gains new methods
190/// too. To avoid breaking applications the trait provides a default
191/// implementation of each method. Most of these implementations just return an
192/// error.
193pub trait SqlDatabasesService: std::fmt::Debug + Send + Sync {
194    /// Implements [super::client::SqlDatabasesService::delete].
195    fn delete(
196        &self,
197        _req: crate::model::SqlDatabasesDeleteRequest,
198        _options: crate::RequestOptions,
199    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Operation>>> + Send
200    {
201        gaxi::unimplemented::unimplemented_stub()
202    }
203
204    /// Implements [super::client::SqlDatabasesService::get].
205    fn get(
206        &self,
207        _req: crate::model::SqlDatabasesGetRequest,
208        _options: crate::RequestOptions,
209    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Database>>> + Send
210    {
211        gaxi::unimplemented::unimplemented_stub()
212    }
213
214    /// Implements [super::client::SqlDatabasesService::insert].
215    fn insert(
216        &self,
217        _req: crate::model::SqlDatabasesInsertRequest,
218        _options: crate::RequestOptions,
219    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Operation>>> + Send
220    {
221        gaxi::unimplemented::unimplemented_stub()
222    }
223
224    /// Implements [super::client::SqlDatabasesService::list].
225    fn list(
226        &self,
227        _req: crate::model::SqlDatabasesListRequest,
228        _options: crate::RequestOptions,
229    ) -> impl std::future::Future<
230        Output = crate::Result<crate::Response<crate::model::DatabasesListResponse>>,
231    > + Send {
232        gaxi::unimplemented::unimplemented_stub()
233    }
234
235    /// Implements [super::client::SqlDatabasesService::patch].
236    fn patch(
237        &self,
238        _req: crate::model::SqlDatabasesUpdateRequest,
239        _options: crate::RequestOptions,
240    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Operation>>> + Send
241    {
242        gaxi::unimplemented::unimplemented_stub()
243    }
244
245    /// Implements [super::client::SqlDatabasesService::update].
246    fn update(
247        &self,
248        _req: crate::model::SqlDatabasesUpdateRequest,
249        _options: crate::RequestOptions,
250    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Operation>>> + Send
251    {
252        gaxi::unimplemented::unimplemented_stub()
253    }
254}
255
256/// Defines the trait used to implement [super::client::SqlFlagsService].
257///
258/// Application developers may need to implement this trait to mock
259/// `client::SqlFlagsService`.  In other use-cases, application developers only
260/// use `client::SqlFlagsService` and need not be concerned with this trait or
261/// its implementations.
262///
263/// Services gain new RPCs routinely. Consequently, this trait gains new methods
264/// too. To avoid breaking applications the trait provides a default
265/// implementation of each method. Most of these implementations just return an
266/// error.
267pub trait SqlFlagsService: std::fmt::Debug + Send + Sync {
268    /// Implements [super::client::SqlFlagsService::list].
269    fn list(
270        &self,
271        _req: crate::model::SqlFlagsListRequest,
272        _options: crate::RequestOptions,
273    ) -> impl std::future::Future<
274        Output = crate::Result<crate::Response<crate::model::FlagsListResponse>>,
275    > + Send {
276        gaxi::unimplemented::unimplemented_stub()
277    }
278}
279
280/// Defines the trait used to implement [super::client::SqlInstancesService].
281///
282/// Application developers may need to implement this trait to mock
283/// `client::SqlInstancesService`.  In other use-cases, application developers only
284/// use `client::SqlInstancesService` and need not be concerned with this trait or
285/// its implementations.
286///
287/// Services gain new RPCs routinely. Consequently, this trait gains new methods
288/// too. To avoid breaking applications the trait provides a default
289/// implementation of each method. Most of these implementations just return an
290/// error.
291pub trait SqlInstancesService: std::fmt::Debug + Send + Sync {
292    /// Implements [super::client::SqlInstancesService::add_server_ca].
293    fn add_server_ca(
294        &self,
295        _req: crate::model::SqlInstancesAddServerCaRequest,
296        _options: crate::RequestOptions,
297    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Operation>>> + Send
298    {
299        gaxi::unimplemented::unimplemented_stub()
300    }
301
302    /// Implements [super::client::SqlInstancesService::add_server_certificate].
303    fn add_server_certificate(
304        &self,
305        _req: crate::model::SqlInstancesAddServerCertificateRequest,
306        _options: crate::RequestOptions,
307    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Operation>>> + Send
308    {
309        gaxi::unimplemented::unimplemented_stub()
310    }
311
312    /// Implements [super::client::SqlInstancesService::add_entra_id_certificate].
313    fn add_entra_id_certificate(
314        &self,
315        _req: crate::model::SqlInstancesAddEntraIdCertificateRequest,
316        _options: crate::RequestOptions,
317    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Operation>>> + Send
318    {
319        gaxi::unimplemented::unimplemented_stub()
320    }
321
322    /// Implements [super::client::SqlInstancesService::clone].
323    fn clone(
324        &self,
325        _req: crate::model::SqlInstancesCloneRequest,
326        _options: crate::RequestOptions,
327    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Operation>>> + Send
328    {
329        gaxi::unimplemented::unimplemented_stub()
330    }
331
332    /// Implements [super::client::SqlInstancesService::delete].
333    fn delete(
334        &self,
335        _req: crate::model::SqlInstancesDeleteRequest,
336        _options: crate::RequestOptions,
337    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Operation>>> + Send
338    {
339        gaxi::unimplemented::unimplemented_stub()
340    }
341
342    /// Implements [super::client::SqlInstancesService::demote_master].
343    fn demote_master(
344        &self,
345        _req: crate::model::SqlInstancesDemoteMasterRequest,
346        _options: crate::RequestOptions,
347    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Operation>>> + Send
348    {
349        gaxi::unimplemented::unimplemented_stub()
350    }
351
352    /// Implements [super::client::SqlInstancesService::demote].
353    fn demote(
354        &self,
355        _req: crate::model::SqlInstancesDemoteRequest,
356        _options: crate::RequestOptions,
357    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Operation>>> + Send
358    {
359        gaxi::unimplemented::unimplemented_stub()
360    }
361
362    /// Implements [super::client::SqlInstancesService::export].
363    fn export(
364        &self,
365        _req: crate::model::SqlInstancesExportRequest,
366        _options: crate::RequestOptions,
367    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Operation>>> + Send
368    {
369        gaxi::unimplemented::unimplemented_stub()
370    }
371
372    /// Implements [super::client::SqlInstancesService::failover].
373    fn failover(
374        &self,
375        _req: crate::model::SqlInstancesFailoverRequest,
376        _options: crate::RequestOptions,
377    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Operation>>> + Send
378    {
379        gaxi::unimplemented::unimplemented_stub()
380    }
381
382    /// Implements [super::client::SqlInstancesService::reencrypt].
383    fn reencrypt(
384        &self,
385        _req: crate::model::SqlInstancesReencryptRequest,
386        _options: crate::RequestOptions,
387    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Operation>>> + Send
388    {
389        gaxi::unimplemented::unimplemented_stub()
390    }
391
392    /// Implements [super::client::SqlInstancesService::get].
393    fn get(
394        &self,
395        _req: crate::model::SqlInstancesGetRequest,
396        _options: crate::RequestOptions,
397    ) -> impl std::future::Future<
398        Output = crate::Result<crate::Response<crate::model::DatabaseInstance>>,
399    > + Send {
400        gaxi::unimplemented::unimplemented_stub()
401    }
402
403    /// Implements [super::client::SqlInstancesService::import].
404    fn import(
405        &self,
406        _req: crate::model::SqlInstancesImportRequest,
407        _options: crate::RequestOptions,
408    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Operation>>> + Send
409    {
410        gaxi::unimplemented::unimplemented_stub()
411    }
412
413    /// Implements [super::client::SqlInstancesService::insert].
414    fn insert(
415        &self,
416        _req: crate::model::SqlInstancesInsertRequest,
417        _options: crate::RequestOptions,
418    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Operation>>> + Send
419    {
420        gaxi::unimplemented::unimplemented_stub()
421    }
422
423    /// Implements [super::client::SqlInstancesService::list].
424    fn list(
425        &self,
426        _req: crate::model::SqlInstancesListRequest,
427        _options: crate::RequestOptions,
428    ) -> impl std::future::Future<
429        Output = crate::Result<crate::Response<crate::model::InstancesListResponse>>,
430    > + Send {
431        gaxi::unimplemented::unimplemented_stub()
432    }
433
434    /// Implements [super::client::SqlInstancesService::list_server_cas].
435    fn list_server_cas(
436        &self,
437        _req: crate::model::SqlInstancesListServerCasRequest,
438        _options: crate::RequestOptions,
439    ) -> impl std::future::Future<
440        Output = crate::Result<crate::Response<crate::model::InstancesListServerCasResponse>>,
441    > + Send {
442        gaxi::unimplemented::unimplemented_stub()
443    }
444
445    /// Implements [super::client::SqlInstancesService::list_server_certificates].
446    fn list_server_certificates(
447        &self,
448        _req: crate::model::SqlInstancesListServerCertificatesRequest,
449        _options: crate::RequestOptions,
450    ) -> impl std::future::Future<
451        Output = crate::Result<
452            crate::Response<crate::model::InstancesListServerCertificatesResponse>,
453        >,
454    > + Send {
455        gaxi::unimplemented::unimplemented_stub()
456    }
457
458    /// Implements [super::client::SqlInstancesService::list_entra_id_certificates].
459    fn list_entra_id_certificates(
460        &self,
461        _req: crate::model::SqlInstancesListEntraIdCertificatesRequest,
462        _options: crate::RequestOptions,
463    ) -> impl std::future::Future<
464        Output = crate::Result<
465            crate::Response<crate::model::InstancesListEntraIdCertificatesResponse>,
466        >,
467    > + Send {
468        gaxi::unimplemented::unimplemented_stub()
469    }
470
471    /// Implements [super::client::SqlInstancesService::patch].
472    fn patch(
473        &self,
474        _req: crate::model::SqlInstancesPatchRequest,
475        _options: crate::RequestOptions,
476    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Operation>>> + Send
477    {
478        gaxi::unimplemented::unimplemented_stub()
479    }
480
481    /// Implements [super::client::SqlInstancesService::promote_replica].
482    fn promote_replica(
483        &self,
484        _req: crate::model::SqlInstancesPromoteReplicaRequest,
485        _options: crate::RequestOptions,
486    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Operation>>> + Send
487    {
488        gaxi::unimplemented::unimplemented_stub()
489    }
490
491    /// Implements [super::client::SqlInstancesService::switchover].
492    fn switchover(
493        &self,
494        _req: crate::model::SqlInstancesSwitchoverRequest,
495        _options: crate::RequestOptions,
496    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Operation>>> + Send
497    {
498        gaxi::unimplemented::unimplemented_stub()
499    }
500
501    /// Implements [super::client::SqlInstancesService::reset_ssl_config].
502    fn reset_ssl_config(
503        &self,
504        _req: crate::model::SqlInstancesResetSslConfigRequest,
505        _options: crate::RequestOptions,
506    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Operation>>> + Send
507    {
508        gaxi::unimplemented::unimplemented_stub()
509    }
510
511    /// Implements [super::client::SqlInstancesService::restart].
512    fn restart(
513        &self,
514        _req: crate::model::SqlInstancesRestartRequest,
515        _options: crate::RequestOptions,
516    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Operation>>> + Send
517    {
518        gaxi::unimplemented::unimplemented_stub()
519    }
520
521    /// Implements [super::client::SqlInstancesService::restore_backup].
522    fn restore_backup(
523        &self,
524        _req: crate::model::SqlInstancesRestoreBackupRequest,
525        _options: crate::RequestOptions,
526    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Operation>>> + Send
527    {
528        gaxi::unimplemented::unimplemented_stub()
529    }
530
531    /// Implements [super::client::SqlInstancesService::rotate_server_ca].
532    fn rotate_server_ca(
533        &self,
534        _req: crate::model::SqlInstancesRotateServerCaRequest,
535        _options: crate::RequestOptions,
536    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Operation>>> + Send
537    {
538        gaxi::unimplemented::unimplemented_stub()
539    }
540
541    /// Implements [super::client::SqlInstancesService::rotate_server_certificate].
542    fn rotate_server_certificate(
543        &self,
544        _req: crate::model::SqlInstancesRotateServerCertificateRequest,
545        _options: crate::RequestOptions,
546    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Operation>>> + Send
547    {
548        gaxi::unimplemented::unimplemented_stub()
549    }
550
551    /// Implements [super::client::SqlInstancesService::rotate_entra_id_certificate].
552    fn rotate_entra_id_certificate(
553        &self,
554        _req: crate::model::SqlInstancesRotateEntraIdCertificateRequest,
555        _options: crate::RequestOptions,
556    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Operation>>> + Send
557    {
558        gaxi::unimplemented::unimplemented_stub()
559    }
560
561    /// Implements [super::client::SqlInstancesService::start_replica].
562    fn start_replica(
563        &self,
564        _req: crate::model::SqlInstancesStartReplicaRequest,
565        _options: crate::RequestOptions,
566    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Operation>>> + Send
567    {
568        gaxi::unimplemented::unimplemented_stub()
569    }
570
571    /// Implements [super::client::SqlInstancesService::stop_replica].
572    fn stop_replica(
573        &self,
574        _req: crate::model::SqlInstancesStopReplicaRequest,
575        _options: crate::RequestOptions,
576    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Operation>>> + Send
577    {
578        gaxi::unimplemented::unimplemented_stub()
579    }
580
581    /// Implements [super::client::SqlInstancesService::truncate_log].
582    fn truncate_log(
583        &self,
584        _req: crate::model::SqlInstancesTruncateLogRequest,
585        _options: crate::RequestOptions,
586    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Operation>>> + Send
587    {
588        gaxi::unimplemented::unimplemented_stub()
589    }
590
591    /// Implements [super::client::SqlInstancesService::update].
592    fn update(
593        &self,
594        _req: crate::model::SqlInstancesUpdateRequest,
595        _options: crate::RequestOptions,
596    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Operation>>> + Send
597    {
598        gaxi::unimplemented::unimplemented_stub()
599    }
600
601    /// Implements [super::client::SqlInstancesService::create_ephemeral].
602    fn create_ephemeral(
603        &self,
604        _req: crate::model::SqlInstancesCreateEphemeralCertRequest,
605        _options: crate::RequestOptions,
606    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::SslCert>>> + Send
607    {
608        gaxi::unimplemented::unimplemented_stub()
609    }
610
611    /// Implements [super::client::SqlInstancesService::reschedule_maintenance].
612    fn reschedule_maintenance(
613        &self,
614        _req: crate::model::SqlInstancesRescheduleMaintenanceRequest,
615        _options: crate::RequestOptions,
616    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Operation>>> + Send
617    {
618        gaxi::unimplemented::unimplemented_stub()
619    }
620
621    /// Implements [super::client::SqlInstancesService::verify_external_sync_settings].
622    fn verify_external_sync_settings(
623        &self,
624        _req: crate::model::SqlInstancesVerifyExternalSyncSettingsRequest,
625        _options: crate::RequestOptions,
626    ) -> impl std::future::Future<
627        Output = crate::Result<
628            crate::Response<crate::model::SqlInstancesVerifyExternalSyncSettingsResponse>,
629        >,
630    > + Send {
631        gaxi::unimplemented::unimplemented_stub()
632    }
633
634    /// Implements [super::client::SqlInstancesService::start_external_sync].
635    fn start_external_sync(
636        &self,
637        _req: crate::model::SqlInstancesStartExternalSyncRequest,
638        _options: crate::RequestOptions,
639    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Operation>>> + Send
640    {
641        gaxi::unimplemented::unimplemented_stub()
642    }
643
644    /// Implements [super::client::SqlInstancesService::perform_disk_shrink].
645    fn perform_disk_shrink(
646        &self,
647        _req: crate::model::SqlInstancesPerformDiskShrinkRequest,
648        _options: crate::RequestOptions,
649    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Operation>>> + Send
650    {
651        gaxi::unimplemented::unimplemented_stub()
652    }
653
654    /// Implements [super::client::SqlInstancesService::get_disk_shrink_config].
655    fn get_disk_shrink_config(
656        &self,
657        _req: crate::model::SqlInstancesGetDiskShrinkConfigRequest,
658        _options: crate::RequestOptions,
659    ) -> impl std::future::Future<
660        Output = crate::Result<
661            crate::Response<crate::model::SqlInstancesGetDiskShrinkConfigResponse>,
662        >,
663    > + Send {
664        gaxi::unimplemented::unimplemented_stub()
665    }
666
667    /// Implements [super::client::SqlInstancesService::reset_replica_size].
668    fn reset_replica_size(
669        &self,
670        _req: crate::model::SqlInstancesResetReplicaSizeRequest,
671        _options: crate::RequestOptions,
672    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Operation>>> + Send
673    {
674        gaxi::unimplemented::unimplemented_stub()
675    }
676
677    /// Implements [super::client::SqlInstancesService::get_latest_recovery_time].
678    fn get_latest_recovery_time(
679        &self,
680        _req: crate::model::SqlInstancesGetLatestRecoveryTimeRequest,
681        _options: crate::RequestOptions,
682    ) -> impl std::future::Future<
683        Output = crate::Result<
684            crate::Response<crate::model::SqlInstancesGetLatestRecoveryTimeResponse>,
685        >,
686    > + Send {
687        gaxi::unimplemented::unimplemented_stub()
688    }
689
690    /// Implements [super::client::SqlInstancesService::execute_sql].
691    fn execute_sql(
692        &self,
693        _req: crate::model::SqlInstancesExecuteSqlRequest,
694        _options: crate::RequestOptions,
695    ) -> impl std::future::Future<
696        Output = crate::Result<crate::Response<crate::model::SqlInstancesExecuteSqlResponse>>,
697    > + Send {
698        gaxi::unimplemented::unimplemented_stub()
699    }
700
701    /// Implements [super::client::SqlInstancesService::acquire_ssrs_lease].
702    fn acquire_ssrs_lease(
703        &self,
704        _req: crate::model::SqlInstancesAcquireSsrsLeaseRequest,
705        _options: crate::RequestOptions,
706    ) -> impl std::future::Future<
707        Output = crate::Result<crate::Response<crate::model::SqlInstancesAcquireSsrsLeaseResponse>>,
708    > + Send {
709        gaxi::unimplemented::unimplemented_stub()
710    }
711
712    /// Implements [super::client::SqlInstancesService::release_ssrs_lease].
713    fn release_ssrs_lease(
714        &self,
715        _req: crate::model::SqlInstancesReleaseSsrsLeaseRequest,
716        _options: crate::RequestOptions,
717    ) -> impl std::future::Future<
718        Output = crate::Result<crate::Response<crate::model::SqlInstancesReleaseSsrsLeaseResponse>>,
719    > + Send {
720        gaxi::unimplemented::unimplemented_stub()
721    }
722
723    /// Implements [super::client::SqlInstancesService::pre_check_major_version_upgrade].
724    fn pre_check_major_version_upgrade(
725        &self,
726        _req: crate::model::SqlInstancesPreCheckMajorVersionUpgradeRequest,
727        _options: crate::RequestOptions,
728    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Operation>>> + Send
729    {
730        gaxi::unimplemented::unimplemented_stub()
731    }
732
733    /// Implements [super::client::SqlInstancesService::point_in_time_restore].
734    fn point_in_time_restore(
735        &self,
736        _req: crate::model::SqlInstancesPointInTimeRestoreRequest,
737        _options: crate::RequestOptions,
738    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Operation>>> + Send
739    {
740        gaxi::unimplemented::unimplemented_stub()
741    }
742}
743
744/// Defines the trait used to implement [super::client::SqlOperationsService].
745///
746/// Application developers may need to implement this trait to mock
747/// `client::SqlOperationsService`.  In other use-cases, application developers only
748/// use `client::SqlOperationsService` and need not be concerned with this trait or
749/// its implementations.
750///
751/// Services gain new RPCs routinely. Consequently, this trait gains new methods
752/// too. To avoid breaking applications the trait provides a default
753/// implementation of each method. Most of these implementations just return an
754/// error.
755pub trait SqlOperationsService: std::fmt::Debug + Send + Sync {
756    /// Implements [super::client::SqlOperationsService::get].
757    fn get(
758        &self,
759        _req: crate::model::SqlOperationsGetRequest,
760        _options: crate::RequestOptions,
761    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Operation>>> + Send
762    {
763        gaxi::unimplemented::unimplemented_stub()
764    }
765
766    /// Implements [super::client::SqlOperationsService::list].
767    fn list(
768        &self,
769        _req: crate::model::SqlOperationsListRequest,
770        _options: crate::RequestOptions,
771    ) -> impl std::future::Future<
772        Output = crate::Result<crate::Response<crate::model::OperationsListResponse>>,
773    > + Send {
774        gaxi::unimplemented::unimplemented_stub()
775    }
776
777    /// Implements [super::client::SqlOperationsService::cancel].
778    fn cancel(
779        &self,
780        _req: crate::model::SqlOperationsCancelRequest,
781        _options: crate::RequestOptions,
782    ) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + Send {
783        gaxi::unimplemented::unimplemented_stub()
784    }
785}
786
787/// Defines the trait used to implement [super::client::SqlSslCertsService].
788///
789/// Application developers may need to implement this trait to mock
790/// `client::SqlSslCertsService`.  In other use-cases, application developers only
791/// use `client::SqlSslCertsService` and need not be concerned with this trait or
792/// its implementations.
793///
794/// Services gain new RPCs routinely. Consequently, this trait gains new methods
795/// too. To avoid breaking applications the trait provides a default
796/// implementation of each method. Most of these implementations just return an
797/// error.
798pub trait SqlSslCertsService: std::fmt::Debug + Send + Sync {
799    /// Implements [super::client::SqlSslCertsService::delete].
800    fn delete(
801        &self,
802        _req: crate::model::SqlSslCertsDeleteRequest,
803        _options: crate::RequestOptions,
804    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Operation>>> + Send
805    {
806        gaxi::unimplemented::unimplemented_stub()
807    }
808
809    /// Implements [super::client::SqlSslCertsService::get].
810    fn get(
811        &self,
812        _req: crate::model::SqlSslCertsGetRequest,
813        _options: crate::RequestOptions,
814    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::SslCert>>> + Send
815    {
816        gaxi::unimplemented::unimplemented_stub()
817    }
818
819    /// Implements [super::client::SqlSslCertsService::insert].
820    fn insert(
821        &self,
822        _req: crate::model::SqlSslCertsInsertRequest,
823        _options: crate::RequestOptions,
824    ) -> impl std::future::Future<
825        Output = crate::Result<crate::Response<crate::model::SslCertsInsertResponse>>,
826    > + Send {
827        gaxi::unimplemented::unimplemented_stub()
828    }
829
830    /// Implements [super::client::SqlSslCertsService::list].
831    fn list(
832        &self,
833        _req: crate::model::SqlSslCertsListRequest,
834        _options: crate::RequestOptions,
835    ) -> impl std::future::Future<
836        Output = crate::Result<crate::Response<crate::model::SslCertsListResponse>>,
837    > + Send {
838        gaxi::unimplemented::unimplemented_stub()
839    }
840}
841
842/// Defines the trait used to implement [super::client::SqlTiersService].
843///
844/// Application developers may need to implement this trait to mock
845/// `client::SqlTiersService`.  In other use-cases, application developers only
846/// use `client::SqlTiersService` and need not be concerned with this trait or
847/// its implementations.
848///
849/// Services gain new RPCs routinely. Consequently, this trait gains new methods
850/// too. To avoid breaking applications the trait provides a default
851/// implementation of each method. Most of these implementations just return an
852/// error.
853pub trait SqlTiersService: std::fmt::Debug + Send + Sync {
854    /// Implements [super::client::SqlTiersService::list].
855    fn list(
856        &self,
857        _req: crate::model::SqlTiersListRequest,
858        _options: crate::RequestOptions,
859    ) -> impl std::future::Future<
860        Output = crate::Result<crate::Response<crate::model::TiersListResponse>>,
861    > + Send {
862        gaxi::unimplemented::unimplemented_stub()
863    }
864}
865
866/// Defines the trait used to implement [super::client::SqlUsersService].
867///
868/// Application developers may need to implement this trait to mock
869/// `client::SqlUsersService`.  In other use-cases, application developers only
870/// use `client::SqlUsersService` and need not be concerned with this trait or
871/// its implementations.
872///
873/// Services gain new RPCs routinely. Consequently, this trait gains new methods
874/// too. To avoid breaking applications the trait provides a default
875/// implementation of each method. Most of these implementations just return an
876/// error.
877pub trait SqlUsersService: std::fmt::Debug + Send + Sync {
878    /// Implements [super::client::SqlUsersService::delete].
879    fn delete(
880        &self,
881        _req: crate::model::SqlUsersDeleteRequest,
882        _options: crate::RequestOptions,
883    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Operation>>> + Send
884    {
885        gaxi::unimplemented::unimplemented_stub()
886    }
887
888    /// Implements [super::client::SqlUsersService::get].
889    fn get(
890        &self,
891        _req: crate::model::SqlUsersGetRequest,
892        _options: crate::RequestOptions,
893    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::User>>> + Send
894    {
895        gaxi::unimplemented::unimplemented_stub()
896    }
897
898    /// Implements [super::client::SqlUsersService::insert].
899    fn insert(
900        &self,
901        _req: crate::model::SqlUsersInsertRequest,
902        _options: crate::RequestOptions,
903    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Operation>>> + Send
904    {
905        gaxi::unimplemented::unimplemented_stub()
906    }
907
908    /// Implements [super::client::SqlUsersService::list].
909    fn list(
910        &self,
911        _req: crate::model::SqlUsersListRequest,
912        _options: crate::RequestOptions,
913    ) -> impl std::future::Future<
914        Output = crate::Result<crate::Response<crate::model::UsersListResponse>>,
915    > + Send {
916        gaxi::unimplemented::unimplemented_stub()
917    }
918
919    /// Implements [super::client::SqlUsersService::update].
920    fn update(
921        &self,
922        _req: crate::model::SqlUsersUpdateRequest,
923        _options: crate::RequestOptions,
924    ) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Operation>>> + Send
925    {
926        gaxi::unimplemented::unimplemented_stub()
927    }
928}