Package com.google.cloud.osconfig.v1
Class OsConfigServiceGrpc.OsConfigServiceFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<OsConfigServiceGrpc.OsConfigServiceFutureStub>
-
- com.google.cloud.osconfig.v1.OsConfigServiceGrpc.OsConfigServiceFutureStub
-
- Enclosing class:
- OsConfigServiceGrpc
public static final class OsConfigServiceGrpc.OsConfigServiceFutureStub extends io.grpc.stub.AbstractFutureStub<OsConfigServiceGrpc.OsConfigServiceFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service OsConfigService.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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected OsConfigServiceGrpc.OsConfigServiceFutureStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.common.util.concurrent.ListenableFuture<PatchJobs.PatchJob>
cancelPatchJob(PatchJobs.CancelPatchJobRequest request)
Cancel a patch job.com.google.common.util.concurrent.ListenableFuture<PatchDeployments.PatchDeployment>
createPatchDeployment(PatchDeployments.CreatePatchDeploymentRequest request)
Create an OS Config patch deployment.com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty>
deletePatchDeployment(PatchDeployments.DeletePatchDeploymentRequest request)
Delete an OS Config patch deployment.com.google.common.util.concurrent.ListenableFuture<PatchJobs.PatchJob>
executePatchJob(PatchJobs.ExecutePatchJobRequest request)
Patch VM instances by creating and running a patch job.com.google.common.util.concurrent.ListenableFuture<PatchDeployments.PatchDeployment>
getPatchDeployment(PatchDeployments.GetPatchDeploymentRequest request)
Get an OS Config patch deployment.com.google.common.util.concurrent.ListenableFuture<PatchJobs.PatchJob>
getPatchJob(PatchJobs.GetPatchJobRequest request)
Get the patch job.com.google.common.util.concurrent.ListenableFuture<PatchDeployments.ListPatchDeploymentsResponse>
listPatchDeployments(PatchDeployments.ListPatchDeploymentsRequest request)
Get a page of OS Config patch deployments.com.google.common.util.concurrent.ListenableFuture<PatchJobs.ListPatchJobInstanceDetailsResponse>
listPatchJobInstanceDetails(PatchJobs.ListPatchJobInstanceDetailsRequest request)
Get a list of instance details for a given patch job.com.google.common.util.concurrent.ListenableFuture<PatchJobs.ListPatchJobsResponse>
listPatchJobs(PatchJobs.ListPatchJobsRequest request)
Get a list of patch jobs.com.google.common.util.concurrent.ListenableFuture<PatchDeployments.PatchDeployment>
pausePatchDeployment(PatchDeployments.PausePatchDeploymentRequest request)
Change state of patch deployment to "PAUSED".com.google.common.util.concurrent.ListenableFuture<PatchDeployments.PatchDeployment>
resumePatchDeployment(PatchDeployments.ResumePatchDeploymentRequest request)
Change state of patch deployment back to "ACTIVE".com.google.common.util.concurrent.ListenableFuture<PatchDeployments.PatchDeployment>
updatePatchDeployment(PatchDeployments.UpdatePatchDeploymentRequest request)
Update an OS Config patch deployment.
-
-
-
Method Detail
-
build
protected OsConfigServiceGrpc.OsConfigServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<OsConfigServiceGrpc.OsConfigServiceFutureStub>
-
executePatchJob
public com.google.common.util.concurrent.ListenableFuture<PatchJobs.PatchJob> executePatchJob(PatchJobs.ExecutePatchJobRequest request)
Patch VM instances by creating and running a patch job.
-
getPatchJob
public com.google.common.util.concurrent.ListenableFuture<PatchJobs.PatchJob> getPatchJob(PatchJobs.GetPatchJobRequest request)
Get the patch job. This can be used to track the progress of an ongoing patch job or review the details of completed jobs.
-
cancelPatchJob
public com.google.common.util.concurrent.ListenableFuture<PatchJobs.PatchJob> cancelPatchJob(PatchJobs.CancelPatchJobRequest request)
Cancel a patch job. The patch job must be active. Canceled patch jobs cannot be restarted.
-
listPatchJobs
public com.google.common.util.concurrent.ListenableFuture<PatchJobs.ListPatchJobsResponse> listPatchJobs(PatchJobs.ListPatchJobsRequest request)
Get a list of patch jobs.
-
listPatchJobInstanceDetails
public com.google.common.util.concurrent.ListenableFuture<PatchJobs.ListPatchJobInstanceDetailsResponse> listPatchJobInstanceDetails(PatchJobs.ListPatchJobInstanceDetailsRequest request)
Get a list of instance details for a given patch job.
-
createPatchDeployment
public com.google.common.util.concurrent.ListenableFuture<PatchDeployments.PatchDeployment> createPatchDeployment(PatchDeployments.CreatePatchDeploymentRequest request)
Create an OS Config patch deployment.
-
getPatchDeployment
public com.google.common.util.concurrent.ListenableFuture<PatchDeployments.PatchDeployment> getPatchDeployment(PatchDeployments.GetPatchDeploymentRequest request)
Get an OS Config patch deployment.
-
listPatchDeployments
public com.google.common.util.concurrent.ListenableFuture<PatchDeployments.ListPatchDeploymentsResponse> listPatchDeployments(PatchDeployments.ListPatchDeploymentsRequest request)
Get a page of OS Config patch deployments.
-
deletePatchDeployment
public com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.Empty> deletePatchDeployment(PatchDeployments.DeletePatchDeploymentRequest request)
Delete an OS Config patch deployment.
-
updatePatchDeployment
public com.google.common.util.concurrent.ListenableFuture<PatchDeployments.PatchDeployment> updatePatchDeployment(PatchDeployments.UpdatePatchDeploymentRequest request)
Update an OS Config patch deployment.
-
pausePatchDeployment
public com.google.common.util.concurrent.ListenableFuture<PatchDeployments.PatchDeployment> pausePatchDeployment(PatchDeployments.PausePatchDeploymentRequest request)
Change state of patch deployment to "PAUSED". Patch deployment in paused state doesn't generate patch jobs.
-
resumePatchDeployment
public com.google.common.util.concurrent.ListenableFuture<PatchDeployments.PatchDeployment> resumePatchDeployment(PatchDeployments.ResumePatchDeploymentRequest request)
Change state of patch deployment back to "ACTIVE". Patch deployment in active state continues to generate patch jobs.
-
-