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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected OsConfigServiceGrpc.OsConfigServiceStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
void
cancelPatchJob(PatchJobs.CancelPatchJobRequest request, io.grpc.stub.StreamObserver<PatchJobs.PatchJob> responseObserver)
Cancel a patch job.void
createPatchDeployment(PatchDeployments.CreatePatchDeploymentRequest request, io.grpc.stub.StreamObserver<PatchDeployments.PatchDeployment> responseObserver)
Create an OS Config patch deployment.void
deletePatchDeployment(PatchDeployments.DeletePatchDeploymentRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver)
Delete an OS Config patch deployment.void
executePatchJob(PatchJobs.ExecutePatchJobRequest request, io.grpc.stub.StreamObserver<PatchJobs.PatchJob> responseObserver)
Patch VM instances by creating and running a patch job.void
getPatchDeployment(PatchDeployments.GetPatchDeploymentRequest request, io.grpc.stub.StreamObserver<PatchDeployments.PatchDeployment> responseObserver)
Get an OS Config patch deployment.void
getPatchJob(PatchJobs.GetPatchJobRequest request, io.grpc.stub.StreamObserver<PatchJobs.PatchJob> responseObserver)
Get the patch job.void
listPatchDeployments(PatchDeployments.ListPatchDeploymentsRequest request, io.grpc.stub.StreamObserver<PatchDeployments.ListPatchDeploymentsResponse> responseObserver)
Get a page of OS Config patch deployments.void
listPatchJobInstanceDetails(PatchJobs.ListPatchJobInstanceDetailsRequest request, io.grpc.stub.StreamObserver<PatchJobs.ListPatchJobInstanceDetailsResponse> responseObserver)
Get a list of instance details for a given patch job.void
listPatchJobs(PatchJobs.ListPatchJobsRequest request, io.grpc.stub.StreamObserver<PatchJobs.ListPatchJobsResponse> responseObserver)
Get a list of patch jobs.void
pausePatchDeployment(PatchDeployments.PausePatchDeploymentRequest request, io.grpc.stub.StreamObserver<PatchDeployments.PatchDeployment> responseObserver)
Change state of patch deployment to "PAUSED".void
resumePatchDeployment(PatchDeployments.ResumePatchDeploymentRequest request, io.grpc.stub.StreamObserver<PatchDeployments.PatchDeployment> responseObserver)
Change state of patch deployment back to "ACTIVE".void
updatePatchDeployment(PatchDeployments.UpdatePatchDeploymentRequest request, io.grpc.stub.StreamObserver<PatchDeployments.PatchDeployment> responseObserver)
Update an OS Config patch deployment.
-
-
-
Method Detail
-
build
protected OsConfigServiceGrpc.OsConfigServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in 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.
-
-