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.
Parameters | |
---|---|
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.
Parameters | |
---|---|
Name | Description |
rpcImpl |
$protobuf.RPCImpl
RPC implementation |
requestDelimited |
boolean
Whether requests are length-delimited |
responseDelimited |
boolean
Whether responses are length-delimited |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
google.cloud.osconfig.v1.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 | |
---|---|
Type | Description |
void |
createOSPolicyAssignment(request)
public createOSPolicyAssignment(request: google.cloud.osconfig.v1.ICreateOSPolicyAssignmentRequest): Promise<google.longrunning.Operation>;
Calls CreateOSPolicyAssignment.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.osconfig.v1.ICreateOSPolicyAssignmentRequest
CreateOSPolicyAssignmentRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
google.cloud.osconfig.v1.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 | |
---|---|
Type | Description |
void |
deleteOSPolicyAssignment(request)
public deleteOSPolicyAssignment(request: google.cloud.osconfig.v1.IDeleteOSPolicyAssignmentRequest): Promise<google.longrunning.Operation>;
Calls DeleteOSPolicyAssignment.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.osconfig.v1.IDeleteOSPolicyAssignmentRequest
DeleteOSPolicyAssignmentRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
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 |
Returns | |
---|---|
Type | Description |
void |
getInventory(request)
public getInventory(request: google.cloud.osconfig.v1.IGetInventoryRequest): Promise<google.cloud.osconfig.v1.Inventory>;
Calls GetInventory.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.osconfig.v1.IGetInventoryRequest
GetInventoryRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
void |
getOSPolicyAssignment(request)
public getOSPolicyAssignment(request: google.cloud.osconfig.v1.IGetOSPolicyAssignmentRequest): Promise<google.cloud.osconfig.v1.OSPolicyAssignment>;
Calls GetOSPolicyAssignment.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.osconfig.v1.IGetOSPolicyAssignmentRequest
GetOSPolicyAssignmentRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
void |
getOSPolicyAssignmentReport(request)
public getOSPolicyAssignmentReport(request: google.cloud.osconfig.v1.IGetOSPolicyAssignmentReportRequest): Promise<google.cloud.osconfig.v1.OSPolicyAssignmentReport>;
Calls GetOSPolicyAssignmentReport.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.osconfig.v1.IGetOSPolicyAssignmentReportRequest
GetOSPolicyAssignmentReportRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
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 |
Returns | |
---|---|
Type | Description |
void |
getVulnerabilityReport(request)
public getVulnerabilityReport(request: google.cloud.osconfig.v1.IGetVulnerabilityReportRequest): Promise<google.cloud.osconfig.v1.VulnerabilityReport>;
Calls GetVulnerabilityReport.
Parameter | |
---|---|
Name | Description |
request |
IGetVulnerabilityReportRequest
GetVulnerabilityReportRequest message or plain object |
Returns | |
---|---|
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.
Parameters | |
---|---|
Name | 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 |
void |
listInventories(request)
public listInventories(request: google.cloud.osconfig.v1.IListInventoriesRequest): Promise<google.cloud.osconfig.v1.ListInventoriesResponse>;
Calls ListInventories.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.osconfig.v1.IListInventoriesRequest
ListInventoriesRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
google.cloud.osconfig.v1.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 | |
---|---|
Type | Description |
void |
listOSPolicyAssignmentReports(request)
public listOSPolicyAssignmentReports(request: google.cloud.osconfig.v1.IListOSPolicyAssignmentReportsRequest): Promise<google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse>;
Calls ListOSPolicyAssignmentReports.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.osconfig.v1.IListOSPolicyAssignmentReportsRequest
ListOSPolicyAssignmentReportsRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
google.cloud.osconfig.v1.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 | |
---|---|
Type | Description |
void |
listOSPolicyAssignmentRevisions(request)
public listOSPolicyAssignmentRevisions(request: google.cloud.osconfig.v1.IListOSPolicyAssignmentRevisionsRequest): Promise<google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse>;
Calls ListOSPolicyAssignmentRevisions.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.osconfig.v1.IListOSPolicyAssignmentRevisionsRequest
ListOSPolicyAssignmentRevisionsRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
void |
listOSPolicyAssignments(request)
public listOSPolicyAssignments(request: google.cloud.osconfig.v1.IListOSPolicyAssignmentsRequest): Promise<google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse>;
Calls ListOSPolicyAssignments.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.osconfig.v1.IListOSPolicyAssignmentsRequest
ListOSPolicyAssignmentsRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | 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 |
void |
listVulnerabilityReports(request)
public listVulnerabilityReports(request: google.cloud.osconfig.v1.IListVulnerabilityReportsRequest): Promise<google.cloud.osconfig.v1.ListVulnerabilityReportsResponse>;
Calls ListVulnerabilityReports.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.osconfig.v1.IListVulnerabilityReportsRequest
ListVulnerabilityReportsRequest message or plain object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request |
google.cloud.osconfig.v1.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 | |
---|---|
Type | Description |
void |
updateOSPolicyAssignment(request)
public updateOSPolicyAssignment(request: google.cloud.osconfig.v1.IUpdateOSPolicyAssignmentRequest): Promise<google.longrunning.Operation>;
Calls UpdateOSPolicyAssignment.
Parameter | |
---|---|
Name | Description |
request |
google.cloud.osconfig.v1.IUpdateOSPolicyAssignmentRequest
UpdateOSPolicyAssignmentRequest message or plain object |
Returns | |
---|---|
Type | Description |
Promise<google.longrunning.Operation> | Promise |