#![allow(rustdoc::broken_intra_doc_links)]
pub(crate) mod dynamic;
pub trait Workflows: std::fmt::Debug + Send + Sync {
fn list_workflows(
&self,
_req: crate::model::ListWorkflowsRequest,
_options: crate::RequestOptions,
) -> impl std::future::Future<
Output = crate::Result<crate::Response<crate::model::ListWorkflowsResponse>>,
> + Send {
gaxi::unimplemented::unimplemented_stub()
}
fn get_workflow(
&self,
_req: crate::model::GetWorkflowRequest,
_options: crate::RequestOptions,
) -> impl std::future::Future<Output = crate::Result<crate::Response<crate::model::Workflow>>> + Send
{
gaxi::unimplemented::unimplemented_stub()
}
fn create_workflow(
&self,
_req: crate::model::CreateWorkflowRequest,
_options: crate::RequestOptions,
) -> impl std::future::Future<
Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
> + Send {
gaxi::unimplemented::unimplemented_stub()
}
fn delete_workflow(
&self,
_req: crate::model::DeleteWorkflowRequest,
_options: crate::RequestOptions,
) -> impl std::future::Future<
Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
> + Send {
gaxi::unimplemented::unimplemented_stub()
}
fn update_workflow(
&self,
_req: crate::model::UpdateWorkflowRequest,
_options: crate::RequestOptions,
) -> impl std::future::Future<
Output = crate::Result<crate::Response<google_cloud_longrunning::model::Operation>>,
> + Send {
gaxi::unimplemented::unimplemented_stub()
}
fn list_workflow_revisions(
&self,
_req: crate::model::ListWorkflowRevisionsRequest,
_options: crate::RequestOptions,
) -> impl std::future::Future<
Output = crate::Result<crate::Response<crate::model::ListWorkflowRevisionsResponse>>,
> + Send {
gaxi::unimplemented::unimplemented_stub()
}
fn list_locations(
&self,
_req: google_cloud_location::model::ListLocationsRequest,
_options: crate::RequestOptions,
) -> impl std::future::Future<
Output = crate::Result<
crate::Response<google_cloud_location::model::ListLocationsResponse>,
>,
> + Send {
gaxi::unimplemented::unimplemented_stub()
}
fn get_location(
&self,
_req: google_cloud_location::model::GetLocationRequest,
_options: crate::RequestOptions,
) -> impl std::future::Future<
Output = crate::Result<crate::Response<google_cloud_location::model::Location>>,
> + Send {
gaxi::unimplemented::unimplemented_stub()
}
fn list_operations(
&self,
_req: google_cloud_longrunning::model::ListOperationsRequest,
_options: crate::RequestOptions,
) -> impl std::future::Future<
Output = crate::Result<
crate::Response<google_cloud_longrunning::model::ListOperationsResponse>,
>,
> + 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 delete_operation(
&self,
_req: google_cloud_longrunning::model::DeleteOperationRequest,
_options: crate::RequestOptions,
) -> impl std::future::Future<Output = crate::Result<crate::Response<()>>> + 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())
}
}