[BindServiceMethod(typeof(OsConfigZonalService), "BindService")]
public abstract class OsConfigZonalServiceBase
Base class for server-side implementations of OsConfigZonalService
Namespace
Google.Cloud.OsConfig.V1Assembly
Google.Cloud.OsConfig.V1.dll
Methods
GetInventory(GetInventoryRequest, ServerCallContext)
public virtual Task<Inventory> GetInventory(GetInventoryRequest request, ServerCallContext context)
Get inventory data for the specified VM instance. If the VM has no
associated inventory, the message NOT_FOUND
is returned.
Parameters | |
---|---|
Name | Description |
request | GetInventoryRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<Inventory> | The response to send back to the client (wrapped by a task). |
GetVulnerabilityReport(GetVulnerabilityReportRequest, ServerCallContext)
public virtual Task<VulnerabilityReport> GetVulnerabilityReport(GetVulnerabilityReportRequest request, ServerCallContext context)
Gets the vulnerability report for the specified VM instance. Only VMs with inventory data have vulnerability reports associated with them.
Parameters | |
---|---|
Name | Description |
request | GetVulnerabilityReportRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<VulnerabilityReport> | The response to send back to the client (wrapped by a task). |
ListInventories(ListInventoriesRequest, ServerCallContext)
public virtual Task<ListInventoriesResponse> ListInventories(ListInventoriesRequest request, ServerCallContext context)
List inventory data for all VM instances in the specified zone.
Parameters | |
---|---|
Name | Description |
request | ListInventoriesRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ListInventoriesResponse> | The response to send back to the client (wrapped by a task). |
ListVulnerabilityReports(ListVulnerabilityReportsRequest, ServerCallContext)
public virtual Task<ListVulnerabilityReportsResponse> ListVulnerabilityReports(ListVulnerabilityReportsRequest request, ServerCallContext context)
List vulnerability reports for all VM instances in the specified zone.
Parameters | |
---|---|
Name | Description |
request | ListVulnerabilityReportsRequest The request received from the client. |
context | ServerCallContext The context of the server-side call handler being invoked. |
Returns | |
---|---|
Type | Description |
Task<ListVulnerabilityReportsResponse> | The response to send back to the client (wrapped by a task). |