Package com.google.cloud.osconfig.v1beta
Class OsConfigServiceGrpc.OsConfigServiceStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<OsConfigServiceGrpc.OsConfigServiceStub>
com.google.cloud.osconfig.v1beta.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.voidcreateGuestPolicy(GuestPolicies.CreateGuestPolicyRequest request, io.grpc.stub.StreamObserver<GuestPolicies.GuestPolicy> responseObserver) Create an OS Config guest policy.voidcreatePatchDeployment(PatchDeployments.CreatePatchDeploymentRequest request, io.grpc.stub.StreamObserver<PatchDeployments.PatchDeployment> responseObserver) Create an OS Config patch deployment.voiddeleteGuestPolicy(GuestPolicies.DeleteGuestPolicyRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Delete an OS Config guest policy.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.voidgetGuestPolicy(GuestPolicies.GetGuestPolicyRequest request, io.grpc.stub.StreamObserver<GuestPolicies.GuestPolicy> responseObserver) Get an OS Config guest policy.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.voidlistGuestPolicies(GuestPolicies.ListGuestPoliciesRequest request, io.grpc.stub.StreamObserver<GuestPolicies.ListGuestPoliciesResponse> responseObserver) Get a page of OS Config guest policies.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.voidlookupEffectiveGuestPolicy(GuestPolicies.LookupEffectiveGuestPolicyRequest request, io.grpc.stub.StreamObserver<GuestPolicies.EffectiveGuestPolicy> responseObserver) Lookup the effective guest policy that applies to a VM instance.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".voidupdateGuestPolicy(GuestPolicies.UpdateGuestPolicyRequest request, io.grpc.stub.StreamObserver<GuestPolicies.GuestPolicy> responseObserver) Update an OS Config guest policy.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.
-
createGuestPolicy
public void createGuestPolicy(GuestPolicies.CreateGuestPolicyRequest request, io.grpc.stub.StreamObserver<GuestPolicies.GuestPolicy> responseObserver) Create an OS Config guest policy.
-
getGuestPolicy
public void getGuestPolicy(GuestPolicies.GetGuestPolicyRequest request, io.grpc.stub.StreamObserver<GuestPolicies.GuestPolicy> responseObserver) Get an OS Config guest policy.
-
listGuestPolicies
public void listGuestPolicies(GuestPolicies.ListGuestPoliciesRequest request, io.grpc.stub.StreamObserver<GuestPolicies.ListGuestPoliciesResponse> responseObserver) Get a page of OS Config guest policies.
-
updateGuestPolicy
public void updateGuestPolicy(GuestPolicies.UpdateGuestPolicyRequest request, io.grpc.stub.StreamObserver<GuestPolicies.GuestPolicy> responseObserver) Update an OS Config guest policy.
-
deleteGuestPolicy
public void deleteGuestPolicy(GuestPolicies.DeleteGuestPolicyRequest request, io.grpc.stub.StreamObserver<com.google.protobuf.Empty> responseObserver) Delete an OS Config guest policy.
-
lookupEffectiveGuestPolicy
public void lookupEffectiveGuestPolicy(GuestPolicies.LookupEffectiveGuestPolicyRequest request, io.grpc.stub.StreamObserver<GuestPolicies.EffectiveGuestPolicy> responseObserver) Lookup the effective guest policy that applies to a VM instance. This lookup merges all policies that are assigned to the instance ancestry.
-