Class OsConfigZonalServiceGrpc.OsConfigZonalServiceStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<OsConfigZonalServiceGrpc.OsConfigZonalServiceStub>
-
- com.google.cloud.osconfig.v1alpha.OsConfigZonalServiceGrpc.OsConfigZonalServiceStub
-
- Enclosing class:
- OsConfigZonalServiceGrpc
public static final class OsConfigZonalServiceGrpc.OsConfigZonalServiceStub extends io.grpc.stub.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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected OsConfigZonalServiceGrpc.OsConfigZonalServiceStubbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions)voidcreateOSPolicyAssignment(CreateOSPolicyAssignmentRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Create an OS policy assignment.voiddeleteOSPolicyAssignment(DeleteOSPolicyAssignmentRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Delete the OS policy assignment.voidgetInstanceOSPoliciesCompliance(GetInstanceOSPoliciesComplianceRequest request, io.grpc.stub.StreamObserver<InstanceOSPoliciesCompliance> responseObserver)Deprecated.voidgetInventory(GetInventoryRequest request, io.grpc.stub.StreamObserver<Inventory> responseObserver)Get inventory data for the specified VM instance.voidgetOSPolicyAssignment(GetOSPolicyAssignmentRequest request, io.grpc.stub.StreamObserver<OSPolicyAssignment> responseObserver)Retrieve an existing OS policy assignment.voidgetOSPolicyAssignmentReport(GetOSPolicyAssignmentReportRequest request, io.grpc.stub.StreamObserver<OSPolicyAssignmentReport> responseObserver)Get the OS policy asssignment report for the specified Compute Engine VM instance.voidgetVulnerabilityReport(GetVulnerabilityReportRequest request, io.grpc.stub.StreamObserver<VulnerabilityReport> responseObserver)Gets the vulnerability report for the specified VM instance.voidlistInstanceOSPoliciesCompliances(ListInstanceOSPoliciesCompliancesRequest request, io.grpc.stub.StreamObserver<ListInstanceOSPoliciesCompliancesResponse> responseObserver)Deprecated.voidlistInventories(ListInventoriesRequest request, io.grpc.stub.StreamObserver<ListInventoriesResponse> responseObserver)List inventory data for all VM instances in the specified zone.voidlistOSPolicyAssignmentReports(ListOSPolicyAssignmentReportsRequest request, io.grpc.stub.StreamObserver<ListOSPolicyAssignmentReportsResponse> responseObserver)List OS policy asssignment reports for all Compute Engine VM instances in the specified zone.voidlistOSPolicyAssignmentRevisions(ListOSPolicyAssignmentRevisionsRequest request, io.grpc.stub.StreamObserver<ListOSPolicyAssignmentRevisionsResponse> responseObserver)List the OS policy assignment revisions for a given OS policy assignment.voidlistOSPolicyAssignments(ListOSPolicyAssignmentsRequest request, io.grpc.stub.StreamObserver<ListOSPolicyAssignmentsResponse> responseObserver)List the OS policy assignments under the parent resource.voidlistVulnerabilityReports(ListVulnerabilityReportsRequest request, io.grpc.stub.StreamObserver<ListVulnerabilityReportsResponse> responseObserver)List vulnerability reports for all VM instances in the specified zone.voidupdateOSPolicyAssignment(UpdateOSPolicyAssignmentRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)Update an existing OS policy assignment.
-
-
-
Method Detail
-
build
protected OsConfigZonalServiceGrpc.OsConfigZonalServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
buildin classio.grpc.stub.AbstractStub<OsConfigZonalServiceGrpc.OsConfigZonalServiceStub>
-
createOSPolicyAssignment
public 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/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
-
updateOSPolicyAssignment
public 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/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
-
getOSPolicyAssignment
public 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
public 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.
-
listOSPolicyAssignmentRevisions
public void listOSPolicyAssignmentRevisions(ListOSPolicyAssignmentRevisionsRequest request, io.grpc.stub.StreamObserver<ListOSPolicyAssignmentRevisionsResponse> responseObserver)
List the OS policy assignment revisions for a given OS policy assignment.
-
deleteOSPolicyAssignment
public 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/v1alpha/projects.locations.osPolicyAssignments.operations/cancel).
-
getInstanceOSPoliciesCompliance
@Deprecated public void getInstanceOSPoliciesCompliance(GetInstanceOSPoliciesComplianceRequest request, io.grpc.stub.StreamObserver<InstanceOSPoliciesCompliance> responseObserver)
Deprecated.Get OS policies compliance data for the specified Compute Engine VM instance.
-
listInstanceOSPoliciesCompliances
@Deprecated public void listInstanceOSPoliciesCompliances(ListInstanceOSPoliciesCompliancesRequest request, io.grpc.stub.StreamObserver<ListInstanceOSPoliciesCompliancesResponse> responseObserver)
Deprecated.List OS policies compliance data for all Compute Engine VM instances in the specified zone.
-
getOSPolicyAssignmentReport
public void getOSPolicyAssignmentReport(GetOSPolicyAssignmentReportRequest request, io.grpc.stub.StreamObserver<OSPolicyAssignmentReport> responseObserver)
Get the OS policy asssignment report for the specified Compute Engine VM instance.
-
listOSPolicyAssignmentReports
public void listOSPolicyAssignmentReports(ListOSPolicyAssignmentReportsRequest request, io.grpc.stub.StreamObserver<ListOSPolicyAssignmentReportsResponse> responseObserver)
List OS policy asssignment reports for all Compute Engine VM instances in the specified zone.
-
getInventory
public 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.
-
listInventories
public void listInventories(ListInventoriesRequest request, io.grpc.stub.StreamObserver<ListInventoriesResponse> responseObserver)
List inventory data for all VM instances in the specified zone.
-
getVulnerabilityReport
public 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.
-
listVulnerabilityReports
public void listVulnerabilityReports(ListVulnerabilityReportsRequest request, io.grpc.stub.StreamObserver<ListVulnerabilityReportsResponse> responseObserver)
List vulnerability reports for all VM instances in the specified zone.
-
-