google_cloud_redis_cluster_v1/
stub.rs1#![allow(rustdoc::broken_intra_doc_links)]
26
27pub(crate) mod dynamic;
28
29pub trait CloudRedisCluster: std::fmt::Debug + Send + Sync {
41 fn list_clusters(
43 &self,
44 _req: crate::model::ListClustersRequest,
45 _options: gax::options::RequestOptions,
46 ) -> impl std::future::Future<
47 Output = crate::Result<gax::response::Response<crate::model::ListClustersResponse>>,
48 > + Send {
49 gaxi::unimplemented::unimplemented_stub()
50 }
51
52 fn get_cluster(
54 &self,
55 _req: crate::model::GetClusterRequest,
56 _options: gax::options::RequestOptions,
57 ) -> impl std::future::Future<
58 Output = crate::Result<gax::response::Response<crate::model::Cluster>>,
59 > + Send {
60 gaxi::unimplemented::unimplemented_stub()
61 }
62
63 fn update_cluster(
65 &self,
66 _req: crate::model::UpdateClusterRequest,
67 _options: gax::options::RequestOptions,
68 ) -> impl std::future::Future<
69 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
70 > + Send {
71 gaxi::unimplemented::unimplemented_stub()
72 }
73
74 fn delete_cluster(
76 &self,
77 _req: crate::model::DeleteClusterRequest,
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 create_cluster(
87 &self,
88 _req: crate::model::CreateClusterRequest,
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 get_cluster_certificate_authority(
98 &self,
99 _req: crate::model::GetClusterCertificateAuthorityRequest,
100 _options: gax::options::RequestOptions,
101 ) -> impl std::future::Future<
102 Output = crate::Result<gax::response::Response<crate::model::CertificateAuthority>>,
103 > + Send {
104 gaxi::unimplemented::unimplemented_stub()
105 }
106
107 fn reschedule_cluster_maintenance(
109 &self,
110 _req: crate::model::RescheduleClusterMaintenanceRequest,
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_backup_collections(
120 &self,
121 _req: crate::model::ListBackupCollectionsRequest,
122 _options: gax::options::RequestOptions,
123 ) -> impl std::future::Future<
124 Output = crate::Result<
125 gax::response::Response<crate::model::ListBackupCollectionsResponse>,
126 >,
127 > + Send {
128 gaxi::unimplemented::unimplemented_stub()
129 }
130
131 fn get_backup_collection(
133 &self,
134 _req: crate::model::GetBackupCollectionRequest,
135 _options: gax::options::RequestOptions,
136 ) -> impl std::future::Future<
137 Output = crate::Result<gax::response::Response<crate::model::BackupCollection>>,
138 > + Send {
139 gaxi::unimplemented::unimplemented_stub()
140 }
141
142 fn list_backups(
144 &self,
145 _req: crate::model::ListBackupsRequest,
146 _options: gax::options::RequestOptions,
147 ) -> impl std::future::Future<
148 Output = crate::Result<gax::response::Response<crate::model::ListBackupsResponse>>,
149 > + Send {
150 gaxi::unimplemented::unimplemented_stub()
151 }
152
153 fn get_backup(
155 &self,
156 _req: crate::model::GetBackupRequest,
157 _options: gax::options::RequestOptions,
158 ) -> impl std::future::Future<
159 Output = crate::Result<gax::response::Response<crate::model::Backup>>,
160 > + Send {
161 gaxi::unimplemented::unimplemented_stub()
162 }
163
164 fn delete_backup(
166 &self,
167 _req: crate::model::DeleteBackupRequest,
168 _options: gax::options::RequestOptions,
169 ) -> impl std::future::Future<
170 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
171 > + Send {
172 gaxi::unimplemented::unimplemented_stub()
173 }
174
175 fn export_backup(
177 &self,
178 _req: crate::model::ExportBackupRequest,
179 _options: gax::options::RequestOptions,
180 ) -> impl std::future::Future<
181 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
182 > + Send {
183 gaxi::unimplemented::unimplemented_stub()
184 }
185
186 fn backup_cluster(
188 &self,
189 _req: crate::model::BackupClusterRequest,
190 _options: gax::options::RequestOptions,
191 ) -> impl std::future::Future<
192 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
193 > + Send {
194 gaxi::unimplemented::unimplemented_stub()
195 }
196
197 fn list_locations(
199 &self,
200 _req: location::model::ListLocationsRequest,
201 _options: gax::options::RequestOptions,
202 ) -> impl std::future::Future<
203 Output = crate::Result<gax::response::Response<location::model::ListLocationsResponse>>,
204 > + Send {
205 gaxi::unimplemented::unimplemented_stub()
206 }
207
208 fn get_location(
210 &self,
211 _req: location::model::GetLocationRequest,
212 _options: gax::options::RequestOptions,
213 ) -> impl std::future::Future<
214 Output = crate::Result<gax::response::Response<location::model::Location>>,
215 > + Send {
216 gaxi::unimplemented::unimplemented_stub()
217 }
218
219 fn list_operations(
221 &self,
222 _req: longrunning::model::ListOperationsRequest,
223 _options: gax::options::RequestOptions,
224 ) -> impl std::future::Future<
225 Output = crate::Result<gax::response::Response<longrunning::model::ListOperationsResponse>>,
226 > + Send {
227 gaxi::unimplemented::unimplemented_stub()
228 }
229
230 fn get_operation(
232 &self,
233 _req: longrunning::model::GetOperationRequest,
234 _options: gax::options::RequestOptions,
235 ) -> impl std::future::Future<
236 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
237 > + Send {
238 gaxi::unimplemented::unimplemented_stub()
239 }
240
241 fn delete_operation(
243 &self,
244 _req: longrunning::model::DeleteOperationRequest,
245 _options: gax::options::RequestOptions,
246 ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
247 gaxi::unimplemented::unimplemented_stub()
248 }
249
250 fn cancel_operation(
252 &self,
253 _req: longrunning::model::CancelOperationRequest,
254 _options: gax::options::RequestOptions,
255 ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
256 gaxi::unimplemented::unimplemented_stub()
257 }
258
259 fn get_polling_error_policy(
264 &self,
265 _options: &gax::options::RequestOptions,
266 ) -> std::sync::Arc<dyn gax::polling_error_policy::PollingErrorPolicy> {
267 std::sync::Arc::new(gax::polling_error_policy::Aip194Strict)
268 }
269
270 fn get_polling_backoff_policy(
275 &self,
276 _options: &gax::options::RequestOptions,
277 ) -> std::sync::Arc<dyn gax::polling_backoff_policy::PollingBackoffPolicy> {
278 std::sync::Arc::new(gax::exponential_backoff::ExponentialBackoff::default())
279 }
280}