Represents an OsConfigZonalService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.osconfig.v1.OsConfigZonalServicePackage
@google-cloud/os-configConstructors
(constructor)(rpcImpl, requestDelimited, responseDelimited)
constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
Constructs a new OsConfigZonalService service.
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Methods
create(rpcImpl, requestDelimited, responseDelimited)
public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): OsConfigZonalService;
Creates new OsConfigZonalService service using the specified rpc implementation.
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Type | Description |
OsConfigZonalService | RPC service. Useful where requests and/or responses are streamed. |
getInventory(request, callback)
public getInventory(request: google.cloud.osconfig.v1.IGetInventoryRequest, callback: google.cloud.osconfig.v1.OsConfigZonalService.GetInventoryCallback): void;
Calls GetInventory.
Name | Description |
request |
google.cloud.osconfig.v1.IGetInventoryRequest
GetInventoryRequest message or plain object |
callback |
google.cloud.osconfig.v1.OsConfigZonalService.GetInventoryCallback
Node-style callback called with the error, if any, and Inventory |
Type | Description |
void |
getInventory(request)
public getInventory(request: google.cloud.osconfig.v1.IGetInventoryRequest): Promise<google.cloud.osconfig.v1.Inventory>;
Calls GetInventory.
Name | Description |
request |
google.cloud.osconfig.v1.IGetInventoryRequest
GetInventoryRequest message or plain object |
Type | Description |
Promise<google.cloud.osconfig.v1.Inventory> | Promise |
getVulnerabilityReport(request, callback)
public getVulnerabilityReport(request: google.cloud.osconfig.v1.IGetVulnerabilityReportRequest, callback: google.cloud.osconfig.v1.OsConfigZonalService.GetVulnerabilityReportCallback): void;
Calls GetVulnerabilityReport.
Name | Description |
request |
IGetVulnerabilityReportRequest
GetVulnerabilityReportRequest message or plain object |
callback |
google.cloud.osconfig.v1.OsConfigZonalService.GetVulnerabilityReportCallback
Node-style callback called with the error, if any, and VulnerabilityReport |
Type | Description |
void |
getVulnerabilityReport(request)
public getVulnerabilityReport(request: google.cloud.osconfig.v1.IGetVulnerabilityReportRequest): Promise<google.cloud.osconfig.v1.VulnerabilityReport>;
Calls GetVulnerabilityReport.
Name | Description |
request |
IGetVulnerabilityReportRequest
GetVulnerabilityReportRequest message or plain object |
Type | Description |
Promise<google.cloud.osconfig.v1.VulnerabilityReport> | Promise |
listInventories(request, callback)
public listInventories(request: google.cloud.osconfig.v1.IListInventoriesRequest, callback: google.cloud.osconfig.v1.OsConfigZonalService.ListInventoriesCallback): void;
Calls ListInventories.
Name | Description |
request |
IListInventoriesRequest
ListInventoriesRequest message or plain object |
callback |
google.cloud.osconfig.v1.OsConfigZonalService.ListInventoriesCallback
Node-style callback called with the error, if any, and ListInventoriesResponse |
Type | Description |
void |
listInventories(request)
public listInventories(request: google.cloud.osconfig.v1.IListInventoriesRequest): Promise<google.cloud.osconfig.v1.ListInventoriesResponse>;
Calls ListInventories.
Name | Description |
request |
IListInventoriesRequest
ListInventoriesRequest message or plain object |
Type | Description |
Promise<google.cloud.osconfig.v1.ListInventoriesResponse> | Promise |
listVulnerabilityReports(request, callback)
public listVulnerabilityReports(request: google.cloud.osconfig.v1.IListVulnerabilityReportsRequest, callback: google.cloud.osconfig.v1.OsConfigZonalService.ListVulnerabilityReportsCallback): void;
Calls ListVulnerabilityReports.
Name | Description |
request |
IListVulnerabilityReportsRequest
ListVulnerabilityReportsRequest message or plain object |
callback |
google.cloud.osconfig.v1.OsConfigZonalService.ListVulnerabilityReportsCallback
Node-style callback called with the error, if any, and ListVulnerabilityReportsResponse |
Type | Description |
void |
listVulnerabilityReports(request)
public listVulnerabilityReports(request: google.cloud.osconfig.v1.IListVulnerabilityReportsRequest): Promise<google.cloud.osconfig.v1.ListVulnerabilityReportsResponse>;
Calls ListVulnerabilityReports.
Name | Description |
request |
IListVulnerabilityReportsRequest
ListVulnerabilityReportsRequest message or plain object |
Type | Description |
Promise<google.cloud.osconfig.v1.ListVulnerabilityReportsResponse> | Promise |