Package com.google.cloud.osconfig.v1beta
Class OsConfigServiceGrpc.OsConfigServiceBlockingStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractBlockingStub<OsConfigServiceGrpc.OsConfigServiceBlockingStub>
com.google.cloud.osconfig.v1beta.OsConfigServiceGrpc.OsConfigServiceBlockingStub
- Enclosing class:
- OsConfigServiceGrpc
public static final class OsConfigServiceGrpc.OsConfigServiceBlockingStub
extends io.grpc.stub.AbstractBlockingStub<OsConfigServiceGrpc.OsConfigServiceBlockingStub>
A stub to allow clients to do limited synchronous 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 TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) Cancel a patch job.Create an OS Config guest policy.Create an OS Config patch deployment.com.google.protobuf.EmptyDelete an OS Config guest policy.com.google.protobuf.EmptyDelete an OS Config patch deployment.Patch VM instances by creating and running a patch job.Get an OS Config guest policy.Get an OS Config patch deployment.getPatchJob(PatchJobs.GetPatchJobRequest request) Get the patch job.Get a page of OS Config guest policies.Get a page of OS Config patch deployments.Get a list of instance details for a given patch job.Get a list of patch jobs.Lookup the effective guest policy that applies to a VM instance.Change state of patch deployment to "PAUSED".Change state of patch deployment back to "ACTIVE".Update an OS Config guest policy.Update an OS Config patch deployment.Methods inherited from class io.grpc.stub.AbstractBlockingStub
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.OsConfigServiceBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<OsConfigServiceGrpc.OsConfigServiceBlockingStub>
-
executePatchJob
Patch VM instances by creating and running a patch job.
-
getPatchJob
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
Cancel a patch job. The patch job must be active. Canceled patch jobs cannot be restarted.
-
listPatchJobs
Get a list of patch jobs.
-
listPatchJobInstanceDetails
public PatchJobs.ListPatchJobInstanceDetailsResponse listPatchJobInstanceDetails(PatchJobs.ListPatchJobInstanceDetailsRequest request) Get a list of instance details for a given patch job.
-
createPatchDeployment
public PatchDeployments.PatchDeployment createPatchDeployment(PatchDeployments.CreatePatchDeploymentRequest request) Create an OS Config patch deployment.
-
getPatchDeployment
public PatchDeployments.PatchDeployment getPatchDeployment(PatchDeployments.GetPatchDeploymentRequest request) Get an OS Config patch deployment.
-
listPatchDeployments
public PatchDeployments.ListPatchDeploymentsResponse listPatchDeployments(PatchDeployments.ListPatchDeploymentsRequest request) Get a page of OS Config patch deployments.
-
deletePatchDeployment
public com.google.protobuf.Empty deletePatchDeployment(PatchDeployments.DeletePatchDeploymentRequest request) Delete an OS Config patch deployment.
-
updatePatchDeployment
public PatchDeployments.PatchDeployment updatePatchDeployment(PatchDeployments.UpdatePatchDeploymentRequest request) Update an OS Config patch deployment.
-
pausePatchDeployment
public 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 PatchDeployments.PatchDeployment resumePatchDeployment(PatchDeployments.ResumePatchDeploymentRequest request) Change state of patch deployment back to "ACTIVE". Patch deployment in active state continues to generate patch jobs.
-
createGuestPolicy
Create an OS Config guest policy.
-
getGuestPolicy
Get an OS Config guest policy.
-
listGuestPolicies
public GuestPolicies.ListGuestPoliciesResponse listGuestPolicies(GuestPolicies.ListGuestPoliciesRequest request) Get a page of OS Config guest policies.
-
updateGuestPolicy
Update an OS Config guest policy.
-
deleteGuestPolicy
Delete an OS Config guest policy.
-
lookupEffectiveGuestPolicy
public GuestPolicies.EffectiveGuestPolicy lookupEffectiveGuestPolicy(GuestPolicies.LookupEffectiveGuestPolicyRequest request) Lookup the effective guest policy that applies to a VM instance. This lookup merges all policies that are assigned to the instance ancestry.
-