Class protos.google.cloud.osconfig.v1.OsConfigZonalService

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.

createOSPolicyAssignment(request, callback)

public createOSPolicyAssignment(request: google.cloud.osconfig.v1.ICreateOSPolicyAssignmentRequest, callback: google.cloud.osconfig.v1.OsConfigZonalService.CreateOSPolicyAssignmentCallback): void;

Calls CreateOSPolicyAssignment.

Parameters
NameDescription
request ICreateOSPolicyAssignmentRequest

CreateOSPolicyAssignmentRequest message or plain object

callback google.cloud.osconfig.v1.OsConfigZonalService.CreateOSPolicyAssignmentCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

createOSPolicyAssignment(request)

public createOSPolicyAssignment(request: google.cloud.osconfig.v1.ICreateOSPolicyAssignmentRequest): Promise<google.longrunning.Operation>;

Calls CreateOSPolicyAssignment.

Parameter
NameDescription
request ICreateOSPolicyAssignmentRequest

CreateOSPolicyAssignmentRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

deleteOSPolicyAssignment(request, callback)

public deleteOSPolicyAssignment(request: google.cloud.osconfig.v1.IDeleteOSPolicyAssignmentRequest, callback: google.cloud.osconfig.v1.OsConfigZonalService.DeleteOSPolicyAssignmentCallback): void;

Calls DeleteOSPolicyAssignment.

Parameters
NameDescription
request IDeleteOSPolicyAssignmentRequest

DeleteOSPolicyAssignmentRequest message or plain object

callback google.cloud.osconfig.v1.OsConfigZonalService.DeleteOSPolicyAssignmentCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

deleteOSPolicyAssignment(request)

public deleteOSPolicyAssignment(request: google.cloud.osconfig.v1.IDeleteOSPolicyAssignmentRequest): Promise<google.longrunning.Operation>;

Calls DeleteOSPolicyAssignment.

Parameter
NameDescription
request IDeleteOSPolicyAssignmentRequest

DeleteOSPolicyAssignmentRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

getInventory(request, callback)

public getInventory(request: google.cloud.osconfig.v1.IGetInventoryRequest, callback: google.cloud.osconfig.v1.OsConfigZonalService.GetInventoryCallback): void;

Calls GetInventory.

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

GetInventoryRequest message or plain object

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

Promise

getOSPolicyAssignment(request, callback)

public getOSPolicyAssignment(request: google.cloud.osconfig.v1.IGetOSPolicyAssignmentRequest, callback: google.cloud.osconfig.v1.OsConfigZonalService.GetOSPolicyAssignmentCallback): void;

Calls GetOSPolicyAssignment.

Parameters
NameDescription
request google.cloud.osconfig.v1.IGetOSPolicyAssignmentRequest

GetOSPolicyAssignmentRequest message or plain object

callback google.cloud.osconfig.v1.OsConfigZonalService.GetOSPolicyAssignmentCallback

Node-style callback called with the error, if any, and OSPolicyAssignment

Returns
TypeDescription
void

getOSPolicyAssignment(request)

public getOSPolicyAssignment(request: google.cloud.osconfig.v1.IGetOSPolicyAssignmentRequest): Promise<google.cloud.osconfig.v1.OSPolicyAssignment>;

Calls GetOSPolicyAssignment.

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

GetOSPolicyAssignmentRequest message or plain object

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

Promise

getOSPolicyAssignmentReport(request, callback)

public getOSPolicyAssignmentReport(request: google.cloud.osconfig.v1.IGetOSPolicyAssignmentReportRequest, callback: google.cloud.osconfig.v1.OsConfigZonalService.GetOSPolicyAssignmentReportCallback): void;

Calls GetOSPolicyAssignmentReport.

Parameters
NameDescription
request google.cloud.osconfig.v1.IGetOSPolicyAssignmentReportRequest

GetOSPolicyAssignmentReportRequest message or plain object

callback google.cloud.osconfig.v1.OsConfigZonalService.GetOSPolicyAssignmentReportCallback

Node-style callback called with the error, if any, and OSPolicyAssignmentReport

Returns
TypeDescription
void

getOSPolicyAssignmentReport(request)

public getOSPolicyAssignmentReport(request: google.cloud.osconfig.v1.IGetOSPolicyAssignmentReportRequest): Promise<google.cloud.osconfig.v1.OSPolicyAssignmentReport>;

Calls GetOSPolicyAssignmentReport.

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

GetOSPolicyAssignmentReportRequest message or plain object

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

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

listOSPolicyAssignmentReports(request, callback)

public listOSPolicyAssignmentReports(request: google.cloud.osconfig.v1.IListOSPolicyAssignmentReportsRequest, callback: google.cloud.osconfig.v1.OsConfigZonalService.ListOSPolicyAssignmentReportsCallback): void;

Calls ListOSPolicyAssignmentReports.

Parameters
NameDescription
request IListOSPolicyAssignmentReportsRequest

ListOSPolicyAssignmentReportsRequest message or plain object

callback google.cloud.osconfig.v1.OsConfigZonalService.ListOSPolicyAssignmentReportsCallback

Node-style callback called with the error, if any, and ListOSPolicyAssignmentReportsResponse

Returns
TypeDescription
void

listOSPolicyAssignmentReports(request)

public listOSPolicyAssignmentReports(request: google.cloud.osconfig.v1.IListOSPolicyAssignmentReportsRequest): Promise<google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse>;

Calls ListOSPolicyAssignmentReports.

Parameter
NameDescription
request IListOSPolicyAssignmentReportsRequest

ListOSPolicyAssignmentReportsRequest message or plain object

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

Promise

listOSPolicyAssignmentRevisions(request, callback)

public listOSPolicyAssignmentRevisions(request: google.cloud.osconfig.v1.IListOSPolicyAssignmentRevisionsRequest, callback: google.cloud.osconfig.v1.OsConfigZonalService.ListOSPolicyAssignmentRevisionsCallback): void;

Calls ListOSPolicyAssignmentRevisions.

Parameters
NameDescription
request IListOSPolicyAssignmentRevisionsRequest

ListOSPolicyAssignmentRevisionsRequest message or plain object

callback google.cloud.osconfig.v1.OsConfigZonalService.ListOSPolicyAssignmentRevisionsCallback

Node-style callback called with the error, if any, and ListOSPolicyAssignmentRevisionsResponse

Returns
TypeDescription
void

listOSPolicyAssignmentRevisions(request)

public listOSPolicyAssignmentRevisions(request: google.cloud.osconfig.v1.IListOSPolicyAssignmentRevisionsRequest): Promise<google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse>;

Calls ListOSPolicyAssignmentRevisions.

Parameter
NameDescription
request IListOSPolicyAssignmentRevisionsRequest

ListOSPolicyAssignmentRevisionsRequest message or plain object

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

Promise

listOSPolicyAssignments(request, callback)

public listOSPolicyAssignments(request: google.cloud.osconfig.v1.IListOSPolicyAssignmentsRequest, callback: google.cloud.osconfig.v1.OsConfigZonalService.ListOSPolicyAssignmentsCallback): void;

Calls ListOSPolicyAssignments.

Parameters
NameDescription
request google.cloud.osconfig.v1.IListOSPolicyAssignmentsRequest

ListOSPolicyAssignmentsRequest message or plain object

callback google.cloud.osconfig.v1.OsConfigZonalService.ListOSPolicyAssignmentsCallback

Node-style callback called with the error, if any, and ListOSPolicyAssignmentsResponse

Returns
TypeDescription
void

listOSPolicyAssignments(request)

public listOSPolicyAssignments(request: google.cloud.osconfig.v1.IListOSPolicyAssignmentsRequest): Promise<google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse>;

Calls ListOSPolicyAssignments.

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

ListOSPolicyAssignmentsRequest message or plain object

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

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

updateOSPolicyAssignment(request, callback)

public updateOSPolicyAssignment(request: google.cloud.osconfig.v1.IUpdateOSPolicyAssignmentRequest, callback: google.cloud.osconfig.v1.OsConfigZonalService.UpdateOSPolicyAssignmentCallback): void;

Calls UpdateOSPolicyAssignment.

Parameters
NameDescription
request IUpdateOSPolicyAssignmentRequest

UpdateOSPolicyAssignmentRequest message or plain object

callback google.cloud.osconfig.v1.OsConfigZonalService.UpdateOSPolicyAssignmentCallback

Node-style callback called with the error, if any, and Operation

Returns
TypeDescription
void

updateOSPolicyAssignment(request)

public updateOSPolicyAssignment(request: google.cloud.osconfig.v1.IUpdateOSPolicyAssignmentRequest): Promise<google.longrunning.Operation>;

Calls UpdateOSPolicyAssignment.

Parameter
NameDescription
request IUpdateOSPolicyAssignmentRequest

UpdateOSPolicyAssignmentRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise