Class protos.google.cloud.osconfig.v1.OsConfigZonalService (1.10.0)

Represents an OsConfigZonalService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.osconfig.v1.OsConfigZonalService

Package

@google-cloud/os-config

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new OsConfigZonalService service.

Parameters
NameDescription
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.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
TypeDescription
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.

Parameters
NameDescription
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
TypeDescription
void

getInventory(request)

public getInventory(request: google.cloud.osconfig.v1.IGetInventoryRequest): Promise<google.cloud.osconfig.v1.Inventory>;

Calls GetInventory.

Parameter
NameDescription
request google.cloud.osconfig.v1.IGetInventoryRequest

GetInventoryRequest message or plain object

Returns
TypeDescription
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.

Parameters
NameDescription
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

Returns
TypeDescription
void

getVulnerabilityReport(request)

public getVulnerabilityReport(request: google.cloud.osconfig.v1.IGetVulnerabilityReportRequest): Promise<google.cloud.osconfig.v1.VulnerabilityReport>;

Calls GetVulnerabilityReport.

Parameter
NameDescription
request IGetVulnerabilityReportRequest

GetVulnerabilityReportRequest message or plain object

Returns
TypeDescription
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.

Parameters
NameDescription
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

Returns
TypeDescription
void

listInventories(request)

public listInventories(request: google.cloud.osconfig.v1.IListInventoriesRequest): Promise<google.cloud.osconfig.v1.ListInventoriesResponse>;

Calls ListInventories.

Parameter
NameDescription
request IListInventoriesRequest

ListInventoriesRequest message or plain object

Returns
TypeDescription
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.

Parameters
NameDescription
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

Returns
TypeDescription
void

listVulnerabilityReports(request)

public listVulnerabilityReports(request: google.cloud.osconfig.v1.IListVulnerabilityReportsRequest): Promise<google.cloud.osconfig.v1.ListVulnerabilityReportsResponse>;

Calls ListVulnerabilityReports.

Parameter
NameDescription
request IListVulnerabilityReportsRequest

ListVulnerabilityReportsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.osconfig.v1.ListVulnerabilityReportsResponse>

Promise