Class OsConfigZonalServiceGrpc.OsConfigZonalServiceBlockingStub (2.34.0)

public static final class OsConfigZonalServiceGrpc.OsConfigZonalServiceBlockingStub extends AbstractBlockingStub<OsConfigZonalServiceGrpc.OsConfigZonalServiceBlockingStub>

A stub to allow clients to do synchronous 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.AbstractBlockingStub > OsConfigZonalServiceGrpc.OsConfigZonalServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

createOSPolicyAssignment(CreateOSPolicyAssignmentRequest request)

public Operation createOSPolicyAssignment(CreateOSPolicyAssignmentRequest request)

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.

Parameter
NameDescription
requestCreateOSPolicyAssignmentRequest
Returns
TypeDescription
Operation

deleteOSPolicyAssignment(DeleteOSPolicyAssignmentRequest request)

public Operation deleteOSPolicyAssignment(DeleteOSPolicyAssignmentRequest request)

Delete the OS policy assignment. This method creates a new 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. If the LRO completes and is not cancelled, all revisions associated with the OS policy assignment are deleted. For more information, see Method: projects.locations.osPolicyAssignments.operations.cancel.

Parameter
NameDescription
requestDeleteOSPolicyAssignmentRequest
Returns
TypeDescription
Operation

getInstanceOSPoliciesCompliance(GetInstanceOSPoliciesComplianceRequest request) (deprecated)

public