#![allow(rustdoc::broken_intra_doc_links)]
pub(crate) mod dynamic;
pub trait CloudShellService: std::fmt::Debug + Send + Sync {
fn get_environment(
&self,
_req: crate::model::GetEnvironmentRequest,
_options: crate::RequestOptions,
) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Environment>>>
+ Send {
gaxi::unimplemented::unimplemented_stub()
}
fn start_environment(
&self,
_req: crate::model::StartEnvironmentRequest,
_options: crate::RequestOptions,
) -> impl std::future::Future<
Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
> + Send {
gaxi::unimplemented::unimplemented_stub()
}
fn authorize_environment(
&self,
_req: crate::model::AuthorizeEnvironmentRequest,
_options: crate::RequestOptions,
) -> impl std::future::Future<
Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
> + Send {
gaxi::unimplemented::unimplemented_stub()
}
fn add_public_key(
&self,
_req: crate::model::AddPublicKeyRequest,
_options: crate::RequestOptions,
) -> impl std::future::Future<
Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
> + Send {
gaxi::unimplemented::unimplemented_stub()
}
fn remove_public_key(
&self,
_req: crate::model::RemovePublicKeyRequest,
_options: crate::RequestOptions,
) -> impl std::future::Future<
Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
> + Send {
gaxi::unimplemented::unimplemented_stub()
}
fn get_operation(
&self,
_req: google_cloud_longrunning::model::GetOperationRequest,
_options: crate::RequestOptions,
) -> impl std::future::Future<
Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
> + Send {
gaxi::unimplemented::unimplemented_stub()
}
fn get_polling_error_policy(
&self,
_options: &crate::RequestOptions,
) -> std::sync::Arc<dyn google_cloud_gax::polling_error_policy::PollingErrorPolicy> {
std::sync::Arc::new(google_cloud_gax::polling_error_policy::Aip194Strict)
}
fn get_polling_backoff_policy(
&self,
_options: &crate::RequestOptions,
) -> std::sync::Arc<dyn google_cloud_gax::polling_backoff_policy::PollingBackoffPolicy> {
std::sync::Arc::new(google_cloud_gax::exponential_backoff::ExponentialBackoff::default())
}
}