Struct googapis::google::cloud::orchestration::airflow::service::v1beta1::environments_client::EnvironmentsClient [−][src]
pub struct EnvironmentsClient<T> { /* fields omitted */ }
Expand description
Managed Apache Airflow Environments.
Implementations
impl<T> EnvironmentsClient<T> where
T: GrpcService<BoxBody>,
T::ResponseBody: Body + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as Body>::Error: Into<StdError> + Send,
impl<T> EnvironmentsClient<T> where
T: GrpcService<BoxBody>,
T::ResponseBody: Body + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as Body>::Error: Into<StdError> + Send,
pub fn with_interceptor<F>(
inner: T,
interceptor: F
) -> EnvironmentsClient<InterceptedService<T, F>> where
F: Interceptor,
T: Service<Request<BoxBody>, Response = Response<<T as GrpcService<BoxBody>>::ResponseBody>>,
<T as Service<Request<BoxBody>>>::Error: Into<StdError> + Send + Sync,
Compress requests with gzip
.
This requires the server to support it otherwise it might respond with an error.
Enable decompressing responses with gzip
.
pub async fn create_environment(
&mut self,
request: impl IntoRequest<CreateEnvironmentRequest>
) -> Result<Response<Operation>, Status>
pub async fn create_environment(
&mut self,
request: impl IntoRequest<CreateEnvironmentRequest>
) -> Result<Response<Operation>, Status>
Create a new environment.
pub async fn get_environment(
&mut self,
request: impl IntoRequest<GetEnvironmentRequest>
) -> Result<Response<Environment>, Status>
pub async fn get_environment(
&mut self,
request: impl IntoRequest<GetEnvironmentRequest>
) -> Result<Response<Environment>, Status>
Get an existing environment.
pub async fn list_environments(
&mut self,
request: impl IntoRequest<ListEnvironmentsRequest>
) -> Result<Response<ListEnvironmentsResponse>, Status>
pub async fn list_environments(
&mut self,
request: impl IntoRequest<ListEnvironmentsRequest>
) -> Result<Response<ListEnvironmentsResponse>, Status>
List environments.
pub async fn update_environment(
&mut self,
request: impl IntoRequest<UpdateEnvironmentRequest>
) -> Result<Response<Operation>, Status>
pub async fn update_environment(
&mut self,
request: impl IntoRequest<UpdateEnvironmentRequest>
) -> Result<Response<Operation>, Status>
Update an environment.
pub async fn delete_environment(
&mut self,
request: impl IntoRequest<DeleteEnvironmentRequest>
) -> Result<Response<Operation>, Status>
pub async fn delete_environment(
&mut self,
request: impl IntoRequest<DeleteEnvironmentRequest>
) -> Result<Response<Operation>, Status>
Delete an environment.
pub async fn restart_web_server(
&mut self,
request: impl IntoRequest<RestartWebServerRequest>
) -> Result<Response<Operation>, Status>
pub async fn restart_web_server(
&mut self,
request: impl IntoRequest<RestartWebServerRequest>
) -> Result<Response<Operation>, Status>
Restart Airflow web server.
pub async fn check_upgrade(
&mut self,
request: impl IntoRequest<CheckUpgradeRequest>
) -> Result<Response<Operation>, Status>
pub async fn check_upgrade(
&mut self,
request: impl IntoRequest<CheckUpgradeRequest>
) -> Result<Response<Operation>, Status>
Check if an upgrade operation on the environment will succeed.
In case of problems detailed info can be found in the returned Operation.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for EnvironmentsClient<T> where
T: RefUnwindSafe,
impl<T> Send for EnvironmentsClient<T> where
T: Send,
impl<T> Sync for EnvironmentsClient<T> where
T: Sync,
impl<T> Unpin for EnvironmentsClient<T> where
T: Unpin,
impl<T> UnwindSafe for EnvironmentsClient<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more