Interface OsConfigZonalServiceGrpc.AsyncService (2.53.0)

public static interface OsConfigZonalServiceGrpc.AsyncService

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.

Methods

createOSPolicyAssignment(CreateOSPolicyAssignmentRequest request, StreamObserver<Operation> responseObserver)

public default 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.

Parameters
Name Description
request CreateOSPolicyAssignmentRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

deleteOSPolicyAssignment(DeleteOSPolicyAssignmentRequest request, StreamObserver<Operation> responseObserver)

public default void deleteOSPolicyAssignment(DeleteOSPolicyAssignmentRequest request, StreamObserver<Operation> responseObserver)

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.

Parameters
Name Description
request DeleteOSPolicyAssignmentRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

getInstanceOSPoliciesCompliance(GetInstanceOSPoliciesComplianceRequest request, StreamObserver<InstanceOSPoliciesCompliance> responseObserver) (deprecated)

public default void getInstanceOSPoliciesCompliance(GetInstanceOSPoliciesComplianceRequest request, StreamObserver<InstanceOSPoliciesCompliance> responseObserver)

Get OS policies compliance data for the specified Compute Engine VM instance.

Parameters
Name Description
request GetInstanceOSPoliciesComplianceRequest
responseObserver io.grpc.stub.StreamObserver<