Represents an OsConfigZonalService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.osconfig.v1alpha.OsConfigZonalServicePackage
@google-cloud/os-config!Constructors
(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. |
createOSPolicyAssignment(request, callback)
public createOSPolicyAssignment(request: google.cloud.osconfig.v1alpha.ICreateOSPolicyAssignmentRequest, callback: google.cloud.osconfig.v1alpha.OsConfigZonalService.CreateOSPolicyAssignmentCallback): void;
Calls CreateOSPolicyAssignment.
Name | Description |
request |
google.cloud.osconfig.v1alpha.ICreateOSPolicyAssignmentRequest
CreateOSPolicyAssignmentRequest message or plain object |
callback |
google.cloud.osconfig.v1alpha.OsConfigZonalService.CreateOSPolicyAssignmentCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
createOSPolicyAssignment(request)
public createOSPolicyAssignment(request: google.cloud.osconfig.v1alpha.ICreateOSPolicyAssignmentRequest): Promise<google.longrunning.Operation>;
Calls CreateOSPolicyAssignment.
Name | Description |
request |
google.cloud.osconfig.v1alpha.ICreateOSPolicyAssignmentRequest
CreateOSPolicyAssignmentRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
deleteOSPolicyAssignment(request, callback)
public deleteOSPolicyAssignment(request: google.cloud.osconfig.v1alpha.IDeleteOSPolicyAssignmentRequest, callback: google.cloud.osconfig.v1alpha.OsConfigZonalService.DeleteOSPolicyAssignmentCallback): void;
Calls DeleteOSPolicyAssignment.
Name | Description |
request |
IDeleteOSPolicyAssignmentRequest
DeleteOSPolicyAssignmentRequest message or plain object |
callback |
google.cloud.osconfig.v1alpha.OsConfigZonalService.DeleteOSPolicyAssignmentCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
deleteOSPolicyAssignment(request)
public deleteOSPolicyAssignment(request: google.cloud.osconfig.v1alpha.IDeleteOSPolicyAssignmentRequest): Promise<google.longrunning.Operation>;
Calls DeleteOSPolicyAssignment.
Name | Description |
request |
IDeleteOSPolicyAssignmentRequest
DeleteOSPolicyAssignmentRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |
getInstanceOSPoliciesCompliance(request, callback)
public getInstanceOSPoliciesCompliance(request: google.cloud.osconfig.v1alpha.IGetInstanceOSPoliciesComplianceRequest, callback: google.cloud.osconfig.v1alpha.OsConfigZonalService.GetInstanceOSPoliciesComplianceCallback): void;
Calls GetInstanceOSPoliciesCompliance.
Name | Description |
request |
IGetInstanceOSPoliciesComplianceRequest
GetInstanceOSPoliciesComplianceRequest message or plain object |
callback |
google.cloud.osconfig.v1alpha.OsConfigZonalService.GetInstanceOSPoliciesComplianceCallback
Node-style callback called with the error, if any, and InstanceOSPoliciesCompliance |
Type | Description |
void |
getInstanceOSPoliciesCompliance(request)
public getInstanceOSPoliciesCompliance(request: google.cloud.osconfig.v1alpha.IGetInstanceOSPoliciesComplianceRequest): Promise<google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance>;
Calls GetInstanceOSPoliciesCompliance.
Name | Description |
request |
IGetInstanceOSPoliciesComplianceRequest
GetInstanceOSPoliciesComplianceRequest message or plain object |
Type | Description |
Promise<google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance> | Promise |
getInventory(request, callback)
public getInventory(request: google.cloud.osconfig.v1alpha.IGetInventoryRequest, callback: google.cloud.osconfig.v1alpha.OsConfigZonalService.GetInventoryCallback): void;
Calls GetInventory.
Name | Description |
request |
IGetInventoryRequest
GetInventoryRequest message or plain object |
callback |
google.cloud.osconfig.v1alpha.OsConfigZonalService.GetInventoryCallback
Node-style callback called with the error, if any, and Inventory |
Type | Description |
void |
getInventory(request)
public getInventory(request: google.cloud.osconfig.v1alpha.IGetInventoryRequest): Promise<google.cloud.osconfig.v1alpha.Inventory>;
Calls GetInventory.
Name | Description |
request |
IGetInventoryRequest
GetInventoryRequest message or plain object |
Type | Description |
Promise<google.cloud.osconfig.v1alpha.Inventory> | Promise |
getOSPolicyAssignment(request, callback)
public getOSPolicyAssignment(request: google.cloud.osconfig.v1alpha.IGetOSPolicyAssignmentRequest, callback: google.cloud.osconfig.v1alpha.OsConfigZonalService.GetOSPolicyAssignmentCallback): void;
Calls GetOSPolicyAssignment.
Name | Description |
request |
IGetOSPolicyAssignmentRequest
GetOSPolicyAssignmentRequest message or plain object |
callback |
google.cloud.osconfig.v1alpha.OsConfigZonalService.GetOSPolicyAssignmentCallback
Node-style callback called with the error, if any, and OSPolicyAssignment |
Type | Description |
void |
getOSPolicyAssignment(request)
public getOSPolicyAssignment(request: google.cloud.osconfig.v1alpha.IGetOSPolicyAssignmentRequest): Promise<google.cloud.osconfig.v1alpha.OSPolicyAssignment>;
Calls GetOSPolicyAssignment.
Name | Description |
request |
IGetOSPolicyAssignmentRequest
GetOSPolicyAssignmentRequest message or plain object |
Type | Description |
Promise<google.cloud.osconfig.v1alpha.OSPolicyAssignment> | Promise |
getVulnerabilityReport(request, callback)
public getVulnerabilityReport(request: google.cloud.osconfig.v1alpha.IGetVulnerabilityReportRequest, callback: google.cloud.osconfig.v1alpha.OsConfigZonalService.GetVulnerabilityReportCallback): void;
Calls GetVulnerabilityReport.
Name | Description |
request |
IGetVulnerabilityReportRequest
GetVulnerabilityReportRequest message or plain object |
callback |
google.cloud.osconfig.v1alpha.OsConfigZonalService.GetVulnerabilityReportCallback
Node-style callback called with the error, if any, and VulnerabilityReport |
Type | Description |
void |
getVulnerabilityReport(request)
public getVulnerabilityReport(request: google.cloud.osconfig.v1alpha.IGetVulnerabilityReportRequest): Promise<google.cloud.osconfig.v1alpha.VulnerabilityReport>;
Calls GetVulnerabilityReport.
Name | Description |
request |
IGetVulnerabilityReportRequest
GetVulnerabilityReportRequest message or plain object |
Type | Description |
Promise<google.cloud.osconfig.v1alpha.VulnerabilityReport> | Promise |
listInstanceOSPoliciesCompliances(request, callback)
public listInstanceOSPoliciesCompliances(request: google.cloud.osconfig.v1alpha.IListInstanceOSPoliciesCompliancesRequest, callback: google.cloud.osconfig.v1alpha.OsConfigZonalService.ListInstanceOSPoliciesCompliancesCallback): void;
Calls ListInstanceOSPoliciesCompliances.
Name | Description |
request |
IListInstanceOSPoliciesCompliancesRequest
ListInstanceOSPoliciesCompliancesRequest message or plain object |
callback |
google.cloud.osconfig.v1alpha.OsConfigZonalService.ListInstanceOSPoliciesCompliancesCallback
Node-style callback called with the error, if any, and ListInstanceOSPoliciesCompliancesResponse |
Type | Description |
void |
listInstanceOSPoliciesCompliances(request)
public listInstanceOSPoliciesCompliances(request: google.cloud.osconfig.v1alpha.IListInstanceOSPoliciesCompliancesRequest): Promise<google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse>;
Calls ListInstanceOSPoliciesCompliances.
Name | Description |
request |
IListInstanceOSPoliciesCompliancesRequest
ListInstanceOSPoliciesCompliancesRequest message or plain object |
Type | Description |
Promise<google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse> | Promise |
listInventories(request, callback)
public listInventories(request: google.cloud.osconfig.v1alpha.IListInventoriesRequest, callback: google.cloud.osconfig.v1alpha.OsConfigZonalService.ListInventoriesCallback): void;
Calls ListInventories.
Name | Description |
request |
IListInventoriesRequest
ListInventoriesRequest message or plain object |
callback |
google.cloud.osconfig.v1alpha.OsConfigZonalService.ListInventoriesCallback
Node-style callback called with the error, if any, and ListInventoriesResponse |
Type | Description |
void |
listInventories(request)
public listInventories(request: google.cloud.osconfig.v1alpha.IListInventoriesRequest): Promise<google.cloud.osconfig.v1alpha.ListInventoriesResponse>;
Calls ListInventories.
Name | Description |
request |
IListInventoriesRequest
ListInventoriesRequest message or plain object |
Type | Description |
Promise<google.cloud.osconfig.v1alpha.ListInventoriesResponse> | Promise |
listOSPolicyAssignmentRevisions(request, callback)
public listOSPolicyAssignmentRevisions(request: google.cloud.osconfig.v1alpha.IListOSPolicyAssignmentRevisionsRequest, callback: google.cloud.osconfig.v1alpha.OsConfigZonalService.ListOSPolicyAssignmentRevisionsCallback): void;
Calls ListOSPolicyAssignmentRevisions.
Name | Description |
request |
IListOSPolicyAssignmentRevisionsRequest
ListOSPolicyAssignmentRevisionsRequest message or plain object |
callback |
google.cloud.osconfig.v1alpha.OsConfigZonalService.ListOSPolicyAssignmentRevisionsCallback
Node-style callback called with the error, if any, and ListOSPolicyAssignmentRevisionsResponse |
Type | Description |
void |
listOSPolicyAssignmentRevisions(request)
public listOSPolicyAssignmentRevisions(request: google.cloud.osconfig.v1alpha.IListOSPolicyAssignmentRevisionsRequest): Promise<google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse>;
Calls ListOSPolicyAssignmentRevisions.
Name | Description |
request |
IListOSPolicyAssignmentRevisionsRequest
ListOSPolicyAssignmentRevisionsRequest message or plain object |
Type | Description |
Promise<google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse> | Promise |
listOSPolicyAssignments(request, callback)
public listOSPolicyAssignments(request: google.cloud.osconfig.v1alpha.IListOSPolicyAssignmentsRequest, callback: google.cloud.osconfig.v1alpha.OsConfigZonalService.ListOSPolicyAssignmentsCallback): void;
Calls ListOSPolicyAssignments.
Name | Description |
request |
IListOSPolicyAssignmentsRequest
ListOSPolicyAssignmentsRequest message or plain object |
callback |
google.cloud.osconfig.v1alpha.OsConfigZonalService.ListOSPolicyAssignmentsCallback
Node-style callback called with the error, if any, and ListOSPolicyAssignmentsResponse |
Type | Description |
void |
listOSPolicyAssignments(request)
public listOSPolicyAssignments(request: google.cloud.osconfig.v1alpha.IListOSPolicyAssignmentsRequest): Promise<google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse>;
Calls ListOSPolicyAssignments.
Name | Description |
request |
IListOSPolicyAssignmentsRequest
ListOSPolicyAssignmentsRequest message or plain object |
Type | Description |
Promise<google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse> | Promise |
listVulnerabilityReports(request, callback)
public listVulnerabilityReports(request: google.cloud.osconfig.v1alpha.IListVulnerabilityReportsRequest, callback: google.cloud.osconfig.v1alpha.OsConfigZonalService.ListVulnerabilityReportsCallback): void;
Calls ListVulnerabilityReports.
Name | Description |
request |
IListVulnerabilityReportsRequest
ListVulnerabilityReportsRequest message or plain object |
callback |
google.cloud.osconfig.v1alpha.OsConfigZonalService.ListVulnerabilityReportsCallback
Node-style callback called with the error, if any, and ListVulnerabilityReportsResponse |
Type | Description |
void |
listVulnerabilityReports(request)
public listVulnerabilityReports(request: google.cloud.osconfig.v1alpha.IListVulnerabilityReportsRequest): Promise<google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse>;
Calls ListVulnerabilityReports.
Name | Description |
request |
IListVulnerabilityReportsRequest
ListVulnerabilityReportsRequest message or plain object |
Type | Description |
Promise<google.cloud.osconfig.v1alpha.ListVulnerabilityReportsResponse> | Promise |
updateOSPolicyAssignment(request, callback)
public updateOSPolicyAssignment(request: google.cloud.osconfig.v1alpha.IUpdateOSPolicyAssignmentRequest, callback: google.cloud.osconfig.v1alpha.OsConfigZonalService.UpdateOSPolicyAssignmentCallback): void;
Calls UpdateOSPolicyAssignment.
Name | Description |
request |
google.cloud.osconfig.v1alpha.IUpdateOSPolicyAssignmentRequest
UpdateOSPolicyAssignmentRequest message or plain object |
callback |
google.cloud.osconfig.v1alpha.OsConfigZonalService.UpdateOSPolicyAssignmentCallback
Node-style callback called with the error, if any, and Operation |
Type | Description |
void |
updateOSPolicyAssignment(request)
public updateOSPolicyAssignment(request: google.cloud.osconfig.v1alpha.IUpdateOSPolicyAssignmentRequest): Promise<google.longrunning.Operation>;
Calls UpdateOSPolicyAssignment.
Name | Description |
request |
google.cloud.osconfig.v1alpha.IUpdateOSPolicyAssignmentRequest
UpdateOSPolicyAssignmentRequest message or plain object |
Type | Description |
Promise<google.longrunning.Operation> | Promise |