public static final class OsConfigZonalServiceGrpc.OsConfigZonalServiceStub extends io.grpc.stub.AbstractAsyncStub<OsConfigZonalServiceGrpc.OsConfigZonalServiceStub>
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.
| Modifier and Type | Method and Description |
|---|---|
protected OsConfigZonalServiceGrpc.OsConfigZonalServiceStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
void |
getInventory(GetInventoryRequest request,
io.grpc.stub.StreamObserver<Inventory> responseObserver)
Get inventory data for the specified VM instance.
|
void |
getVulnerabilityReport(GetVulnerabilityReportRequest request,
io.grpc.stub.StreamObserver<VulnerabilityReport> responseObserver)
Gets the vulnerability report for the specified VM instance.
|
void |
listInventories(ListInventoriesRequest request,
io.grpc.stub.StreamObserver<ListInventoriesResponse> responseObserver)
List inventory data for all VM instances in the specified zone.
|
void |
listVulnerabilityReports(ListVulnerabilityReportsRequest request,
io.grpc.stub.StreamObserver<ListVulnerabilityReportsResponse> responseObserver)
List vulnerability reports for all VM instances in the specified zone.
|
protected OsConfigZonalServiceGrpc.OsConfigZonalServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build in class io.grpc.stub.AbstractStub<OsConfigZonalServiceGrpc.OsConfigZonalServiceStub>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.
public void listInventories(ListInventoriesRequest request, io.grpc.stub.StreamObserver<ListInventoriesResponse> responseObserver)
List inventory data for all VM instances in the specified zone.
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.
public void listVulnerabilityReports(ListVulnerabilityReportsRequest request, io.grpc.stub.StreamObserver<ListVulnerabilityReportsResponse> responseObserver)
List vulnerability reports for all VM instances in the specified zone.
Copyright © 2021 Google LLC. All rights reserved.