/// Change state of patch deployment to "PAUSED".
/// Patch deployment in paused state doesn't generate patch jobs.
Change state of patch deployment to "PAUSED".
Patch deployment in paused state doesn't generate patch jobs.
Change state of patch deployment to " PAUSED " . Patch deployment in paused state doesn ' t generate patch jobs .
pub async fn pause_patch_deployment(
            &mut self,
            request: impl tonic::IntoRequest<super::PausePatchDeploymentRequest>,
        ) -> Result<tonic::Response<super::PatchDeployment>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::new(
                        tonic::Code::Unknown,
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.osconfig.v1.OsConfigService/PausePatchDeployment",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
pub async fn pause_patch_deployment ( & mut self , request : impl tonic :: IntoRequest < super :: PausePatchDeploymentRequest > , ) -> Result < tonic :: Response < super :: PatchDeployment > , tonic :: Status > { self . inner . ready ( ) . await . map_err ( | e | { tonic :: Status :: new ( tonic :: Code :: Unknown , format ! ( " " e into ( ) ) , ) } ) ? ; let codec = tonic :: codec :: ProstCodec :: default ( ) ; let path = http :: uri :: PathAndQuery :: from_static ( " " , ) ; self . inner . unary ( request . into_request ( ) , path , codec ) . await }
Change state of patch deployment to "PAUSED".
Change state of patch deployment to " PAUSED " .
&mut self
request
impl tonic::IntoRequest<super::PausePatchDeploymentRequest>