Package com.google.cloud.osconfig.v1
Class OsConfigServiceGrpc.OsConfigServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<OsConfigServiceGrpc.OsConfigServiceStub>
com.google.cloud.osconfig.v1.OsConfigServiceGrpc.OsConfigServiceStub
- Enclosing class:
- OsConfigServiceGrpc
public static final class OsConfigServiceGrpc.OsConfigServiceStub
extends io.grpc.stub.AbstractAsyncStub<OsConfigServiceGrpc.OsConfigServiceStub>
A stub to allow clients to do asynchronous 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.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionprotected OsConfigServiceGrpc.OsConfigServiceStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) voidcancelPatchJob(PatchJobs.CancelPatchJobRequest request, io.grpc.stub.StreamObserver<PatchJobs.PatchJob> responseObserver) Cancel a patch job.voidcreatePatchDeployment(PatchDeployments.CreatePatchDeploymentRequest request, io.grpc.stub.StreamObserver<PatchDeployments.PatchDeployment> responseObserver) Create an OS Config patch deployment.voiddeletePatchDeployment(PatchDeployments.DeletePatchDeploymentRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Delete an OS Config patch deployment.voidexecutePatchJob(PatchJobs.ExecutePatchJobRequest request, io.grpc.stub.StreamObserver<PatchJobs.PatchJob> responseObserver) Patch VM instances by creating and running a patch job.voidgetPatchDeployment(PatchDeployments.GetPatchDeploymentRequest request, io.grpc.stub.StreamObserver<PatchDeployments.PatchDeployment> responseObserver) Get an OS Config patch deployment.voidgetPatchJob(PatchJobs.GetPatchJobRequest request, io.grpc.stub.StreamObserver<PatchJobs.PatchJob> responseObserver) Get the patch job.voidlistPatchDeployments(PatchDeployments.ListPatchDeploymentsRequest request, io.grpc.stub.StreamObserver<PatchDeployments.ListPatchDeploymentsResponse> responseObserver) Get a page of OS Config patch deployments.voidlistPatchJobInstanceDetails(PatchJobs.ListPatchJobInstanceDetailsRequest request, io.grpc.stub.StreamObserver<PatchJobs.ListPatchJobInstanceDetailsResponse> responseObserver) Get a list of instance details for a given patch job.voidlistPatchJobs(PatchJobs.ListPatchJobsRequest request, io.grpc.stub.StreamObserver<PatchJobs.ListPatchJobsResponse> responseObserver) Get a list of patch jobs.voidpausePatchDeployment(PatchDeployments.PausePatchDeploymentRequest request, io.grpc.stub.StreamObserver<PatchDeployments.PatchDeployment> responseObserver) Change state of patch deployment to "PAUSED".voidresumePatchDeployment(PatchDeployments.ResumePatchDeploymentRequest request, io.grpc.stub.StreamObserver<PatchDeployments.PatchDeployment> responseObserver) Change state of patch deployment back to "ACTIVE".voidupdatePatchDeployment(PatchDeployments.UpdatePatchDeploymentRequest request, io.grpc.stub.StreamObserver<PatchDeployments.PatchDeployment> responseObserver) Update an OS Config patch deployment.Methods inherited from class io.grpc.stub.AbstractAsyncStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected OsConfigServiceGrpc.OsConfigServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<OsConfigServiceGrpc.OsConfigServiceStub>
-
executePatchJob
public void executePatchJob(PatchJobs.ExecutePatchJobRequest request, io.grpc.stub.StreamObserver<PatchJobs.PatchJob> responseObserver) Patch VM instances by creating and running a patch job.
-
getPatchJob
public void getPatchJob(PatchJobs.GetPatchJobRequest request, io.grpc.stub.StreamObserver<PatchJobs.PatchJob> responseObserver) 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 void cancelPatchJob(PatchJobs.CancelPatchJobRequest request, io.grpc.stub.StreamObserver<PatchJobs.PatchJob> responseObserver) Cancel a patch job. The patch job must be active. Canceled patch jobs cannot be restarted.
-
listPatchJobs
public void listPatchJobs(PatchJobs.ListPatchJobsRequest request, io.grpc.stub.StreamObserver<PatchJobs.ListPatchJobsResponse> responseObserver) Get a list of patch jobs.
-
listPatchJobInstanceDetails
public void listPatchJobInstanceDetails(PatchJobs.ListPatchJobInstanceDetailsRequest request, io.grpc.stub.StreamObserver<PatchJobs.ListPatchJobInstanceDetailsResponse> responseObserver) Get a list of instance details for a given patch job.
-
createPatchDeployment
public void createPatchDeployment(PatchDeployments.CreatePatchDeploymentRequest request, io.grpc.stub.StreamObserver<PatchDeployments.PatchDeployment> responseObserver) Create an OS Config patch deployment.
-
getPatchDeployment
public void getPatchDeployment(PatchDeployments.GetPatchDeploymentRequest request, io.grpc.stub.StreamObserver<PatchDeployments.PatchDeployment> responseObserver) Get an OS Config patch deployment.
-
listPatchDeployments
public void listPatchDeployments(PatchDeployments.ListPatchDeploymentsRequest request, io.grpc.stub.StreamObserver<PatchDeployments.ListPatchDeploymentsResponse> responseObserver) Get a page of OS Config patch deployments.
-
deletePatchDeployment
public void deletePatchDeployment(PatchDeployments.DeletePatchDeploymentRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Delete an OS Config patch deployment.
-
updatePatchDeployment
public void updatePatchDeployment(PatchDeployments.UpdatePatchDeploymentRequest request, io.grpc.stub.StreamObserver<PatchDeployments.PatchDeployment> responseObserver) Update an OS Config patch deployment.
-
pausePatchDeployment
public void pausePatchDeployment(PatchDeployments.PausePatchDeploymentRequest request, io.grpc.stub.StreamObserver<PatchDeployments.PatchDeployment> responseObserver) Change state of patch deployment to "PAUSED". Patch deployment in paused state doesn't generate patch jobs.
-
resumePatchDeployment
public void resumePatchDeployment(PatchDeployments.ResumePatchDeploymentRequest request, io.grpc.stub.StreamObserver<PatchDeployments.PatchDeployment> responseObserver) Change state of patch deployment back to "ACTIVE". Patch deployment in active state continues to generate patch jobs.
-