google_cloud_monitoring_v3/
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::AlertPolicyService].
30///
31/// Application developers may need to implement this trait to mock
32/// `client::AlertPolicyService`.  In other use-cases, application developers only
33/// use `client::AlertPolicyService` 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 AlertPolicyService: std::fmt::Debug + Send + Sync {
41    /// Implements [super::client::AlertPolicyService::list_alert_policies].
42    fn list_alert_policies(
43        &self,
44        _req: crate::model::ListAlertPoliciesRequest,
45        _options: gax::options::RequestOptions,
46    ) -> impl std::future::Future<
47        Output = crate::Result<gax::response::Response<crate::model::ListAlertPoliciesResponse>>,
48    > + Send {
49        gaxi::unimplemented::unimplemented_stub()
50    }
51
52    /// Implements [super::client::AlertPolicyService::get_alert_policy].
53    fn get_alert_policy(
54        &self,
55        _req: crate::model::GetAlertPolicyRequest,
56        _options: gax::options::RequestOptions,
57    ) -> impl std::future::Future<
58        Output = crate::Result<gax::response::Response<crate::model::AlertPolicy>>,
59    > + Send {
60        gaxi::unimplemented::unimplemented_stub()
61    }
62
63    /// Implements [super::client::AlertPolicyService::create_alert_policy].
64    fn create_alert_policy(
65        &self,
66        _req: crate::model::CreateAlertPolicyRequest,
67        _options: gax::options::RequestOptions,
68    ) -> impl std::future::Future<
69        Output = crate::Result<gax::response::Response<crate::model::AlertPolicy>>,
70    > + Send {
71        gaxi::unimplemented::unimplemented_stub()
72    }
73
74    /// Implements [super::client::AlertPolicyService::delete_alert_policy].
75    fn delete_alert_policy(
76        &self,
77        _req: crate::model::DeleteAlertPolicyRequest,
78        _options: gax::options::RequestOptions,
79    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
80        gaxi::unimplemented::unimplemented_stub()
81    }
82
83    /// Implements [super::client::AlertPolicyService::update_alert_policy].
84    fn update_alert_policy(
85        &self,
86        _req: crate::model::UpdateAlertPolicyRequest,
87        _options: gax::options::RequestOptions,
88    ) -> impl std::future::Future<
89        Output = crate::Result<gax::response::Response<crate::model::AlertPolicy>>,
90    > + Send {
91        gaxi::unimplemented::unimplemented_stub()
92    }
93}
94
95/// Defines the trait used to implement [super::client::GroupService].
96///
97/// Application developers may need to implement this trait to mock
98/// `client::GroupService`.  In other use-cases, application developers only
99/// use `client::GroupService` and need not be concerned with this trait or
100/// its implementations.
101///
102/// Services gain new RPCs routinely. Consequently, this trait gains new methods
103/// too. To avoid breaking applications the trait provides a default
104/// implementation of each method. Most of these implementations just return an
105/// error.
106pub trait GroupService: std::fmt::Debug + Send + Sync {
107    /// Implements [super::client::GroupService::list_groups].
108    fn list_groups(
109        &self,
110        _req: crate::model::ListGroupsRequest,
111        _options: gax::options::RequestOptions,
112    ) -> impl std::future::Future<
113        Output = crate::Result<gax::response::Response<crate::model::ListGroupsResponse>>,
114    > + Send {
115        gaxi::unimplemented::unimplemented_stub()
116    }
117
118    /// Implements [super::client::GroupService::get_group].
119    fn get_group(
120        &self,
121        _req: crate::model::GetGroupRequest,
122        _options: gax::options::RequestOptions,
123    ) -> impl std::future::Future<
124        Output = crate::Result<gax::response::Response<crate::model::Group>>,
125    > + Send {
126        gaxi::unimplemented::unimplemented_stub()
127    }
128
129    /// Implements [super::client::GroupService::create_group].
130    fn create_group(
131        &self,
132        _req: crate::model::CreateGroupRequest,
133        _options: gax::options::RequestOptions,
134    ) -> impl std::future::Future<
135        Output = crate::Result<gax::response::Response<crate::model::Group>>,
136    > + Send {
137        gaxi::unimplemented::unimplemented_stub()
138    }
139
140    /// Implements [super::client::GroupService::update_group].
141    fn update_group(
142        &self,
143        _req: crate::model::UpdateGroupRequest,
144        _options: gax::options::RequestOptions,
145    ) -> impl std::future::Future<
146        Output = crate::Result<gax::response::Response<crate::model::Group>>,
147    > + Send {
148        gaxi::unimplemented::unimplemented_stub()
149    }
150
151    /// Implements [super::client::GroupService::delete_group].
152    fn delete_group(
153        &self,
154        _req: crate::model::DeleteGroupRequest,
155        _options: gax::options::RequestOptions,
156    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
157        gaxi::unimplemented::unimplemented_stub()
158    }
159
160    /// Implements [super::client::GroupService::list_group_members].
161    fn list_group_members(
162        &self,
163        _req: crate::model::ListGroupMembersRequest,
164        _options: gax::options::RequestOptions,
165    ) -> impl std::future::Future<
166        Output = crate::Result<gax::response::Response<crate::model::ListGroupMembersResponse>>,
167    > + Send {
168        gaxi::unimplemented::unimplemented_stub()
169    }
170}
171
172/// Defines the trait used to implement [super::client::MetricService].
173///
174/// Application developers may need to implement this trait to mock
175/// `client::MetricService`.  In other use-cases, application developers only
176/// use `client::MetricService` and need not be concerned with this trait or
177/// its implementations.
178///
179/// Services gain new RPCs routinely. Consequently, this trait gains new methods
180/// too. To avoid breaking applications the trait provides a default
181/// implementation of each method. Most of these implementations just return an
182/// error.
183pub trait MetricService: std::fmt::Debug + Send + Sync {
184    /// Implements [super::client::MetricService::list_monitored_resource_descriptors].
185    fn list_monitored_resource_descriptors(
186        &self,
187        _req: crate::model::ListMonitoredResourceDescriptorsRequest,
188        _options: gax::options::RequestOptions,
189    ) -> impl std::future::Future<
190        Output = crate::Result<
191            gax::response::Response<crate::model::ListMonitoredResourceDescriptorsResponse>,
192        >,
193    > + Send {
194        gaxi::unimplemented::unimplemented_stub()
195    }
196
197    /// Implements [super::client::MetricService::get_monitored_resource_descriptor].
198    fn get_monitored_resource_descriptor(
199        &self,
200        _req: crate::model::GetMonitoredResourceDescriptorRequest,
201        _options: gax::options::RequestOptions,
202    ) -> impl std::future::Future<
203        Output = crate::Result<gax::response::Response<api::model::MonitoredResourceDescriptor>>,
204    > + Send {
205        gaxi::unimplemented::unimplemented_stub()
206    }
207
208    /// Implements [super::client::MetricService::list_metric_descriptors].
209    fn list_metric_descriptors(
210        &self,
211        _req: crate::model::ListMetricDescriptorsRequest,
212        _options: gax::options::RequestOptions,
213    ) -> impl std::future::Future<
214        Output = crate::Result<
215            gax::response::Response<crate::model::ListMetricDescriptorsResponse>,
216        >,
217    > + Send {
218        gaxi::unimplemented::unimplemented_stub()
219    }
220
221    /// Implements [super::client::MetricService::get_metric_descriptor].
222    fn get_metric_descriptor(
223        &self,
224        _req: crate::model::GetMetricDescriptorRequest,
225        _options: gax::options::RequestOptions,
226    ) -> impl std::future::Future<
227        Output = crate::Result<gax::response::Response<api::model::MetricDescriptor>>,
228    > + Send {
229        gaxi::unimplemented::unimplemented_stub()
230    }
231
232    /// Implements [super::client::MetricService::create_metric_descriptor].
233    fn create_metric_descriptor(
234        &self,
235        _req: crate::model::CreateMetricDescriptorRequest,
236        _options: gax::options::RequestOptions,
237    ) -> impl std::future::Future<
238        Output = crate::Result<gax::response::Response<api::model::MetricDescriptor>>,
239    > + Send {
240        gaxi::unimplemented::unimplemented_stub()
241    }
242
243    /// Implements [super::client::MetricService::delete_metric_descriptor].
244    fn delete_metric_descriptor(
245        &self,
246        _req: crate::model::DeleteMetricDescriptorRequest,
247        _options: gax::options::RequestOptions,
248    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
249        gaxi::unimplemented::unimplemented_stub()
250    }
251
252    /// Implements [super::client::MetricService::list_time_series].
253    fn list_time_series(
254        &self,
255        _req: crate::model::ListTimeSeriesRequest,
256        _options: gax::options::RequestOptions,
257    ) -> impl std::future::Future<
258        Output = crate::Result<gax::response::Response<crate::model::ListTimeSeriesResponse>>,
259    > + Send {
260        gaxi::unimplemented::unimplemented_stub()
261    }
262
263    /// Implements [super::client::MetricService::create_time_series].
264    fn create_time_series(
265        &self,
266        _req: crate::model::CreateTimeSeriesRequest,
267        _options: gax::options::RequestOptions,
268    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
269        gaxi::unimplemented::unimplemented_stub()
270    }
271
272    /// Implements [super::client::MetricService::create_service_time_series].
273    fn create_service_time_series(
274        &self,
275        _req: crate::model::CreateTimeSeriesRequest,
276        _options: gax::options::RequestOptions,
277    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
278        gaxi::unimplemented::unimplemented_stub()
279    }
280}
281
282/// Defines the trait used to implement [super::client::NotificationChannelService].
283///
284/// Application developers may need to implement this trait to mock
285/// `client::NotificationChannelService`.  In other use-cases, application developers only
286/// use `client::NotificationChannelService` and need not be concerned with this trait or
287/// its implementations.
288///
289/// Services gain new RPCs routinely. Consequently, this trait gains new methods
290/// too. To avoid breaking applications the trait provides a default
291/// implementation of each method. Most of these implementations just return an
292/// error.
293pub trait NotificationChannelService: std::fmt::Debug + Send + Sync {
294    /// Implements [super::client::NotificationChannelService::list_notification_channel_descriptors].
295    fn list_notification_channel_descriptors(
296        &self,
297        _req: crate::model::ListNotificationChannelDescriptorsRequest,
298        _options: gax::options::RequestOptions,
299    ) -> impl std::future::Future<
300        Output = crate::Result<
301            gax::response::Response<crate::model::ListNotificationChannelDescriptorsResponse>,
302        >,
303    > + Send {
304        gaxi::unimplemented::unimplemented_stub()
305    }
306
307    /// Implements [super::client::NotificationChannelService::get_notification_channel_descriptor].
308    fn get_notification_channel_descriptor(
309        &self,
310        _req: crate::model::GetNotificationChannelDescriptorRequest,
311        _options: gax::options::RequestOptions,
312    ) -> impl std::future::Future<
313        Output = crate::Result<
314            gax::response::Response<crate::model::NotificationChannelDescriptor>,
315        >,
316    > + Send {
317        gaxi::unimplemented::unimplemented_stub()
318    }
319
320    /// Implements [super::client::NotificationChannelService::list_notification_channels].
321    fn list_notification_channels(
322        &self,
323        _req: crate::model::ListNotificationChannelsRequest,
324        _options: gax::options::RequestOptions,
325    ) -> impl std::future::Future<
326        Output = crate::Result<
327            gax::response::Response<crate::model::ListNotificationChannelsResponse>,
328        >,
329    > + Send {
330        gaxi::unimplemented::unimplemented_stub()
331    }
332
333    /// Implements [super::client::NotificationChannelService::get_notification_channel].
334    fn get_notification_channel(
335        &self,
336        _req: crate::model::GetNotificationChannelRequest,
337        _options: gax::options::RequestOptions,
338    ) -> impl std::future::Future<
339        Output = crate::Result<gax::response::Response<crate::model::NotificationChannel>>,
340    > + Send {
341        gaxi::unimplemented::unimplemented_stub()
342    }
343
344    /// Implements [super::client::NotificationChannelService::create_notification_channel].
345    fn create_notification_channel(
346        &self,
347        _req: crate::model::CreateNotificationChannelRequest,
348        _options: gax::options::RequestOptions,
349    ) -> impl std::future::Future<
350        Output = crate::Result<gax::response::Response<crate::model::NotificationChannel>>,
351    > + Send {
352        gaxi::unimplemented::unimplemented_stub()
353    }
354
355    /// Implements [super::client::NotificationChannelService::update_notification_channel].
356    fn update_notification_channel(
357        &self,
358        _req: crate::model::UpdateNotificationChannelRequest,
359        _options: gax::options::RequestOptions,
360    ) -> impl std::future::Future<
361        Output = crate::Result<gax::response::Response<crate::model::NotificationChannel>>,
362    > + Send {
363        gaxi::unimplemented::unimplemented_stub()
364    }
365
366    /// Implements [super::client::NotificationChannelService::delete_notification_channel].
367    fn delete_notification_channel(
368        &self,
369        _req: crate::model::DeleteNotificationChannelRequest,
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    /// Implements [super::client::NotificationChannelService::send_notification_channel_verification_code].
376    fn send_notification_channel_verification_code(
377        &self,
378        _req: crate::model::SendNotificationChannelVerificationCodeRequest,
379        _options: gax::options::RequestOptions,
380    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
381        gaxi::unimplemented::unimplemented_stub()
382    }
383
384    /// Implements [super::client::NotificationChannelService::get_notification_channel_verification_code].
385    fn get_notification_channel_verification_code(
386        &self,
387        _req: crate::model::GetNotificationChannelVerificationCodeRequest,
388        _options: gax::options::RequestOptions,
389    ) -> impl std::future::Future<
390        Output = crate::Result<
391            gax::response::Response<crate::model::GetNotificationChannelVerificationCodeResponse>,
392        >,
393    > + Send {
394        gaxi::unimplemented::unimplemented_stub()
395    }
396
397    /// Implements [super::client::NotificationChannelService::verify_notification_channel].
398    fn verify_notification_channel(
399        &self,
400        _req: crate::model::VerifyNotificationChannelRequest,
401        _options: gax::options::RequestOptions,
402    ) -> impl std::future::Future<
403        Output = crate::Result<gax::response::Response<crate::model::NotificationChannel>>,
404    > + Send {
405        gaxi::unimplemented::unimplemented_stub()
406    }
407}
408
409/// Defines the trait used to implement [super::client::QueryService].
410///
411/// Application developers may need to implement this trait to mock
412/// `client::QueryService`.  In other use-cases, application developers only
413/// use `client::QueryService` and need not be concerned with this trait or
414/// its implementations.
415///
416/// Services gain new RPCs routinely. Consequently, this trait gains new methods
417/// too. To avoid breaking applications the trait provides a default
418/// implementation of each method. Most of these implementations just return an
419/// error.
420pub trait QueryService: std::fmt::Debug + Send + Sync {
421    /// Implements [super::client::QueryService::query_time_series].
422    fn query_time_series(
423        &self,
424        _req: crate::model::QueryTimeSeriesRequest,
425        _options: gax::options::RequestOptions,
426    ) -> impl std::future::Future<
427        Output = crate::Result<gax::response::Response<crate::model::QueryTimeSeriesResponse>>,
428    > + Send {
429        gaxi::unimplemented::unimplemented_stub()
430    }
431}
432
433/// Defines the trait used to implement [super::client::ServiceMonitoringService].
434///
435/// Application developers may need to implement this trait to mock
436/// `client::ServiceMonitoringService`.  In other use-cases, application developers only
437/// use `client::ServiceMonitoringService` and need not be concerned with this trait or
438/// its implementations.
439///
440/// Services gain new RPCs routinely. Consequently, this trait gains new methods
441/// too. To avoid breaking applications the trait provides a default
442/// implementation of each method. Most of these implementations just return an
443/// error.
444pub trait ServiceMonitoringService: std::fmt::Debug + Send + Sync {
445    /// Implements [super::client::ServiceMonitoringService::create_service].
446    fn create_service(
447        &self,
448        _req: crate::model::CreateServiceRequest,
449        _options: gax::options::RequestOptions,
450    ) -> impl std::future::Future<
451        Output = crate::Result<gax::response::Response<crate::model::Service>>,
452    > + Send {
453        gaxi::unimplemented::unimplemented_stub()
454    }
455
456    /// Implements [super::client::ServiceMonitoringService::get_service].
457    fn get_service(
458        &self,
459        _req: crate::model::GetServiceRequest,
460        _options: gax::options::RequestOptions,
461    ) -> impl std::future::Future<
462        Output = crate::Result<gax::response::Response<crate::model::Service>>,
463    > + Send {
464        gaxi::unimplemented::unimplemented_stub()
465    }
466
467    /// Implements [super::client::ServiceMonitoringService::list_services].
468    fn list_services(
469        &self,
470        _req: crate::model::ListServicesRequest,
471        _options: gax::options::RequestOptions,
472    ) -> impl std::future::Future<
473        Output = crate::Result<gax::response::Response<crate::model::ListServicesResponse>>,
474    > + Send {
475        gaxi::unimplemented::unimplemented_stub()
476    }
477
478    /// Implements [super::client::ServiceMonitoringService::update_service].
479    fn update_service(
480        &self,
481        _req: crate::model::UpdateServiceRequest,
482        _options: gax::options::RequestOptions,
483    ) -> impl std::future::Future<
484        Output = crate::Result<gax::response::Response<crate::model::Service>>,
485    > + Send {
486        gaxi::unimplemented::unimplemented_stub()
487    }
488
489    /// Implements [super::client::ServiceMonitoringService::delete_service].
490    fn delete_service(
491        &self,
492        _req: crate::model::DeleteServiceRequest,
493        _options: gax::options::RequestOptions,
494    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
495        gaxi::unimplemented::unimplemented_stub()
496    }
497
498    /// Implements [super::client::ServiceMonitoringService::create_service_level_objective].
499    fn create_service_level_objective(
500        &self,
501        _req: crate::model::CreateServiceLevelObjectiveRequest,
502        _options: gax::options::RequestOptions,
503    ) -> impl std::future::Future<
504        Output = crate::Result<gax::response::Response<crate::model::ServiceLevelObjective>>,
505    > + Send {
506        gaxi::unimplemented::unimplemented_stub()
507    }
508
509    /// Implements [super::client::ServiceMonitoringService::get_service_level_objective].
510    fn get_service_level_objective(
511        &self,
512        _req: crate::model::GetServiceLevelObjectiveRequest,
513        _options: gax::options::RequestOptions,
514    ) -> impl std::future::Future<
515        Output = crate::Result<gax::response::Response<crate::model::ServiceLevelObjective>>,
516    > + Send {
517        gaxi::unimplemented::unimplemented_stub()
518    }
519
520    /// Implements [super::client::ServiceMonitoringService::list_service_level_objectives].
521    fn list_service_level_objectives(
522        &self,
523        _req: crate::model::ListServiceLevelObjectivesRequest,
524        _options: gax::options::RequestOptions,
525    ) -> impl std::future::Future<
526        Output = crate::Result<
527            gax::response::Response<crate::model::ListServiceLevelObjectivesResponse>,
528        >,
529    > + Send {
530        gaxi::unimplemented::unimplemented_stub()
531    }
532
533    /// Implements [super::client::ServiceMonitoringService::update_service_level_objective].
534    fn update_service_level_objective(
535        &self,
536        _req: crate::model::UpdateServiceLevelObjectiveRequest,
537        _options: gax::options::RequestOptions,
538    ) -> impl std::future::Future<
539        Output = crate::Result<gax::response::Response<crate::model::ServiceLevelObjective>>,
540    > + Send {
541        gaxi::unimplemented::unimplemented_stub()
542    }
543
544    /// Implements [super::client::ServiceMonitoringService::delete_service_level_objective].
545    fn delete_service_level_objective(
546        &self,
547        _req: crate::model::DeleteServiceLevelObjectiveRequest,
548        _options: gax::options::RequestOptions,
549    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
550        gaxi::unimplemented::unimplemented_stub()
551    }
552}
553
554/// Defines the trait used to implement [super::client::SnoozeService].
555///
556/// Application developers may need to implement this trait to mock
557/// `client::SnoozeService`.  In other use-cases, application developers only
558/// use `client::SnoozeService` and need not be concerned with this trait or
559/// its implementations.
560///
561/// Services gain new RPCs routinely. Consequently, this trait gains new methods
562/// too. To avoid breaking applications the trait provides a default
563/// implementation of each method. Most of these implementations just return an
564/// error.
565pub trait SnoozeService: std::fmt::Debug + Send + Sync {
566    /// Implements [super::client::SnoozeService::create_snooze].
567    fn create_snooze(
568        &self,
569        _req: crate::model::CreateSnoozeRequest,
570        _options: gax::options::RequestOptions,
571    ) -> impl std::future::Future<
572        Output = crate::Result<gax::response::Response<crate::model::Snooze>>,
573    > + Send {
574        gaxi::unimplemented::unimplemented_stub()
575    }
576
577    /// Implements [super::client::SnoozeService::list_snoozes].
578    fn list_snoozes(
579        &self,
580        _req: crate::model::ListSnoozesRequest,
581        _options: gax::options::RequestOptions,
582    ) -> impl std::future::Future<
583        Output = crate::Result<gax::response::Response<crate::model::ListSnoozesResponse>>,
584    > + Send {
585        gaxi::unimplemented::unimplemented_stub()
586    }
587
588    /// Implements [super::client::SnoozeService::get_snooze].
589    fn get_snooze(
590        &self,
591        _req: crate::model::GetSnoozeRequest,
592        _options: gax::options::RequestOptions,
593    ) -> impl std::future::Future<
594        Output = crate::Result<gax::response::Response<crate::model::Snooze>>,
595    > + Send {
596        gaxi::unimplemented::unimplemented_stub()
597    }
598
599    /// Implements [super::client::SnoozeService::update_snooze].
600    fn update_snooze(
601        &self,
602        _req: crate::model::UpdateSnoozeRequest,
603        _options: gax::options::RequestOptions,
604    ) -> impl std::future::Future<
605        Output = crate::Result<gax::response::Response<crate::model::Snooze>>,
606    > + Send {
607        gaxi::unimplemented::unimplemented_stub()
608    }
609}
610
611/// Defines the trait used to implement [super::client::UptimeCheckService].
612///
613/// Application developers may need to implement this trait to mock
614/// `client::UptimeCheckService`.  In other use-cases, application developers only
615/// use `client::UptimeCheckService` and need not be concerned with this trait or
616/// its implementations.
617///
618/// Services gain new RPCs routinely. Consequently, this trait gains new methods
619/// too. To avoid breaking applications the trait provides a default
620/// implementation of each method. Most of these implementations just return an
621/// error.
622pub trait UptimeCheckService: std::fmt::Debug + Send + Sync {
623    /// Implements [super::client::UptimeCheckService::list_uptime_check_configs].
624    fn list_uptime_check_configs(
625        &self,
626        _req: crate::model::ListUptimeCheckConfigsRequest,
627        _options: gax::options::RequestOptions,
628    ) -> impl std::future::Future<
629        Output = crate::Result<
630            gax::response::Response<crate::model::ListUptimeCheckConfigsResponse>,
631        >,
632    > + Send {
633        gaxi::unimplemented::unimplemented_stub()
634    }
635
636    /// Implements [super::client::UptimeCheckService::get_uptime_check_config].
637    fn get_uptime_check_config(
638        &self,
639        _req: crate::model::GetUptimeCheckConfigRequest,
640        _options: gax::options::RequestOptions,
641    ) -> impl std::future::Future<
642        Output = crate::Result<gax::response::Response<crate::model::UptimeCheckConfig>>,
643    > + Send {
644        gaxi::unimplemented::unimplemented_stub()
645    }
646
647    /// Implements [super::client::UptimeCheckService::create_uptime_check_config].
648    fn create_uptime_check_config(
649        &self,
650        _req: crate::model::CreateUptimeCheckConfigRequest,
651        _options: gax::options::RequestOptions,
652    ) -> impl std::future::Future<
653        Output = crate::Result<gax::response::Response<crate::model::UptimeCheckConfig>>,
654    > + Send {
655        gaxi::unimplemented::unimplemented_stub()
656    }
657
658    /// Implements [super::client::UptimeCheckService::update_uptime_check_config].
659    fn update_uptime_check_config(
660        &self,
661        _req: crate::model::UpdateUptimeCheckConfigRequest,
662        _options: gax::options::RequestOptions,
663    ) -> impl std::future::Future<
664        Output = crate::Result<gax::response::Response<crate::model::UptimeCheckConfig>>,
665    > + Send {
666        gaxi::unimplemented::unimplemented_stub()
667    }
668
669    /// Implements [super::client::UptimeCheckService::delete_uptime_check_config].
670    fn delete_uptime_check_config(
671        &self,
672        _req: crate::model::DeleteUptimeCheckConfigRequest,
673        _options: gax::options::RequestOptions,
674    ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
675        gaxi::unimplemented::unimplemented_stub()
676    }
677
678    /// Implements [super::client::UptimeCheckService::list_uptime_check_ips].
679    fn list_uptime_check_ips(
680        &self,
681        _req: crate::model::ListUptimeCheckIpsRequest,
682        _options: gax::options::RequestOptions,
683    ) -> impl std::future::Future<
684        Output = crate::Result<gax::response::Response<crate::model::ListUptimeCheckIpsResponse>>,
685    > + Send {
686        gaxi::unimplemented::unimplemented_stub()
687    }
688}