Constructor
new OsConfigZonalService(rpcImpl, requestDelimitedopt, responseDelimitedopt)
Constructs a new OsConfigZonalService service.
Parameters:
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
rpcImpl |
$protobuf.RPCImpl |
RPC implementation |
||
requestDelimited |
boolean |
<optional> |
false |
Whether requests are length-delimited |
responseDelimited |
boolean |
<optional> |
false |
Whether responses are length-delimited |
Extends
- $protobuf.rpc.Service
Methods
(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {OsConfigZonalService}
Creates new OsConfigZonalService service using the specified rpc implementation.
Parameters:
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
rpcImpl |
$protobuf.RPCImpl |
RPC implementation |
||
requestDelimited |
boolean |
<optional> |
false |
Whether requests are length-delimited |
responseDelimited |
boolean |
<optional> |
false |
Whether responses are length-delimited |
Returns:
| Type | Description |
|---|---|
| OsConfigZonalService |
RPC service. Useful where requests and/or responses are streamed. |
getInventory(request, callback) → {undefined}
Calls GetInventory.
Parameters:
| Name | Type | 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 |
Returns:
| Type | Description |
|---|---|
| undefined |
getInventory(request) → {Promise.<google.cloud.osconfig.v1.Inventory>}
Calls GetInventory.
Parameters:
| Name | Type | Description |
|---|---|---|
request |
google.cloud.osconfig.v1.IGetInventoryRequest |
GetInventoryRequest message or plain object |
Returns:
| Type | Description |
|---|---|
| Promise.<google.cloud.osconfig.v1.Inventory> |
Promise |
getVulnerabilityReport(request, callback) → {undefined}
Calls GetVulnerabilityReport.
Parameters:
| Name | Type | Description |
|---|---|---|
request |
google.cloud.osconfig.v1.IGetVulnerabilityReportRequest |
GetVulnerabilityReportRequest message or plain object |
callback |
google.cloud.osconfig.v1.OsConfigZonalService.GetVulnerabilityReportCallback |
Node-style callback called with the error, if any, and VulnerabilityReport |
Returns:
| Type | Description |
|---|---|
| undefined |
getVulnerabilityReport(request) → {Promise.<google.cloud.osconfig.v1.VulnerabilityReport>}
Calls GetVulnerabilityReport.
Parameters:
| Name | Type | Description |
|---|---|---|
request |
google.cloud.osconfig.v1.IGetVulnerabilityReportRequest |
GetVulnerabilityReportRequest message or plain object |
Returns:
| Type | Description |
|---|---|
| Promise.<google.cloud.osconfig.v1.VulnerabilityReport> |
Promise |
listInventories(request, callback) → {undefined}
Calls ListInventories.
Parameters:
| Name | Type | Description |
|---|---|---|
request |
google.cloud.osconfig.v1.IListInventoriesRequest |
ListInventoriesRequest message or plain object |
callback |
google.cloud.osconfig.v1.OsConfigZonalService.ListInventoriesCallback |
Node-style callback called with the error, if any, and ListInventoriesResponse |
Returns:
| Type | Description |
|---|---|
| undefined |
listInventories(request) → {Promise.<google.cloud.osconfig.v1.ListInventoriesResponse>}
Calls ListInventories.
Parameters:
| Name | Type | Description |
|---|---|---|
request |
google.cloud.osconfig.v1.IListInventoriesRequest |
ListInventoriesRequest message or plain object |
Returns:
| Type | Description |
|---|---|
| Promise.<google.cloud.osconfig.v1.ListInventoriesResponse> |
Promise |
listVulnerabilityReports(request, callback) → {undefined}
Calls ListVulnerabilityReports.
Parameters:
| Name | Type | Description |
|---|---|---|
request |
google.cloud.osconfig.v1.IListVulnerabilityReportsRequest |
ListVulnerabilityReportsRequest message or plain object |
callback |
google.cloud.osconfig.v1.OsConfigZonalService.ListVulnerabilityReportsCallback |
Node-style callback called with the error, if any, and ListVulnerabilityReportsResponse |
Returns:
| Type | Description |
|---|---|
| undefined |
listVulnerabilityReports(request) → {Promise.<google.cloud.osconfig.v1.ListVulnerabilityReportsResponse>}
Calls ListVulnerabilityReports.
Parameters:
| Name | Type | Description |
|---|---|---|
request |
google.cloud.osconfig.v1.IListVulnerabilityReportsRequest |
ListVulnerabilityReportsRequest message or plain object |
Returns:
| Type | Description |
|---|---|
| Promise.<google.cloud.osconfig.v1.ListVulnerabilityReportsResponse> |
Promise |
Type Definitions
GetInventoryCallback(error, responseopt)
Callback as used by google.cloud.osconfig.v1.OsConfigZonalService#getInventory.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.osconfig.v1.Inventory |
<optional> |
Inventory |
GetVulnerabilityReportCallback(error, responseopt)
Callback as used by google.cloud.osconfig.v1.OsConfigZonalService#getVulnerabilityReport.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.osconfig.v1.VulnerabilityReport |
<optional> |
VulnerabilityReport |
ListInventoriesCallback(error, responseopt)
Callback as used by google.cloud.osconfig.v1.OsConfigZonalService#listInventories.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.osconfig.v1.ListInventoriesResponse |
<optional> |
ListInventoriesResponse |
ListVulnerabilityReportsCallback(error, responseopt)
Callback as used by google.cloud.osconfig.v1.OsConfigZonalService#listVulnerabilityReports.
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.osconfig.v1.ListVulnerabilityReportsResponse |
<optional> |
ListVulnerabilityReportsResponse |