google_cloud_edgecontainer_v1/
stub.rs1#![allow(rustdoc::broken_intra_doc_links)]
26
27pub(crate) mod dynamic;
28
29pub trait EdgeContainer: 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 create_cluster(
65 &self,
66 _req: crate::model::CreateClusterRequest,
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_cluster(
76 &self,
77 _req: crate::model::UpdateClusterRequest,
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 upgrade_cluster(
87 &self,
88 _req: crate::model::UpgradeClusterRequest,
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 delete_cluster(
98 &self,
99 _req: crate::model::DeleteClusterRequest,
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 generate_access_token(
109 &self,
110 _req: crate::model::GenerateAccessTokenRequest,
111 _options: gax::options::RequestOptions,
112 ) -> impl std::future::Future<
113 Output = crate::Result<gax::response::Response<crate::model::GenerateAccessTokenResponse>>,
114 > + Send {
115 gaxi::unimplemented::unimplemented_stub()
116 }
117
118 fn generate_offline_credential(
120 &self,
121 _req: crate::model::GenerateOfflineCredentialRequest,
122 _options: gax::options::RequestOptions,
123 ) -> impl std::future::Future<
124 Output = crate::Result<
125 gax::response::Response<crate::model::GenerateOfflineCredentialResponse>,
126 >,
127 > + Send {
128 gaxi::unimplemented::unimplemented_stub()
129 }
130
131 fn list_node_pools(
133 &self,
134 _req: crate::model::ListNodePoolsRequest,
135 _options: gax::options::RequestOptions,
136 ) -> impl std::future::Future<
137 Output = crate::Result<gax::response::Response<crate::model::ListNodePoolsResponse>>,
138 > + Send {
139 gaxi::unimplemented::unimplemented_stub()
140 }
141
142 fn get_node_pool(
144 &self,
145 _req: crate::model::GetNodePoolRequest,
146 _options: gax::options::RequestOptions,
147 ) -> impl std::future::Future<
148 Output = crate::Result<gax::response::Response<crate::model::NodePool>>,
149 > + Send {
150 gaxi::unimplemented::unimplemented_stub()
151 }
152
153 fn create_node_pool(
155 &self,
156 _req: crate::model::CreateNodePoolRequest,
157 _options: gax::options::RequestOptions,
158 ) -> impl std::future::Future<
159 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
160 > + Send {
161 gaxi::unimplemented::unimplemented_stub()
162 }
163
164 fn update_node_pool(
166 &self,
167 _req: crate::model::UpdateNodePoolRequest,
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 delete_node_pool(
177 &self,
178 _req: crate::model::DeleteNodePoolRequest,
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 list_machines(
188 &self,
189 _req: crate::model::ListMachinesRequest,
190 _options: gax::options::RequestOptions,
191 ) -> impl std::future::Future<
192 Output = crate::Result<gax::response::Response<crate::model::ListMachinesResponse>>,
193 > + Send {
194 gaxi::unimplemented::unimplemented_stub()
195 }
196
197 fn get_machine(
199 &self,
200 _req: crate::model::GetMachineRequest,
201 _options: gax::options::RequestOptions,
202 ) -> impl std::future::Future<
203 Output = crate::Result<gax::response::Response<crate::model::Machine>>,
204 > + Send {
205 gaxi::unimplemented::unimplemented_stub()
206 }
207
208 fn list_vpn_connections(
210 &self,
211 _req: crate::model::ListVpnConnectionsRequest,
212 _options: gax::options::RequestOptions,
213 ) -> impl std::future::Future<
214 Output = crate::Result<gax::response::Response<crate::model::ListVpnConnectionsResponse>>,
215 > + Send {
216 gaxi::unimplemented::unimplemented_stub()
217 }
218
219 fn get_vpn_connection(
221 &self,
222 _req: crate::model::GetVpnConnectionRequest,
223 _options: gax::options::RequestOptions,
224 ) -> impl std::future::Future<
225 Output = crate::Result<gax::response::Response<crate::model::VpnConnection>>,
226 > + Send {
227 gaxi::unimplemented::unimplemented_stub()
228 }
229
230 fn create_vpn_connection(
232 &self,
233 _req: crate::model::CreateVpnConnectionRequest,
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_vpn_connection(
243 &self,
244 _req: crate::model::DeleteVpnConnectionRequest,
245 _options: gax::options::RequestOptions,
246 ) -> impl std::future::Future<
247 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
248 > + Send {
249 gaxi::unimplemented::unimplemented_stub()
250 }
251
252 fn get_server_config(
254 &self,
255 _req: crate::model::GetServerConfigRequest,
256 _options: gax::options::RequestOptions,
257 ) -> impl std::future::Future<
258 Output = crate::Result<gax::response::Response<crate::model::ServerConfig>>,
259 > + Send {
260 gaxi::unimplemented::unimplemented_stub()
261 }
262
263 fn list_locations(
265 &self,
266 _req: location::model::ListLocationsRequest,
267 _options: gax::options::RequestOptions,
268 ) -> impl std::future::Future<
269 Output = crate::Result<gax::response::Response<location::model::ListLocationsResponse>>,
270 > + Send {
271 gaxi::unimplemented::unimplemented_stub()
272 }
273
274 fn get_location(
276 &self,
277 _req: location::model::GetLocationRequest,
278 _options: gax::options::RequestOptions,
279 ) -> impl std::future::Future<
280 Output = crate::Result<gax::response::Response<location::model::Location>>,
281 > + Send {
282 gaxi::unimplemented::unimplemented_stub()
283 }
284
285 fn list_operations(
287 &self,
288 _req: longrunning::model::ListOperationsRequest,
289 _options: gax::options::RequestOptions,
290 ) -> impl std::future::Future<
291 Output = crate::Result<gax::response::Response<longrunning::model::ListOperationsResponse>>,
292 > + Send {
293 gaxi::unimplemented::unimplemented_stub()
294 }
295
296 fn get_operation(
298 &self,
299 _req: longrunning::model::GetOperationRequest,
300 _options: gax::options::RequestOptions,
301 ) -> impl std::future::Future<
302 Output = crate::Result<gax::response::Response<longrunning::model::Operation>>,
303 > + Send {
304 gaxi::unimplemented::unimplemented_stub()
305 }
306
307 fn delete_operation(
309 &self,
310 _req: longrunning::model::DeleteOperationRequest,
311 _options: gax::options::RequestOptions,
312 ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
313 gaxi::unimplemented::unimplemented_stub()
314 }
315
316 fn cancel_operation(
318 &self,
319 _req: longrunning::model::CancelOperationRequest,
320 _options: gax::options::RequestOptions,
321 ) -> impl std::future::Future<Output = crate::Result<gax::response::Response<()>>> + Send {
322 gaxi::unimplemented::unimplemented_stub()
323 }
324
325 fn get_polling_error_policy(
330 &self,
331 _options: &gax::options::RequestOptions,
332 ) -> std::sync::Arc<dyn gax::polling_error_policy::PollingErrorPolicy> {
333 std::sync::Arc::new(gax::polling_error_policy::Aip194Strict)
334 }
335
336 fn get_polling_backoff_policy(
341 &self,
342 _options: &gax::options::RequestOptions,
343 ) -> std::sync::Arc<dyn gax::polling_backoff_policy::PollingBackoffPolicy> {
344 std::sync::Arc::new(gax::exponential_backoff::ExponentialBackoff::default())
345 }
346}