Class protos.google.cloud.securitycenter.v1.SecurityCenter (5.9.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 google.cloud.securitycenter.v1.SecurityCenter.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.

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 google.cloud.securitycenter.v1.SecurityCenter.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 google.cloud.securitycenter.v1.SecurityCenter.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 google.cloud.securitycenter.v1.ICreateNotificationConfigRequest

CreateNotificationConfigRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.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 google.cloud.securitycenter.v1.ICreateNotificationConfigRequest

CreateNotificationConfigRequest message or plain object

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

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 google.cloud.securitycenter.v1.SecurityCenter.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

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 google.cloud.securitycenter.v1.SecurityCenter.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 google.cloud.securitycenter.v1.SecurityCenter.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

getIamPolicy(request, callback)

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

Calls GetIamPolicy.

Parameters
NameDescription
request google.iam.v1.IGetIamPolicyRequest

GetIamPolicyRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.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 google.iam.v1.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 google.cloud.securitycenter.v1.SecurityCenter.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 google.cloud.securitycenter.v1.SecurityCenter.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 google.cloud.securitycenter.v1.SecurityCenter.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

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 google.cloud.securitycenter.v1.SecurityCenter.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 google.cloud.securitycenter.v1.SecurityCenter.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 google.cloud.securitycenter.v1.SecurityCenter.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 google.cloud.securitycenter.v1.SecurityCenter.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

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 google.cloud.securitycenter.v1.SecurityCenter.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 google.cloud.securitycenter.v1.SecurityCenter.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 google.cloud.securitycenter.v1.SecurityCenter.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

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 google.cloud.securitycenter.v1.SecurityCenter.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 google.cloud.securitycenter.v1.SecurityCenter.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 google.cloud.securitycenter.v1.SecurityCenter.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 google.iam.v1.ISetIamPolicyRequest

SetIamPolicyRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.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 google.iam.v1.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 google.cloud.securitycenter.v1.SecurityCenter.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

testIamPermissions(request, callback)

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

Calls TestIamPermissions.

Parameters
NameDescription
request google.iam.v1.ITestIamPermissionsRequest

TestIamPermissionsRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.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 google.iam.v1.ITestIamPermissionsRequest

TestIamPermissionsRequest message or plain object

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

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 google.cloud.securitycenter.v1.SecurityCenter.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 google.cloud.securitycenter.v1.SecurityCenter.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 google.cloud.securitycenter.v1.SecurityCenter.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 google.cloud.securitycenter.v1.SecurityCenter.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 google.cloud.securitycenter.v1.SecurityCenter.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

updateSecurityMarks(request, callback)

public updateSecurityMarks(request: google.cloud.securitycenter.v1.IUpdateSecurityMarksRequest, callback: google.cloud.securitycenter.v1.SecurityCenter.UpdateSecurityMarksCallback): void;

Calls UpdateSecurityMarks.

Parameters
NameDescription
request IUpdateSecurityMarksRequest

UpdateSecurityMarksRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.UpdateSecurityMarksCallback

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

Returns
TypeDescription
void

updateSecurityMarks(request)

public updateSecurityMarks(request: google.cloud.securitycenter.v1.IUpdateSecurityMarksRequest): Promise<google.cloud.securitycenter.v1.SecurityMarks>;

Calls UpdateSecurityMarks.

Parameter
NameDescription
request IUpdateSecurityMarksRequest

UpdateSecurityMarksRequest message or plain object

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

Promise

updateSource(request, callback)

public updateSource(request: google.cloud.securitycenter.v1.IUpdateSourceRequest, callback: google.cloud.securitycenter.v1.SecurityCenter.UpdateSourceCallback): void;

Calls UpdateSource.

Parameters
NameDescription
request IUpdateSourceRequest

UpdateSourceRequest message or plain object

callback google.cloud.securitycenter.v1.SecurityCenter.UpdateSourceCallback

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

Returns
TypeDescription
void

updateSource(request)

public updateSource(request: google.cloud.securitycenter.v1.IUpdateSourceRequest): Promise<google.cloud.securitycenter.v1.Source>;

Calls UpdateSource.

Parameter
NameDescription
request IUpdateSourceRequest

UpdateSourceRequest message or plain object

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

Promise