Class protos.google.cloud.osconfig.v1alpha.OsConfigZonalService

Represents an OsConfigZonalService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.osconfig.v1alpha.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.v1alpha.ICreateOSPolicyAssignmentRequest, callback: google.cloud.osconfig.v1alpha.OsConfigZonalService.CreateOSPolicyAssignmentCallback): void;

Calls CreateOSPolicyAssignment.

Parameters
NameDescription
request ICreateOSPolicyAssignmentRequest

CreateOSPolicyAssignmentRequest message or plain object

callback google.cloud.osconfig.v1alpha.OsConfigZonalService.CreateOSPolicyAssignmentCallback

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

Returns
TypeDescription
void

createOSPolicyAssignment(request)

public createOSPolicyAssignment(request: google.cloud.osconfig.v1alpha.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.v1alpha.IDeleteOSPolicyAssignmentRequest, callback: google.cloud.osconfig.v1alpha.OsConfigZonalService.DeleteOSPolicyAssignmentCallback): void;

Calls DeleteOSPolicyAssignment.

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

Returns
TypeDescription
void

deleteOSPolicyAssignment(request)

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

Calls DeleteOSPolicyAssignment.

Parameter
NameDescription
request IDeleteOSPolicyAssignmentRequest

DeleteOSPolicyAssignmentRequest message or plain object

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

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

Returns
TypeDescription
void

getInstanceOSPoliciesCompliance(request)

public getInstanceOSPoliciesCompliance(request: google.cloud.osconfig.v1alpha.IGetInstanceOSPoliciesComplianceRequest): Promise<google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance>;

Calls GetInstanceOSPoliciesCompliance.

Parameter
NameDescription
request IGetInstanceOSPoliciesComplianceRequest

GetInstanceOSPoliciesComplianceRequest message or plain object

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

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

Returns
TypeDescription
void

getInventory(request)

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

Calls GetInventory.

Parameter
NameDescription
request IGetInventoryRequest

GetInventoryRequest message or plain object

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

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

Returns
TypeDescription
void

getOSPolicyAssignment(request)

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

Calls GetOSPolicyAssignment.

Parameter
NameDescription
request IGetOSPolicyAssignmentRequest

GetOSPolicyAssignmentRequest message or plain object

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

Parameters
NameDescription
request google.cloud.osconfig.v1alpha.IGetVulnerabilityReportRequest

GetVulnerabilityReportRequest message or plain object

callback google.cloud.osconfig.v1alpha.OsConfigZonalService.GetVulnerabilityReportCallback

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

Returns
TypeDescription
void

getVulnerabilityReport(request)

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

Calls GetVulnerabilityReport.

Parameter
NameDescription
request google.cloud.osconfig.v1alpha.IGetVulnerabilityReportRequest

GetVulnerabilityReportRequest message or plain object

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

Parameters
NameDescription
request google.cloud.osconfig.v1alpha.IListInstanceOSPoliciesCompliancesRequest

ListInstanceOSPoliciesCompliancesRequest message or plain object

callback google.cloud.osconfig.v1alpha.OsConfigZonalService.ListInstanceOSPoliciesCompliancesCallback

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

Returns
TypeDescription
void

listInstanceOSPoliciesCompliances(request)

public listInstanceOSPoliciesCompliances(request: google.cloud.osconfig.v1alpha.IListInstanceOSPoliciesCompliancesRequest): Promise<google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse>;

Calls ListInstanceOSPoliciesCompliances.

Parameter
NameDescription
request google.cloud.osconfig.v1alpha.IListInstanceOSPoliciesCompliancesRequest

ListInstanceOSPoliciesCompliancesRequest message or plain object

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

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

Returns
TypeDescription
void

listInventories(request)

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

Calls ListInventories.

Parameter
NameDescription
request IListInventoriesRequest

ListInventoriesRequest message or plain object

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

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

Returns
TypeDescription
void

listOSPolicyAssignmentRevisions(request)

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

Calls ListOSPolicyAssignmentRevisions.

Parameter
NameDescription
request IListOSPolicyAssignmentRevisionsRequest

ListOSPolicyAssignmentRevisionsRequest message or plain object

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

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

ListOSPolicyAssignmentsRequest message or plain object

callback google.cloud.osconfig.v1alpha.OsConfigZonalService.ListOSPolicyAssignmentsCallback

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

Returns
TypeDescription
void

listOSPolicyAssignments(request)

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

Calls ListOSPolicyAssignments.

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

ListOSPolicyAssignmentsRequest message or plain object

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

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

Returns
TypeDescription
void

listVulnerabilityReports(request)

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

Calls ListVulnerabilityReports.

Parameter
NameDescription
request IListVulnerabilityReportsRequest

ListVulnerabilityReportsRequest message or plain object

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

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

Returns
TypeDescription
void

updateOSPolicyAssignment(request)

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

Calls UpdateOSPolicyAssignment.

Parameter
NameDescription
request google.cloud.osconfig.v1alpha.IUpdateOSPolicyAssignmentRequest

UpdateOSPolicyAssignmentRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise