Class protos.google.cloud.securitycenter.v1.SecurityCenter (8.7.0)

Represents a SecurityCenter

Inheritance

$protobuf.rpc.Service > protos.google.cloud.securitycenter.v1.SecurityCenter

Package

@google-cloud/security-center

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new SecurityCenter service.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

bulkMuteFindings(request, callback)

public bulkMuteFindings(request: google.cloud.securitycenter.v1.IBulkMuteFindingsRequest, callback: google.cloud.securitycenter.v1.SecurityCenter.BulkMuteFindingsCallback): void;

Calls BulkMuteFindings.

Parameters
NameDescription
request IBulkMuteFindingsRequest

BulkMuteFindingsRequest message or plain object

callback BulkMuteFindingsCallback

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

Returns
TypeDescription
void

bulkMuteFindings(request)

public bulkMuteFindings(request: google.cloud.securitycenter.v1.IBulkMuteFindingsRequest): Promise<google.longrunning.Operation>;

Calls BulkMuteFindings.

Parameter
NameDescription
request IBulkMuteFindingsRequest

BulkMuteFindingsRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): SecurityCenter;

Creates new SecurityCenter 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
SecurityCenter

RPC service. Useful where requests and/or responses are streamed.

createBigQueryExport(request, callback)

public createBigQueryExport(request: google.cloud.securitycenter.v1.ICreateBigQueryExportRequest, callback: google.cloud.securitycenter.v1.SecurityCenter.CreateBigQueryExportCallback): void;

Calls CreateBigQueryExport.

Parameters
NameDescription
request ICreateBigQueryExportRequest

CreateBigQueryExportRequest message or plain object

callback CreateBigQueryExportCallback

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

Returns
TypeDescription
void

createBigQueryExport(request)

public createBigQueryExport(request: google.cloud.securitycenter.v1.ICreateBigQueryExportRequest): Promise<google.cloud.securitycenter.v1.BigQueryExport>;

Calls CreateBigQueryExport.

Parameter
NameDescription
request ICreateBigQueryExportRequest

CreateBigQueryExportRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.securitycenter.v1.BigQueryExport>

Promise

createFinding(request, callback)

public createFinding(request: google.cloud.securitycenter.v1.ICreateFindingRequest, callback: google.cloud.securitycenter.v1.SecurityCenter.CreateFindingCallback): void;

Calls CreateFinding.

Parameters
NameDescription
request ICreateFindingRequest

CreateFindingRequest message or plain object

callback CreateFindingCallback

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

Returns
TypeDescription
void

createFinding(request)

public createFinding(request: google.cloud.securitycenter.v1.ICreateFindingRequest): Promise<google.cloud.securitycenter.v1.Finding>;

Calls CreateFinding.

Parameter
NameDescription
request ICreateFindingRequest

CreateFindingRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.securitycenter.v1.Finding>

Promise

createMuteConfig(request, callback)

public createMuteConfig(request: google.cloud.securitycenter.v1.ICreateMuteConfigRequest, callback: google.cloud.securitycenter.v1.SecurityCenter.CreateMuteConfigCallback): void;

Calls CreateMuteConfig.

Parameters
NameDescription
request ICreateMuteConfigRequest

CreateMuteConfigRequest message or plain object

callback CreateMuteConfigCallback

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

Returns
TypeDescription
void

createMuteConfig(request)

public createMuteConfig(request: google.cloud.securitycenter.v1.ICreateMuteConfigRequest): Promise<google.cloud.securitycenter.v1.MuteConfig>;

Calls CreateMuteConfig.

Parameter
NameDescription
request ICreateMuteConfigRequest

CreateMuteConfigRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.securitycenter.v1.MuteConfig>

Promise

createNotificationConfig(request, callback)

public createNotificationConfig(request: google.cloud.securitycenter.v1.ICreateNotificationConfigRequest, callback: google.cloud.securitycenter.v1.SecurityCenter.CreateNotificationConfigCallback): void;

Calls CreateNotificationConfig.

Parameters
NameDescription
request ICreateNotificationConfigRequest

CreateNotificationConfigRequest message or plain object

callback CreateNotificationConfigCallback

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

Returns
TypeDescription
void

createNotificationConfig(request)

public createNotificationConfig(request: google.cloud.securitycenter.v1.ICreateNotificationConfigRequest): Promise<google.cloud.securitycenter.v1.NotificationConfig>;

Calls CreateNotificationConfig.

Parameter
NameDescription
request ICreateNotificationConfigRequest

CreateNotificationConfigRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.securitycenter.v1.NotificationConfig>

Promise

createSecurityHealthAnalyticsCustomModule(request, callback)

public createSecurityHealthAnalyticsCustomModule(request: google.cloud.securitycenter.v1.ICreateSecurityHealthAnalyticsCustomModuleRequest, callback: google.cloud.securitycenter.v1.SecurityCenter.CreateSecurityHealthAnalyticsCustomModuleCallback): void;

Calls CreateSecurityHealthAnalyticsCustomModule.

Parameters
NameDescription
request ICreateSecurityHealthAnalyticsCustomModuleRequest

CreateSecurityHealthAnalyticsCustomModuleRequest message or plain object

callback CreateSecurityHealthAnalyticsCustomModuleCallback

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

Returns
TypeDescription
void

createSecurityHealthAnalyticsCustomModule(request)

public createSecurityHealthAnalyticsCustomModule(request: google.cloud.securitycenter.v1.ICreateSecurityHealthAnalyticsCustomModuleRequest): Promise<google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule>;

Calls CreateSecurityHealthAnalyticsCustomModule.

Parameter
NameDescription
request ICreateSecurityHealthAnalyticsCustomModuleRequest

CreateSecurityHealthAnalyticsCustomModuleRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule>

Promise

createSource(request, callback)

public createSource(request: google.cloud.securitycenter.v1.ICreateSourceRequest, callback: google.cloud.securitycenter.v1.SecurityCenter.CreateSourceCallback): void;

Calls CreateSource.

Parameters
NameDescription
request ICreateSourceRequest

CreateSourceRequest message or plain object

callback CreateSourceCallback

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

Returns
TypeDescription
void

createSource(request)

public createSource(request: google.cloud.securitycenter.v1.ICreateSourceRequest): Promise<google.cloud.securitycenter.v1.Source>;

Calls CreateSource.

Parameter
NameDescription
request ICreateSourceRequest

CreateSourceRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.securitycenter.v1.Source>

Promise

deleteBigQueryExport(request, callback)

public deleteBigQueryExport(request: google.cloud.securitycenter.v1.IDeleteBigQueryExportRequest, callback: google.cloud.securitycenter.v1.SecurityCenter.DeleteBigQueryExportCallback): void;

Calls DeleteBigQueryExport.

Parameters
NameDescription
request IDeleteBigQueryExportRequest

DeleteBigQueryExportRequest message or plain object

callback DeleteBigQueryExportCallback

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

Returns
TypeDescription
void

deleteBigQueryExport(request)

public deleteBigQueryExport(request: google.cloud.securitycenter.v1.IDeleteBigQueryExportRequest): Promise<google.protobuf.Empty>;

Calls DeleteBigQueryExport.

Parameter
NameDescription
request IDeleteBigQueryExportRequest

DeleteBigQueryExportRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

deleteMuteConfig(request, callback)

public deleteMuteConfig(request: google.cloud.securitycenter.v1.IDeleteMuteConfigRequest, callback: google.cloud.securitycenter.v1.SecurityCenter.DeleteMuteConfigCallback): void;

Calls DeleteMuteConfig.

Parameters
NameDescription
request IDeleteMuteConfigRequest

DeleteMuteConfigRequest message or plain object

callback DeleteMuteConfigCallback

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

Returns
TypeDescription
void

deleteMuteConfig(request)

public deleteMuteConfig(request: google.cloud.securitycenter.v1.IDeleteMuteConfigRequest): Promise<google.protobuf.Empty>;

Calls DeleteMuteConfig.

Parameter
NameDescription
request IDeleteMuteConfigRequest

DeleteMuteConfigRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

deleteNotificationConfig(request, callback)

public deleteNotificationConfig(request: google.cloud.securitycenter.v1.IDeleteNotificationConfigRequest, callback: google.cloud.securitycenter.v1.SecurityCenter.DeleteNotificationConfigCallback): void;

Calls DeleteNotificationConfig.

Parameters
NameDescription
request IDeleteNotificationConfigRequest

DeleteNotificationConfigRequest message or plain object

callback DeleteNotificationConfigCallback

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

Returns
TypeDescription
void

deleteNotificationConfig(request)

public deleteNotificationConfig(request: google.cloud.securitycenter.v1.IDeleteNotificationConfigRequest): Promise<google.protobuf.Empty>;

Calls DeleteNotificationConfig.

Parameter
NameDescription
request IDeleteNotificationConfigRequest

DeleteNotificationConfigRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

deleteSecurityHealthAnalyticsCustomModule(request, callback)

public deleteSecurityHealthAnalyticsCustomModule(request: google.cloud.securitycenter.v1.IDeleteSecurityHealthAnalyticsCustomModuleRequest, callback: google.cloud.securitycenter.v1.SecurityCenter.DeleteSecurityHealthAnalyticsCustomModuleCallback): void;

Calls DeleteSecurityHealthAnalyticsCustomModule.

Parameters
NameDescription
request IDeleteSecurityHealthAnalyticsCustomModuleRequest

DeleteSecurityHealthAnalyticsCustomModuleRequest message or plain object

callback DeleteSecurityHealthAnalyticsCustomModuleCallback

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

Returns
TypeDescription
void

deleteSecurityHealthAnalyticsCustomModule(request)

public deleteSecurityHealthAnalyticsCustomModule(request: google.cloud.securitycenter.v1.IDeleteSecurityHealthAnalyticsCustomModuleRequest): Promise<google.protobuf.Empty>;

Calls DeleteSecurityHealthAnalyticsCustomModule.

Parameter
NameDescription
request IDeleteSecurityHealthAnalyticsCustomModuleRequest

DeleteSecurityHealthAnalyticsCustomModuleRequest message or plain object

Returns
TypeDescription
Promise<google.protobuf.Empty>

Promise

getBigQueryExport(request, callback)

public getBigQueryExport(request: google.cloud.securitycenter.v1.IGetBigQueryExportRequest, callback: google.cloud.securitycenter.v1.SecurityCenter.GetBigQueryExportCallback): void;

Calls GetBigQueryExport.

Parameters
NameDescription
request IGetBigQueryExportRequest

GetBigQueryExportRequest message or plain object

callback GetBigQueryExportCallback

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

Returns
TypeDescription
void

getBigQueryExport(request)

public getBigQueryExport(request: google.cloud.securitycenter.v1.IGetBigQueryExportRequest): Promise<google.cloud.securitycenter.v1.BigQueryExport>;

Calls GetBigQueryExport.

Parameter
NameDescription
request IGetBigQueryExportRequest

GetBigQueryExportRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.securitycenter.v1.BigQueryExport>

Promise

getEffectiveSecurityHealthAnalyticsCustomModule(request, callback)

public getEffectiveSecurityHealthAnalyticsCustomModule(request: google.cloud.securitycenter.v1.IGetEffectiveSecurityHealthAnalyticsCustomModuleRequest, callback: google.cloud.securitycenter.v1.SecurityCenter.GetEffectiveSecurityHealthAnalyticsCustomModuleCallback): void;

Calls GetEffectiveSecurityHealthAnalyticsCustomModule.

Parameters
NameDescription
request IGetEffectiveSecurityHealthAnalyticsCustomModuleRequest

GetEffectiveSecurityHealthAnalyticsCustomModuleRequest message or plain object

callback GetEffectiveSecurityHealthAnalyticsCustomModuleCallback

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

Returns
TypeDescription
void

getEffectiveSecurityHealthAnalyticsCustomModule(request)

public getEffectiveSecurityHealthAnalyticsCustomModule(request: google.cloud.securitycenter.v1.IGetEffectiveSecurityHealthAnalyticsCustomModuleRequest): Promise<google.cloud.securitycenter.v1.EffectiveSecurityHealthAnalyticsCustomModule>;

Calls GetEffectiveSecurityHealthAnalyticsCustomModule.

Parameter
NameDescription
request IGetEffectiveSecurityHealthAnalyticsCustomModuleRequest

GetEffectiveSecurityHealthAnalyticsCustomModuleRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.securitycenter.v1.EffectiveSecurityHealthAnalyticsCustomModule>

Promise

getIamPolicy(request, callback)

public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest, callback: google.cloud.securitycenter.v1.SecurityCenter.GetIamPolicyCallback): void;

Calls GetIamPolicy.

Parameters
NameDescription
request IGetIamPolicyRequest

GetIamPolicyRequest message or plain object

callback GetIamPolicyCallback

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

Returns
TypeDescription
void

getIamPolicy(request)

public getIamPolicy(request: google.iam.v1.IGetIamPolicyRequest): Promise<google.iam.v1.Policy>;

Calls GetIamPolicy.

Parameter
NameDescription
request IGetIamPolicyRequest

GetIamPolicyRequest message or plain object

Returns
TypeDescription
Promise<google.iam.v1.Policy>

Promise

getMuteConfig(request, callback)

public getMuteConfig(request: google.cloud.securitycenter.v1.IGetMuteConfigRequest, callback: google.cloud.securitycenter.v1.SecurityCenter.GetMuteConfigCallback): void;

Calls GetMuteConfig.

Parameters
NameDescription
request IGetMuteConfigRequest

GetMuteConfigRequest message or plain object

callback GetMuteConfigCallback

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

Returns
TypeDescription
void

getMuteConfig(request)

public getMuteConfig(request: google.cloud.securitycenter.v1.IGetMuteConfigRequest): Promise<google.cloud.securitycenter.v1.MuteConfig>;

Calls GetMuteConfig.

Parameter
NameDescription
request IGetMuteConfigRequest

GetMuteConfigRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.securitycenter.v1.MuteConfig>

Promise

getNotificationConfig(request, callback)

public getNotificationConfig(request: google.cloud.securitycenter.v1.IGetNotificationConfigRequest, callback: google.cloud.securitycenter.v1.SecurityCenter.GetNotificationConfigCallback): void;

Calls GetNotificationConfig.

Parameters
NameDescription
request IGetNotificationConfigRequest

GetNotificationConfigRequest message or plain object

callback GetNotificationConfigCallback

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

Returns
TypeDescription
void

getNotificationConfig(request)

public getNotificationConfig(request: google.cloud.securitycenter.v1.IGetNotificationConfigRequest): Promise<google.cloud.securitycenter.v1.NotificationConfig>;

Calls GetNotificationConfig.

Parameter
NameDescription
request IGetNotificationConfigRequest

GetNotificationConfigRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.securitycenter.v1.NotificationConfig>

Promise

getOrganizationSettings(request, callback)

public getOrganizationSettings(request: google.cloud.securitycenter.v1.IGetOrganizationSettingsRequest, callback: google.cloud.securitycenter.v1.SecurityCenter.GetOrganizationSettingsCallback): void;

Calls GetOrganizationSettings.

Parameters
NameDescription
request IGetOrganizationSettingsRequest

GetOrganizationSettingsRequest message or plain object

callback GetOrganizationSettingsCallback

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

Returns
TypeDescription
void

getOrganizationSettings(request)

public getOrganizationSettings(request: google.cloud.securitycenter.v1.IGetOrganizationSettingsRequest): Promise<google.cloud.securitycenter.v1.OrganizationSettings>;

Calls GetOrganizationSettings.

Parameter
NameDescription
request IGetOrganizationSettingsRequest

GetOrganizationSettingsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.securitycenter.v1.OrganizationSettings>

Promise

getSecurityHealthAnalyticsCustomModule(request, callback)

public getSecurityHealthAnalyticsCustomModule(request: google.cloud.securitycenter.v1.IGetSecurityHealthAnalyticsCustomModuleRequest, callback: google.cloud.securitycenter.v1.SecurityCenter.GetSecurityHealthAnalyticsCustomModuleCallback): void;

Calls GetSecurityHealthAnalyticsCustomModule.

Parameters
NameDescription
request IGetSecurityHealthAnalyticsCustomModuleRequest

GetSecurityHealthAnalyticsCustomModuleRequest message or plain object

callback GetSecurityHealthAnalyticsCustomModuleCallback

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

Returns
TypeDescription
void

getSecurityHealthAnalyticsCustomModule(request)

public getSecurityHealthAnalyticsCustomModule(request: google.cloud.securitycenter.v1.IGetSecurityHealthAnalyticsCustomModuleRequest): Promise<google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule>;

Calls GetSecurityHealthAnalyticsCustomModule.

Parameter
NameDescription
request IGetSecurityHealthAnalyticsCustomModuleRequest

GetSecurityHealthAnalyticsCustomModuleRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.securitycenter.v1.SecurityHealthAnalyticsCustomModule>

Promise

getSource(request, callback)

public getSource(request: google.cloud.securitycenter.v1.IGetSourceRequest, callback: google.cloud.securitycenter.v1.SecurityCenter.GetSourceCallback): void;

Calls GetSource.

Parameters
NameDescription
request IGetSourceRequest

GetSourceRequest message or plain object

callback GetSourceCallback

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

Returns
TypeDescription
void

getSource(request)

public getSource(request: google.cloud.securitycenter.v1.IGetSourceRequest): Promise<google.cloud.securitycenter.v1.Source>;

Calls GetSource.

Parameter
NameDescription
request IGetSourceRequest

GetSourceRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.securitycenter.v1.Source>

Promise

groupAssets(request, callback)

public groupAssets(request: google.cloud.securitycenter.v1.IGroupAssetsRequest, callback: google.cloud.securitycenter.v1.SecurityCenter.GroupAssetsCallback): void;

Calls GroupAssets.

Parameters
NameDescription
request IGroupAssetsRequest

GroupAssetsRequest message or plain object

callback GroupAssetsCallback

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

Returns
TypeDescription
void

groupAssets(request)

public groupAssets(request: google.cloud.securitycenter.v1.IGroupAssetsRequest): Promise<google.cloud.securitycenter.v1.GroupAssetsResponse>;

Calls GroupAssets.

Parameter
NameDescription
request IGroupAssetsRequest

GroupAssetsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.securitycenter.v1.GroupAssetsResponse>

Promise

groupFindings(request, callback)

public groupFindings(request: google.cloud.securitycenter.v1.IGroupFindingsRequest, callback: google.cloud.securitycenter.v1.SecurityCenter.GroupFindingsCallback): void;

Calls GroupFindings.

Parameters
NameDescription
request IGroupFindingsRequest

GroupFindingsRequest message or plain object

callback GroupFindingsCallback

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

Returns
TypeDescription
void

groupFindings(request)

public groupFindings(request: google.cloud.securitycenter.v1.IGroupFindingsRequest): Promise<google.cloud.securitycenter.v1.GroupFindingsResponse>;

Calls GroupFindings.

Parameter
NameDescription
request IGroupFindingsRequest

GroupFindingsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.securitycenter.v1.GroupFindingsResponse>

Promise

listAssets(request, callback)

public listAssets(request: google.cloud.securitycenter.v1.IListAssetsRequest, callback: google.cloud.securitycenter.v1.SecurityCenter.ListAssetsCallback): void;

Calls ListAssets.

Parameters
NameDescription
request IListAssetsRequest

ListAssetsRequest message or plain object

callback ListAssetsCallback

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

Returns
TypeDescription
void

listAssets(request)

public listAssets(request: google.cloud.securitycenter.v1.IListAssetsRequest): Promise<google.cloud.securitycenter.v1.ListAssetsResponse>;

Calls ListAssets.

Parameter
NameDescription
request IListAssetsRequest

ListAssetsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.securitycenter.v1.ListAssetsResponse>

Promise

listBigQueryExports(request, callback)

public listBigQueryExports(request: google.cloud.securitycenter.v1.IListBigQueryExportsRequest, callback: google.cloud.securitycenter.v1.SecurityCenter.ListBigQueryExportsCallback): void;

Calls ListBigQueryExports.

Parameters
NameDescription
request IListBigQueryExportsRequest

ListBigQueryExportsRequest message or plain object

callback ListBigQueryExportsCallback

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

Returns
TypeDescription
void

listBigQueryExports(request)

public listBigQueryExports(request: google.cloud.securitycenter.v1.IListBigQueryExportsRequest): Promise<google.cloud.securitycenter.v1.ListBigQueryExportsResponse>;

Calls ListBigQueryExports.

Parameter
NameDescription
request IListBigQueryExportsRequest

ListBigQueryExportsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.securitycenter.v1.ListBigQueryExportsResponse>

Promise

listDescendantSecurityHealthAnalyticsCustomModules(request, callback)

public listDescendantSecurityHealthAnalyticsCustomModules(request: google.cloud.securitycenter.v1.IListDescendantSecurityHealthAnalyticsCustomModulesRequest, callback: google.cloud.securitycenter.v1.SecurityCenter.ListDescendantSecurityHealthAnalyticsCustomModulesCallback): void;

Calls ListDescendantSecurityHealthAnalyticsCustomModules.

Parameters
NameDescription
request IListDescendantSecurityHealthAnalyticsCustomModulesRequest

ListDescendantSecurityHealthAnalyticsCustomModulesRequest message or plain object

callback ListDescendantSecurityHealthAnalyticsCustomModulesCallback

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

Returns
TypeDescription
void

listDescendantSecurityHealthAnalyticsCustomModules(request)

public listDescendantSecurityHealthAnalyticsCustomModules(request: google.cloud.securitycenter.v1.IListDescendantSecurityHealthAnalyticsCustomModulesRequest): Promise<google.cloud.securitycenter.v1.ListDescendantSecurityHealthAnalyticsCustomModulesResponse>;

Calls ListDescendantSecurityHealthAnalyticsCustomModules.

Parameter
NameDescription
request IListDescendantSecurityHealthAnalyticsCustomModulesRequest

ListDescendantSecurityHealthAnalyticsCustomModulesRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.securitycenter.v1.ListDescendantSecurityHealthAnalyticsCustomModulesResponse>

Promise

listEffectiveSecurityHealthAnalyticsCustomModules(request, callback)

public listEffectiveSecurityHealthAnalyticsCustomModules(request: google.cloud.securitycenter.v1.IListEffectiveSecurityHealthAnalyticsCustomModulesRequest, callback: google.cloud.securitycenter.v1.SecurityCenter.ListEffectiveSecurityHealthAnalyticsCustomModulesCallback): void;

Calls ListEffectiveSecurityHealthAnalyticsCustomModules.

Parameters
NameDescription
request IListEffectiveSecurityHealthAnalyticsCustomModulesRequest

ListEffectiveSecurityHealthAnalyticsCustomModulesRequest message or plain object

callback ListEffectiveSecurityHealthAnalyticsCustomModulesCallback

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

Returns
TypeDescription
void

listEffectiveSecurityHealthAnalyticsCustomModules(request)

public listEffectiveSecurityHealthAnalyticsCustomModules(request: google.cloud.securitycenter.v1.IListEffectiveSecurityHealthAnalyticsCustomModulesRequest): Promise<google.cloud.securitycenter.v1.ListEffectiveSecurityHealthAnalyticsCustomModulesResponse>;

Calls ListEffectiveSecurityHealthAnalyticsCustomModules.

Parameter
NameDescription
request IListEffectiveSecurityHealthAnalyticsCustomModulesRequest

ListEffectiveSecurityHealthAnalyticsCustomModulesRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.securitycenter.v1.ListEffectiveSecurityHealthAnalyticsCustomModulesResponse>

Promise

listFindings(request, callback)

public listFindings(request: google.cloud.securitycenter.v1.IListFindingsRequest, callback: google.cloud.securitycenter.v1.SecurityCenter.ListFindingsCallback): void;

Calls ListFindings.

Parameters
NameDescription
request IListFindingsRequest

ListFindingsRequest message or plain object

callback ListFindingsCallback

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

Returns
TypeDescription
void

listFindings(request)

public listFindings(request: google.cloud.securitycenter.v1.IListFindingsRequest): Promise<google.cloud.securitycenter.v1.ListFindingsResponse>;

Calls ListFindings.

Parameter
NameDescription
request IListFindingsRequest

ListFindingsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.securitycenter.v1.ListFindingsResponse>

Promise

listMuteConfigs(request, callback)

public listMuteConfigs(request: google.cloud.securitycenter.v1.IListMuteConfigsRequest, callback: google.cloud.securitycenter.v1.SecurityCenter.ListMuteConfigsCallback): void;

Calls ListMuteConfigs.

Parameters
NameDescription
request IListMuteConfigsRequest

ListMuteConfigsRequest message or plain object

callback ListMuteConfigsCallback

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

Returns
TypeDescription
void

listMuteConfigs(request)

public listMuteConfigs(request: google.cloud.securitycenter.v1.IListMuteConfigsRequest): Promise<google.cloud.securitycenter.v1.ListMuteConfigsResponse>;

Calls ListMuteConfigs.

Parameter
NameDescription
request IListMuteConfigsRequest

ListMuteConfigsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.securitycenter.v1.ListMuteConfigsResponse>

Promise

listNotificationConfigs(request, callback)

public listNotificationConfigs(request: google.cloud.securitycenter.v1.IListNotificationConfigsRequest, callback: google.cloud.securitycenter.v1.SecurityCenter.ListNotificationConfigsCallback): void;

Calls ListNotificationConfigs.

Parameters
NameDescription
request IListNotificationConfigsRequest

ListNotificationConfigsRequest message or plain object

callback ListNotificationConfigsCallback

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

Returns
TypeDescription
void

listNotificationConfigs(request)

public listNotificationConfigs(request: google.cloud.securitycenter.v1.IListNotificationConfigsRequest): Promise<google.cloud.securitycenter.v1.ListNotificationConfigsResponse>;

Calls ListNotificationConfigs.

Parameter
NameDescription
request IListNotificationConfigsRequest

ListNotificationConfigsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.securitycenter.v1.ListNotificationConfigsResponse>

Promise

listSecurityHealthAnalyticsCustomModules(request, callback)

public listSecurityHealthAnalyticsCustomModules(request: google.cloud.securitycenter.v1.IListSecurityHealthAnalyticsCustomModulesRequest, callback: google.cloud.securitycenter.v1.SecurityCenter.ListSecurityHealthAnalyticsCustomModulesCallback): void;

Calls ListSecurityHealthAnalyticsCustomModules.

Parameters
NameDescription
request IListSecurityHealthAnalyticsCustomModulesRequest

ListSecurityHealthAnalyticsCustomModulesRequest message or plain object

callback ListSecurityHealthAnalyticsCustomModulesCallback

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

Returns
TypeDescription
void

listSecurityHealthAnalyticsCustomModules(request)

public listSecurityHealthAnalyticsCustomModules(request: google.cloud.securitycenter.v1.IListSecurityHealthAnalyticsCustomModulesRequest): Promise<google.cloud.securitycenter.v1.ListSecurityHealthAnalyticsCustomModulesResponse>;

Calls ListSecurityHealthAnalyticsCustomModules.

Parameter
NameDescription
request IListSecurityHealthAnalyticsCustomModulesRequest

ListSecurityHealthAnalyticsCustomModulesRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.securitycenter.v1.ListSecurityHealthAnalyticsCustomModulesResponse>

Promise

listSources(request, callback)

public listSources(request: google.cloud.securitycenter.v1.IListSourcesRequest, callback: google.cloud.securitycenter.v1.SecurityCenter.ListSourcesCallback): void;

Calls ListSources.

Parameters
NameDescription
request IListSourcesRequest

ListSourcesRequest message or plain object

callback ListSourcesCallback

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

Returns
TypeDescription
void

listSources(request)

public listSources(request: google.cloud.securitycenter.v1.IListSourcesRequest): Promise<google.cloud.securitycenter.v1.ListSourcesResponse>;

Calls ListSources.

Parameter
NameDescription
request IListSourcesRequest

ListSourcesRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.securitycenter.v1.ListSourcesResponse>

Promise

runAssetDiscovery(request, callback)

public runAssetDiscovery(request: google.cloud.securitycenter.v1.IRunAssetDiscoveryRequest, callback: google.cloud.securitycenter.v1.SecurityCenter.RunAssetDiscoveryCallback): void;

Calls RunAssetDiscovery.

Parameters
NameDescription
request IRunAssetDiscoveryRequest

RunAssetDiscoveryRequest message or plain object

callback RunAssetDiscoveryCallback

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

Returns
TypeDescription
void

runAssetDiscovery(request)

public runAssetDiscovery(request: google.cloud.securitycenter.v1.IRunAssetDiscoveryRequest): Promise<google.longrunning.Operation>;

Calls RunAssetDiscovery.

Parameter
NameDescription
request IRunAssetDiscoveryRequest

RunAssetDiscoveryRequest message or plain object

Returns
TypeDescription
Promise<google.longrunning.Operation>

Promise

setFindingState(request, callback)

public setFindingState(request: google.cloud.securitycenter.v1.ISetFindingStateRequest, callback: google.cloud.securitycenter.v1.SecurityCenter.SetFindingStateCallback): void;

Calls SetFindingState.

Parameters
NameDescription
request ISetFindingStateRequest

SetFindingStateRequest message or plain object

callback SetFindingStateCallback

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

Returns
TypeDescription
void

setFindingState(request)

public setFindingState(request: google.cloud.securitycenter.v1.ISetFindingStateRequest): Promise<google.cloud.securitycenter.v1.Finding>;

Calls SetFindingState.

Parameter
NameDescription
request ISetFindingStateRequest

SetFindingStateRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.securitycenter.v1.Finding>

Promise

setIamPolicy(request, callback)

public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest, callback: google.cloud.securitycenter.v1.SecurityCenter.SetIamPolicyCallback): void;

Calls SetIamPolicy.

Parameters
NameDescription
request ISetIamPolicyRequest

SetIamPolicyRequest message or plain object

callback SetIamPolicyCallback

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

Returns
TypeDescription
void

setIamPolicy(request)

public setIamPolicy(request: google.iam.v1.ISetIamPolicyRequest): Promise<google.iam.v1.Policy>;

Calls SetIamPolicy.

Parameter
NameDescription
request ISetIamPolicyRequest

SetIamPolicyRequest message or plain object

Returns
TypeDescription
Promise<google.iam.v1.Policy>

Promise

setMute(request, callback)

public setMute(request: google.cloud.securitycenter.v1.ISetMuteRequest, callback: google.cloud.securitycenter.v1.SecurityCenter.SetMuteCallback): void;

Calls SetMute.

Parameters
NameDescription
request ISetMuteRequest

SetMuteRequest message or plain object

callback SetMuteCallback

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

Returns
TypeDescription
void

setMute(request)

public setMute(request: google.cloud.securitycenter.v1.ISetMuteRequest): Promise<google.cloud.securitycenter.v1.Finding>;

Calls SetMute.

Parameter
NameDescription
request ISetMuteRequest

SetMuteRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.securitycenter.v1.Finding>

Promise

simulateSecurityHealthAnalyticsCustomModule(request, callback)

public simulateSecurityHealthAnalyticsCustomModule(request: google.cloud.securitycenter.v1.ISimulateSecurityHealthAnalyticsCustomModuleRequest, callback: google.cloud.securitycenter.v1.SecurityCenter.SimulateSecurityHealthAnalyticsCustomModuleCallback): void;

Calls SimulateSecurityHealthAnalyticsCustomModule.

Parameters
NameDescription
request ISimulateSecurityHealthAnalyticsCustomModuleRequest

SimulateSecurityHealthAnalyticsCustomModuleRequest message or plain object

callback SimulateSecurityHealthAnalyticsCustomModuleCallback

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

Returns
TypeDescription
void

simulateSecurityHealthAnalyticsCustomModule(request)

public simulateSecurityHealthAnalyticsCustomModule(request: google.cloud.securitycenter.v1.ISimulateSecurityHealthAnalyticsCustomModuleRequest): Promise<google.cloud.securitycenter.v1.SimulateSecurityHealthAnalyticsCustomModuleResponse>;

Calls SimulateSecurityHealthAnalyticsCustomModule.

Parameter
NameDescription
request ISimulateSecurityHealthAnalyticsCustomModuleRequest

SimulateSecurityHealthAnalyticsCustomModuleRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.securitycenter.v1.SimulateSecurityHealthAnalyticsCustomModuleResponse>

Promise

testIamPermissions(request, callback)

public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest, callback: google.cloud.securitycenter.v1.SecurityCenter.TestIamPermissionsCallback): void;

Calls TestIamPermissions.

Parameters
NameDescription
request ITestIamPermissionsRequest

TestIamPermissionsRequest message or plain object

callback TestIamPermissionsCallback

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

Returns
TypeDescription
void

testIamPermissions(request)

public testIamPermissions(request: google.iam.v1.ITestIamPermissionsRequest): Promise<google.iam.v1.TestIamPermissionsResponse>;

Calls TestIamPermissions.

Parameter
NameDescription
request ITestIamPermissionsRequest

TestIamPermissionsRequest message or plain object

Returns
TypeDescription
Promise<google.iam.v1.TestIamPermissionsResponse>

Promise

updateBigQueryExport(request, callback)

public updateBigQueryExport(request: google.cloud.securitycenter.v1.IUpdateBigQueryExportRequest, callback: google.cloud.securitycenter.v1.SecurityCenter.UpdateBigQueryExportCallback): void;

Calls UpdateBigQueryExport.

Parameters
NameDescription
request IUpdateBigQueryExportRequest

UpdateBigQueryExportRequest message or plain object

callback UpdateBigQueryExportCallback

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

Returns
TypeDescription
void

updateBigQueryExport(request)

public updateBigQueryExport(request: google.cloud.securitycenter.v1.IUpdateBigQueryExportRequest): Promise<google.cloud.securitycenter.v1.BigQueryExport>;

Calls UpdateBigQueryExport.

Parameter
NameDescription
request IUpdateBigQueryExportRequest

UpdateBigQueryExportRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.securitycenter.v1.BigQueryExport>

Promise

updateExternalSystem(request, callback)

public updateExternalSystem(request: google.cloud.securitycenter.v1.IUpdateExternalSystemRequest, callback: google.cloud.securitycenter.v1.SecurityCenter.UpdateExternalSystemCallback): void;

Calls UpdateExternalSystem.

Parameters
NameDescription
request IUpdateExternalSystemRequest

UpdateExternalSystemRequest message or plain object

callback UpdateExternalSystemCallback

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

Returns
TypeDescription
void

updateExternalSystem(request)

public updateExternalSystem(request: google.cloud.securitycenter.v1.IUpdateExternalSystemRequest): Promise<google.cloud.securitycenter.v1.ExternalSystem>;

Calls UpdateExternalSystem.

Parameter
NameDescription
request IUpdateExternalSystemRequest

UpdateExternalSystemRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.securitycenter.v1.ExternalSystem>

Promise

updateFinding(request, callback)

public updateFinding(request: google.cloud.securitycenter.v1.IUpdateFindingRequest, callback: google.cloud.securitycenter.v1.SecurityCenter.UpdateFindingCallback): void;

Calls UpdateFinding.

Parameters
NameDescription
request IUpdateFindingRequest

UpdateFindingRequest message or plain object

callback UpdateFindingCallback

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

Returns
TypeDescription
void

updateFinding(request)

public updateFinding(request: google.cloud.securitycenter.v1.IUpdateFindingRequest): Promise<google.cloud.securitycenter.v1.Finding>;

Calls UpdateFinding.

Parameter
NameDescription
request IUpdateFindingRequest

UpdateFindingRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.securitycenter.v1.Finding>

Promise

updateMuteConfig(request, callback)

public updateMuteConfig(request: google.cloud.securitycenter.v1.IUpdateMuteConfigRequest, callback: google.cloud.securitycenter.v1.SecurityCenter.UpdateMuteConfigCallback): void;

Calls UpdateMuteConfig.

Parameters
NameDescription
request IUpdateMuteConfigRequest

UpdateMuteConfigRequest message or plain object

callback UpdateMuteConfigCallback

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

Returns
TypeDescription
void

updateMuteConfig(request)

public updateMuteConfig(request: google.cloud.securitycenter.v1.IUpdateMuteConfigRequest): Promise<google.cloud.securitycenter.v1.MuteConfig>;

Calls UpdateMuteConfig.

Parameter
NameDescription
request IUpdateMuteConfigRequest

UpdateMuteConfigRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.securitycenter.v1.MuteConfig>

Promise

updateNotificationConfig(request, callback)

public updateNotificationConfig(request: google.cloud.securitycenter.v1.IUpdateNotificationConfigRequest, callback: google.cloud.securitycenter.v1.SecurityCenter.UpdateNotificationConfigCallback): void;

Calls UpdateNotificationConfig.

Parameters
NameDescription
request IUpdateNotificationConfigRequest

UpdateNotificationConfigRequest message or plain object

callback UpdateNotificationConfigCallback

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

Returns
TypeDescription
void

updateNotificationConfig(request)

public updateNotificationConfig(request: google.cloud.securitycenter.v1.IUpdateNotificationConfigRequest): Promise<google.cloud.securitycenter.v1.NotificationConfig>;

Calls UpdateNotificationConfig.

Parameter
NameDescription
request IUpdateNotificationConfigRequest

UpdateNotificationConfigRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.securitycenter.v1.NotificationConfig>

Promise

updateOrganizationSettings(request, callback)

public updateOrganizationSettings(request: google.cloud.securitycenter.v1.IUpdateOrganizationSettingsRequest, callback: google.cloud.securitycenter.v1.SecurityCenter.UpdateOrganizationSettingsCallback): void;

Calls UpdateOrganizationSettings.

Parameters
NameDescription
request IUpdateOrganizationSettingsRequest

UpdateOrganizationSettingsRequest message or plain object

callback UpdateOrganizationSettingsCallback

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

Returns
TypeDescription
void

updateOrganizationSettings(request)

public updateOrganizationSettings(request: google.cloud.securitycenter.v1.IUpdateOrganizationSettingsRequest): Promise<google.cloud.securitycenter.v1.OrganizationSettings>;

Calls UpdateOrganizationSettings.

Parameter
NameDescription
request IUpdateOrganizationSettingsRequest

UpdateOrganizationSettingsRequest message or plain object

Returns
TypeDescription
Promise<google.cloud.securitycenter.v1.OrganizationSettings>

Promise