[][src]Struct gcp_client::google::cloud::osconfig::v1::os_config_service_client::OsConfigServiceClient

pub struct OsConfigServiceClient<T> { /* fields omitted */ }

OS Config API

The OS Config service is a server-side component that you can use to manage package installations and patch jobs for virtual machine instances.

Implementations

impl<T> OsConfigServiceClient<T> where
    T: GrpcService<BoxBody>,
    T::ResponseBody: Body + HttpBody + Send + 'static,
    T::Error: Into<StdError>,
    <T::ResponseBody as HttpBody>::Error: Into<StdError> + Send
[src]

pub fn new(inner: T) -> Self[src]

pub fn with_interceptor(inner: T, interceptor: impl Into<Interceptor>) -> Self[src]

pub async fn execute_patch_job<'_>(
    &'_ mut self,
    request: impl IntoRequest<ExecutePatchJobRequest>
) -> Result<Response<PatchJob>, Status>
[src]

Patch VM instances by creating and running a patch job.

pub async fn get_patch_job<'_>(
    &'_ mut self,
    request: impl IntoRequest<GetPatchJobRequest>
) -> Result<Response<PatchJob>, Status>
[src]

Get the patch job. This can be used to track the progress of an ongoing patch job or review the details of completed jobs.

pub async fn cancel_patch_job<'_>(
    &'_ mut self,
    request: impl IntoRequest<CancelPatchJobRequest>
) -> Result<Response<PatchJob>, Status>
[src]

Cancel a patch job. The patch job must be active. Canceled patch jobs cannot be restarted.

pub async fn list_patch_jobs<'_>(
    &'_ mut self,
    request: impl IntoRequest<ListPatchJobsRequest>
) -> Result<Response<ListPatchJobsResponse>, Status>
[src]

Get a list of patch jobs.

pub async fn list_patch_job_instance_details<'_>(
    &'_ mut self,
    request: impl IntoRequest<ListPatchJobInstanceDetailsRequest>
) -> Result<Response<ListPatchJobInstanceDetailsResponse>, Status>
[src]

Get a list of instance details for a given patch job.

pub async fn create_patch_deployment<'_>(
    &'_ mut self,
    request: impl IntoRequest<CreatePatchDeploymentRequest>
) -> Result<Response<PatchDeployment>, Status>
[src]

Create an OS Config patch deployment.

pub async fn get_patch_deployment<'_>(
    &'_ mut self,
    request: impl IntoRequest<GetPatchDeploymentRequest>
) -> Result<Response<PatchDeployment>, Status>
[src]

Get an OS Config patch deployment.

pub async fn list_patch_deployments<'_>(
    &'_ mut self,
    request: impl IntoRequest<ListPatchDeploymentsRequest>
) -> Result<Response<ListPatchDeploymentsResponse>, Status>
[src]

Get a page of OS Config patch deployments.

pub async fn delete_patch_deployment<'_>(
    &'_ mut self,
    request: impl IntoRequest<DeletePatchDeploymentRequest>
) -> Result<Response<()>, Status>
[src]

Delete an OS Config patch deployment.

Trait Implementations

impl<T: Clone> Clone for OsConfigServiceClient<T>[src]

impl<T> Debug for OsConfigServiceClient<T>[src]

Auto Trait Implementations

impl<T> !RefUnwindSafe for OsConfigServiceClient<T>

impl<T> Send for OsConfigServiceClient<T> where
    T: Send

impl<T> Sync for OsConfigServiceClient<T> where
    T: Sync

impl<T> Unpin for OsConfigServiceClient<T> where
    T: Unpin

impl<T> !UnwindSafe for OsConfigServiceClient<T>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]