Class OsConfigServiceGrpc.OsConfigServiceBlockingStub (2.42.0)

public static final class OsConfigServiceGrpc.OsConfigServiceBlockingStub extends AbstractBlockingStub<OsConfigServiceGrpc.OsConfigServiceBlockingStub>

A stub to allow clients to do 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.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > OsConfigServiceGrpc.OsConfigServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected OsConfigServiceGrpc.OsConfigServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
OsConfigServiceGrpc.OsConfigServiceBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

cancelPatchJob(PatchJobs.CancelPatchJobRequest request)

public PatchJobs.PatchJob cancelPatchJob(PatchJobs.CancelPatchJobRequest request)

Cancel a patch job. The patch job must be active. Canceled patch jobs cannot be restarted.

Parameter
NameDescription
requestPatchJobs.CancelPatchJobRequest
Returns
TypeDescription
PatchJobs.PatchJob

createGuestPolicy(GuestPolicies.CreateGuestPolicyRequest request)

public GuestPolicies.GuestPolicy createGuestPolicy(GuestPolicies.CreateGuestPolicyRequest request)

Create an OS Config guest policy.

Parameter
NameDescription
requestGuestPolicies.CreateGuestPolicyRequest
Returns
TypeDescription
GuestPolicies.GuestPolicy

createPatchDeployment(PatchDeployments.CreatePatchDeploymentRequest request)

public PatchDeployments.PatchDeployment createPatchDeployment(PatchDeployments.CreatePatchDeploymentRequest request)

Create an OS Config patch deployment.

Parameter
NameDescription
requestPatchDeployments.CreatePatchDeploymentRequest
Returns
TypeDescription
PatchDeployments.PatchDeployment

deleteGuestPolicy(GuestPolicies.DeleteGuestPolicyRequest request)

public Empty deleteGuestPolicy(GuestPolicies.DeleteGuestPolicyRequest request)

Delete an OS Config guest policy.

Parameter
Name