Class OsConfigZonalServiceGrpc.OsConfigZonalServiceStub (2.48.0)

public static final class OsConfigZonalServiceGrpc.OsConfigZonalServiceStub extends AbstractAsyncStub<OsConfigZonalServiceGrpc.OsConfigZonalServiceStub>

A stub to allow clients to do asynchronous rpc calls to service OsConfigZonalService.

Zonal OS Config API The OS Config service is the server-side component that allows users to manage package installations and patch jobs for Compute Engine VM instances.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > OsConfigZonalServiceGrpc.OsConfigZonalServiceStub

Methods

build(Channel channel, CallOptions callOptions)

protected OsConfigZonalServiceGrpc.OsConfigZonalServiceStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
OsConfigZonalServiceGrpc.OsConfigZonalServiceStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createOSPolicyAssignment(CreateOSPolicyAssignmentRequest request, StreamObserver<Operation> responseObserver)

public void createOSPolicyAssignment(CreateOSPolicyAssignmentRequest request, StreamObserver<Operation> responseObserver)

Create an OS policy assignment. This method also creates the first revision of the OS policy assignment. This method returns a long running operation (LRO) that contains the rollout details. The rollout can be cancelled by cancelling the LRO. For more information, see Method: projects.locations.osPolicyAssignments.operations.cancel.