Interface OsConfigZonalServiceGrpc.AsyncService

    • Method Detail

      • createOSPolicyAssignment

        default void createOSPolicyAssignment​(CreateOSPolicyAssignmentRequest request,
                                              io.grpc.stub.StreamObserver<com.google.longrunning.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](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
         
      • updateOSPolicyAssignment

        default void updateOSPolicyAssignment​(UpdateOSPolicyAssignmentRequest request,
                                              io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
         Update an existing 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.
         For more information, see [Method:
         projects.locations.osPolicyAssignments.operations.cancel](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
         
      • getOSPolicyAssignment

        default void getOSPolicyAssignment​(GetOSPolicyAssignmentRequest request,
                                           io.grpc.stub.StreamObserver<OSPolicyAssignment> responseObserver)
         Retrieve an existing OS policy assignment.
         This method always returns the latest revision. In order to retrieve a
         previous revision of the assignment, also provide the revision ID in the
         `name` parameter.
         
      • listOSPolicyAssignments

        default void listOSPolicyAssignments​(ListOSPolicyAssignmentsRequest request,
                                             io.grpc.stub.StreamObserver<ListOSPolicyAssignmentsResponse> responseObserver)
         List the OS policy assignments under the parent resource.
         For each OS policy assignment, the latest revision is returned.
         
      • deleteOSPolicyAssignment

        default void deleteOSPolicyAssignment​(DeleteOSPolicyAssignmentRequest request,
                                              io.grpc.stub.StreamObserver<com.google.longrunning.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](https://cloud.google.com/compute/docs/osconfig/rest/v1/projects.locations.osPolicyAssignments.operations/cancel).
         
      • getInventory

        default void getInventory​(GetInventoryRequest request,
                                  io.grpc.stub.StreamObserver<Inventory> responseObserver)
         Get inventory data for the specified VM instance. If the VM has no
         associated inventory, the message `NOT_FOUND` is returned.
         
      • getVulnerabilityReport

        default void getVulnerabilityReport​(GetVulnerabilityReportRequest request,
                                            io.grpc.stub.StreamObserver<VulnerabilityReport> responseObserver)
         Gets the vulnerability report for the specified VM instance. Only VMs with
         inventory data have vulnerability reports associated with them.