Constructor
new SecurityCenter(rpcImpl, requestDelimitedopt, responseDelimitedopt)
Constructs a new SecurityCenter service.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
rpcImpl |
$protobuf.RPCImpl |
RPC implementation |
||
requestDelimited |
boolean |
<optional> |
false |
Whether requests are length-delimited |
responseDelimited |
boolean |
<optional> |
false |
Whether responses are length-delimited |
Extends
- $protobuf.rpc.Service
Methods
batchCreateResourceValueConfigs(request, callback) → {undefined}
Calls BatchCreateResourceValueConfigs.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IBatchCreateResourceValueConfigsRequest |
BatchCreateResourceValueConfigsRequest message or plain object |
callback |
google.cloud.securitycenter.v2.SecurityCenter.BatchCreateResourceValueConfigsCallback |
Node-style callback called with the error, if any, and BatchCreateResourceValueConfigsResponse |
Returns:
Type | Description |
---|---|
undefined |
batchCreateResourceValueConfigs(request) → {Promise.<google.cloud.securitycenter.v2.BatchCreateResourceValueConfigsResponse>}
Calls BatchCreateResourceValueConfigs.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IBatchCreateResourceValueConfigsRequest |
BatchCreateResourceValueConfigsRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.securitycenter.v2.BatchCreateResourceValueConfigsResponse> |
Promise |
bulkMuteFindings(request, callback) → {undefined}
Calls BulkMuteFindings.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IBulkMuteFindingsRequest |
BulkMuteFindingsRequest message or plain object |
callback |
google.cloud.securitycenter.v2.SecurityCenter.BulkMuteFindingsCallback |
Node-style callback called with the error, if any, and Operation |
Returns:
Type | Description |
---|---|
undefined |
bulkMuteFindings(request) → {Promise.<google.longrunning.Operation>}
Calls BulkMuteFindings.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IBulkMuteFindingsRequest |
BulkMuteFindingsRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.longrunning.Operation> |
Promise |
createBigQueryExport(request, callback) → {undefined}
Calls CreateBigQueryExport.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.ICreateBigQueryExportRequest |
CreateBigQueryExportRequest message or plain object |
callback |
google.cloud.securitycenter.v2.SecurityCenter.CreateBigQueryExportCallback |
Node-style callback called with the error, if any, and BigQueryExport |
Returns:
Type | Description |
---|---|
undefined |
createBigQueryExport(request) → {Promise.<google.cloud.securitycenter.v2.BigQueryExport>}
Calls CreateBigQueryExport.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.ICreateBigQueryExportRequest |
CreateBigQueryExportRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.securitycenter.v2.BigQueryExport> |
Promise |
createFinding(request, callback) → {undefined}
Calls CreateFinding.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.ICreateFindingRequest |
CreateFindingRequest message or plain object |
callback |
google.cloud.securitycenter.v2.SecurityCenter.CreateFindingCallback |
Node-style callback called with the error, if any, and Finding |
Returns:
Type | Description |
---|---|
undefined |
createFinding(request) → {Promise.<google.cloud.securitycenter.v2.Finding>}
Calls CreateFinding.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.ICreateFindingRequest |
CreateFindingRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.securitycenter.v2.Finding> |
Promise |
createMuteConfig(request, callback) → {undefined}
Calls CreateMuteConfig.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.ICreateMuteConfigRequest |
CreateMuteConfigRequest message or plain object |
callback |
google.cloud.securitycenter.v2.SecurityCenter.CreateMuteConfigCallback |
Node-style callback called with the error, if any, and MuteConfig |
Returns:
Type | Description |
---|---|
undefined |
createMuteConfig(request) → {Promise.<google.cloud.securitycenter.v2.MuteConfig>}
Calls CreateMuteConfig.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.ICreateMuteConfigRequest |
CreateMuteConfigRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.securitycenter.v2.MuteConfig> |
Promise |
createNotificationConfig(request, callback) → {undefined}
Calls CreateNotificationConfig.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.ICreateNotificationConfigRequest |
CreateNotificationConfigRequest message or plain object |
callback |
google.cloud.securitycenter.v2.SecurityCenter.CreateNotificationConfigCallback |
Node-style callback called with the error, if any, and NotificationConfig |
Returns:
Type | Description |
---|---|
undefined |
createNotificationConfig(request) → {Promise.<google.cloud.securitycenter.v2.NotificationConfig>}
Calls CreateNotificationConfig.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.ICreateNotificationConfigRequest |
CreateNotificationConfigRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.securitycenter.v2.NotificationConfig> |
Promise |
createSource(request, callback) → {undefined}
Calls CreateSource.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.ICreateSourceRequest |
CreateSourceRequest message or plain object |
callback |
google.cloud.securitycenter.v2.SecurityCenter.CreateSourceCallback |
Node-style callback called with the error, if any, and Source |
Returns:
Type | Description |
---|---|
undefined |
createSource(request) → {Promise.<google.cloud.securitycenter.v2.Source>}
Calls CreateSource.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.ICreateSourceRequest |
CreateSourceRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.securitycenter.v2.Source> |
Promise |
deleteBigQueryExport(request, callback) → {undefined}
Calls DeleteBigQueryExport.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IDeleteBigQueryExportRequest |
DeleteBigQueryExportRequest message or plain object |
callback |
google.cloud.securitycenter.v2.SecurityCenter.DeleteBigQueryExportCallback |
Node-style callback called with the error, if any, and Empty |
Returns:
Type | Description |
---|---|
undefined |
deleteBigQueryExport(request) → {Promise.<google.protobuf.Empty>}
Calls DeleteBigQueryExport.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IDeleteBigQueryExportRequest |
DeleteBigQueryExportRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.protobuf.Empty> |
Promise |
deleteMuteConfig(request, callback) → {undefined}
Calls DeleteMuteConfig.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IDeleteMuteConfigRequest |
DeleteMuteConfigRequest message or plain object |
callback |
google.cloud.securitycenter.v2.SecurityCenter.DeleteMuteConfigCallback |
Node-style callback called with the error, if any, and Empty |
Returns:
Type | Description |
---|---|
undefined |
deleteMuteConfig(request) → {Promise.<google.protobuf.Empty>}
Calls DeleteMuteConfig.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IDeleteMuteConfigRequest |
DeleteMuteConfigRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.protobuf.Empty> |
Promise |
deleteNotificationConfig(request, callback) → {undefined}
Calls DeleteNotificationConfig.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IDeleteNotificationConfigRequest |
DeleteNotificationConfigRequest message or plain object |
callback |
google.cloud.securitycenter.v2.SecurityCenter.DeleteNotificationConfigCallback |
Node-style callback called with the error, if any, and Empty |
Returns:
Type | Description |
---|---|
undefined |
deleteNotificationConfig(request) → {Promise.<google.protobuf.Empty>}
Calls DeleteNotificationConfig.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IDeleteNotificationConfigRequest |
DeleteNotificationConfigRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.protobuf.Empty> |
Promise |
deleteResourceValueConfig(request, callback) → {undefined}
Calls DeleteResourceValueConfig.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IDeleteResourceValueConfigRequest |
DeleteResourceValueConfigRequest message or plain object |
callback |
google.cloud.securitycenter.v2.SecurityCenter.DeleteResourceValueConfigCallback |
Node-style callback called with the error, if any, and Empty |
Returns:
Type | Description |
---|---|
undefined |
deleteResourceValueConfig(request) → {Promise.<google.protobuf.Empty>}
Calls DeleteResourceValueConfig.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IDeleteResourceValueConfigRequest |
DeleteResourceValueConfigRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.protobuf.Empty> |
Promise |
getBigQueryExport(request, callback) → {undefined}
Calls GetBigQueryExport.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IGetBigQueryExportRequest |
GetBigQueryExportRequest message or plain object |
callback |
google.cloud.securitycenter.v2.SecurityCenter.GetBigQueryExportCallback |
Node-style callback called with the error, if any, and BigQueryExport |
Returns:
Type | Description |
---|---|
undefined |
getBigQueryExport(request) → {Promise.<google.cloud.securitycenter.v2.BigQueryExport>}
Calls GetBigQueryExport.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IGetBigQueryExportRequest |
GetBigQueryExportRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.securitycenter.v2.BigQueryExport> |
Promise |
getIamPolicy(request, callback) → {undefined}
Calls GetIamPolicy.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.iam.v1.IGetIamPolicyRequest |
GetIamPolicyRequest message or plain object |
callback |
google.cloud.securitycenter.v2.SecurityCenter.GetIamPolicyCallback |
Node-style callback called with the error, if any, and Policy |
Returns:
Type | Description |
---|---|
undefined |
getIamPolicy(request) → {Promise.<google.iam.v1.Policy>}
Calls GetIamPolicy.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.iam.v1.IGetIamPolicyRequest |
GetIamPolicyRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.iam.v1.Policy> |
Promise |
getMuteConfig(request, callback) → {undefined}
Calls GetMuteConfig.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IGetMuteConfigRequest |
GetMuteConfigRequest message or plain object |
callback |
google.cloud.securitycenter.v2.SecurityCenter.GetMuteConfigCallback |
Node-style callback called with the error, if any, and MuteConfig |
Returns:
Type | Description |
---|---|
undefined |
getMuteConfig(request) → {Promise.<google.cloud.securitycenter.v2.MuteConfig>}
Calls GetMuteConfig.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IGetMuteConfigRequest |
GetMuteConfigRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.securitycenter.v2.MuteConfig> |
Promise |
getNotificationConfig(request, callback) → {undefined}
Calls GetNotificationConfig.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IGetNotificationConfigRequest |
GetNotificationConfigRequest message or plain object |
callback |
google.cloud.securitycenter.v2.SecurityCenter.GetNotificationConfigCallback |
Node-style callback called with the error, if any, and NotificationConfig |
Returns:
Type | Description |
---|---|
undefined |
getNotificationConfig(request) → {Promise.<google.cloud.securitycenter.v2.NotificationConfig>}
Calls GetNotificationConfig.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IGetNotificationConfigRequest |
GetNotificationConfigRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.securitycenter.v2.NotificationConfig> |
Promise |
getResourceValueConfig(request, callback) → {undefined}
Calls GetResourceValueConfig.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IGetResourceValueConfigRequest |
GetResourceValueConfigRequest message or plain object |
callback |
google.cloud.securitycenter.v2.SecurityCenter.GetResourceValueConfigCallback |
Node-style callback called with the error, if any, and ResourceValueConfig |
Returns:
Type | Description |
---|---|
undefined |
getResourceValueConfig(request) → {Promise.<google.cloud.securitycenter.v2.ResourceValueConfig>}
Calls GetResourceValueConfig.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IGetResourceValueConfigRequest |
GetResourceValueConfigRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.securitycenter.v2.ResourceValueConfig> |
Promise |
getSimulation(request, callback) → {undefined}
Calls GetSimulation.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IGetSimulationRequest |
GetSimulationRequest message or plain object |
callback |
google.cloud.securitycenter.v2.SecurityCenter.GetSimulationCallback |
Node-style callback called with the error, if any, and Simulation |
Returns:
Type | Description |
---|---|
undefined |
getSimulation(request) → {Promise.<google.cloud.securitycenter.v2.Simulation>}
Calls GetSimulation.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IGetSimulationRequest |
GetSimulationRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.securitycenter.v2.Simulation> |
Promise |
getSource(request, callback) → {undefined}
Calls GetSource.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IGetSourceRequest |
GetSourceRequest message or plain object |
callback |
google.cloud.securitycenter.v2.SecurityCenter.GetSourceCallback |
Node-style callback called with the error, if any, and Source |
Returns:
Type | Description |
---|---|
undefined |
getSource(request) → {Promise.<google.cloud.securitycenter.v2.Source>}
Calls GetSource.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IGetSourceRequest |
GetSourceRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.securitycenter.v2.Source> |
Promise |
getValuedResource(request, callback) → {undefined}
Calls GetValuedResource.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IGetValuedResourceRequest |
GetValuedResourceRequest message or plain object |
callback |
google.cloud.securitycenter.v2.SecurityCenter.GetValuedResourceCallback |
Node-style callback called with the error, if any, and ValuedResource |
Returns:
Type | Description |
---|---|
undefined |
getValuedResource(request) → {Promise.<google.cloud.securitycenter.v2.ValuedResource>}
Calls GetValuedResource.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IGetValuedResourceRequest |
GetValuedResourceRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.securitycenter.v2.ValuedResource> |
Promise |
groupFindings(request, callback) → {undefined}
Calls GroupFindings.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IGroupFindingsRequest |
GroupFindingsRequest message or plain object |
callback |
google.cloud.securitycenter.v2.SecurityCenter.GroupFindingsCallback |
Node-style callback called with the error, if any, and GroupFindingsResponse |
Returns:
Type | Description |
---|---|
undefined |
groupFindings(request) → {Promise.<google.cloud.securitycenter.v2.GroupFindingsResponse>}
Calls GroupFindings.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IGroupFindingsRequest |
GroupFindingsRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.securitycenter.v2.GroupFindingsResponse> |
Promise |
listAttackPaths(request, callback) → {undefined}
Calls ListAttackPaths.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IListAttackPathsRequest |
ListAttackPathsRequest message or plain object |
callback |
google.cloud.securitycenter.v2.SecurityCenter.ListAttackPathsCallback |
Node-style callback called with the error, if any, and ListAttackPathsResponse |
Returns:
Type | Description |
---|---|
undefined |
listAttackPaths(request) → {Promise.<google.cloud.securitycenter.v2.ListAttackPathsResponse>}
Calls ListAttackPaths.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IListAttackPathsRequest |
ListAttackPathsRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.securitycenter.v2.ListAttackPathsResponse> |
Promise |
listBigQueryExports(request, callback) → {undefined}
Calls ListBigQueryExports.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IListBigQueryExportsRequest |
ListBigQueryExportsRequest message or plain object |
callback |
google.cloud.securitycenter.v2.SecurityCenter.ListBigQueryExportsCallback |
Node-style callback called with the error, if any, and ListBigQueryExportsResponse |
Returns:
Type | Description |
---|---|
undefined |
listBigQueryExports(request) → {Promise.<google.cloud.securitycenter.v2.ListBigQueryExportsResponse>}
Calls ListBigQueryExports.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IListBigQueryExportsRequest |
ListBigQueryExportsRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.securitycenter.v2.ListBigQueryExportsResponse> |
Promise |
listFindings(request, callback) → {undefined}
Calls ListFindings.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IListFindingsRequest |
ListFindingsRequest message or plain object |
callback |
google.cloud.securitycenter.v2.SecurityCenter.ListFindingsCallback |
Node-style callback called with the error, if any, and ListFindingsResponse |
Returns:
Type | Description |
---|---|
undefined |
listFindings(request) → {Promise.<google.cloud.securitycenter.v2.ListFindingsResponse>}
Calls ListFindings.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IListFindingsRequest |
ListFindingsRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.securitycenter.v2.ListFindingsResponse> |
Promise |
listMuteConfigs(request, callback) → {undefined}
Calls ListMuteConfigs.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IListMuteConfigsRequest |
ListMuteConfigsRequest message or plain object |
callback |
google.cloud.securitycenter.v2.SecurityCenter.ListMuteConfigsCallback |
Node-style callback called with the error, if any, and ListMuteConfigsResponse |
Returns:
Type | Description |
---|---|
undefined |
listMuteConfigs(request) → {Promise.<google.cloud.securitycenter.v2.ListMuteConfigsResponse>}
Calls ListMuteConfigs.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IListMuteConfigsRequest |
ListMuteConfigsRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.securitycenter.v2.ListMuteConfigsResponse> |
Promise |
listNotificationConfigs(request, callback) → {undefined}
Calls ListNotificationConfigs.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IListNotificationConfigsRequest |
ListNotificationConfigsRequest message or plain object |
callback |
google.cloud.securitycenter.v2.SecurityCenter.ListNotificationConfigsCallback |
Node-style callback called with the error, if any, and ListNotificationConfigsResponse |
Returns:
Type | Description |
---|---|
undefined |
listNotificationConfigs(request) → {Promise.<google.cloud.securitycenter.v2.ListNotificationConfigsResponse>}
Calls ListNotificationConfigs.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IListNotificationConfigsRequest |
ListNotificationConfigsRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.securitycenter.v2.ListNotificationConfigsResponse> |
Promise |
listResourceValueConfigs(request, callback) → {undefined}
Calls ListResourceValueConfigs.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IListResourceValueConfigsRequest |
ListResourceValueConfigsRequest message or plain object |
callback |
google.cloud.securitycenter.v2.SecurityCenter.ListResourceValueConfigsCallback |
Node-style callback called with the error, if any, and ListResourceValueConfigsResponse |
Returns:
Type | Description |
---|---|
undefined |
listResourceValueConfigs(request) → {Promise.<google.cloud.securitycenter.v2.ListResourceValueConfigsResponse>}
Calls ListResourceValueConfigs.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IListResourceValueConfigsRequest |
ListResourceValueConfigsRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.securitycenter.v2.ListResourceValueConfigsResponse> |
Promise |
listSources(request, callback) → {undefined}
Calls ListSources.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IListSourcesRequest |
ListSourcesRequest message or plain object |
callback |
google.cloud.securitycenter.v2.SecurityCenter.ListSourcesCallback |
Node-style callback called with the error, if any, and ListSourcesResponse |
Returns:
Type | Description |
---|---|
undefined |
listSources(request) → {Promise.<google.cloud.securitycenter.v2.ListSourcesResponse>}
Calls ListSources.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IListSourcesRequest |
ListSourcesRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.securitycenter.v2.ListSourcesResponse> |
Promise |
listValuedResources(request, callback) → {undefined}
Calls ListValuedResources.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IListValuedResourcesRequest |
ListValuedResourcesRequest message or plain object |
callback |
google.cloud.securitycenter.v2.SecurityCenter.ListValuedResourcesCallback |
Node-style callback called with the error, if any, and ListValuedResourcesResponse |
Returns:
Type | Description |
---|---|
undefined |
listValuedResources(request) → {Promise.<google.cloud.securitycenter.v2.ListValuedResourcesResponse>}
Calls ListValuedResources.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IListValuedResourcesRequest |
ListValuedResourcesRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.securitycenter.v2.ListValuedResourcesResponse> |
Promise |
setFindingState(request, callback) → {undefined}
Calls SetFindingState.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.ISetFindingStateRequest |
SetFindingStateRequest message or plain object |
callback |
google.cloud.securitycenter.v2.SecurityCenter.SetFindingStateCallback |
Node-style callback called with the error, if any, and Finding |
Returns:
Type | Description |
---|---|
undefined |
setFindingState(request) → {Promise.<google.cloud.securitycenter.v2.Finding>}
Calls SetFindingState.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.ISetFindingStateRequest |
SetFindingStateRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.securitycenter.v2.Finding> |
Promise |
setIamPolicy(request, callback) → {undefined}
Calls SetIamPolicy.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.iam.v1.ISetIamPolicyRequest |
SetIamPolicyRequest message or plain object |
callback |
google.cloud.securitycenter.v2.SecurityCenter.SetIamPolicyCallback |
Node-style callback called with the error, if any, and Policy |
Returns:
Type | Description |
---|---|
undefined |
setIamPolicy(request) → {Promise.<google.iam.v1.Policy>}
Calls SetIamPolicy.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.iam.v1.ISetIamPolicyRequest |
SetIamPolicyRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.iam.v1.Policy> |
Promise |
setMute(request, callback) → {undefined}
Calls SetMute.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.ISetMuteRequest |
SetMuteRequest message or plain object |
callback |
google.cloud.securitycenter.v2.SecurityCenter.SetMuteCallback |
Node-style callback called with the error, if any, and Finding |
Returns:
Type | Description |
---|---|
undefined |
setMute(request) → {Promise.<google.cloud.securitycenter.v2.Finding>}
Calls SetMute.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.ISetMuteRequest |
SetMuteRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.securitycenter.v2.Finding> |
Promise |
testIamPermissions(request, callback) → {undefined}
Calls TestIamPermissions.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.iam.v1.ITestIamPermissionsRequest |
TestIamPermissionsRequest message or plain object |
callback |
google.cloud.securitycenter.v2.SecurityCenter.TestIamPermissionsCallback |
Node-style callback called with the error, if any, and TestIamPermissionsResponse |
Returns:
Type | Description |
---|---|
undefined |
testIamPermissions(request) → {Promise.<google.iam.v1.TestIamPermissionsResponse>}
Calls TestIamPermissions.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.iam.v1.ITestIamPermissionsRequest |
TestIamPermissionsRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.iam.v1.TestIamPermissionsResponse> |
Promise |
updateBigQueryExport(request, callback) → {undefined}
Calls UpdateBigQueryExport.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IUpdateBigQueryExportRequest |
UpdateBigQueryExportRequest message or plain object |
callback |
google.cloud.securitycenter.v2.SecurityCenter.UpdateBigQueryExportCallback |
Node-style callback called with the error, if any, and BigQueryExport |
Returns:
Type | Description |
---|---|
undefined |
updateBigQueryExport(request) → {Promise.<google.cloud.securitycenter.v2.BigQueryExport>}
Calls UpdateBigQueryExport.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IUpdateBigQueryExportRequest |
UpdateBigQueryExportRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.securitycenter.v2.BigQueryExport> |
Promise |
updateExternalSystem(request, callback) → {undefined}
Calls UpdateExternalSystem.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IUpdateExternalSystemRequest |
UpdateExternalSystemRequest message or plain object |
callback |
google.cloud.securitycenter.v2.SecurityCenter.UpdateExternalSystemCallback |
Node-style callback called with the error, if any, and ExternalSystem |
Returns:
Type | Description |
---|---|
undefined |
updateExternalSystem(request) → {Promise.<google.cloud.securitycenter.v2.ExternalSystem>}
Calls UpdateExternalSystem.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IUpdateExternalSystemRequest |
UpdateExternalSystemRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.securitycenter.v2.ExternalSystem> |
Promise |
updateFinding(request, callback) → {undefined}
Calls UpdateFinding.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IUpdateFindingRequest |
UpdateFindingRequest message or plain object |
callback |
google.cloud.securitycenter.v2.SecurityCenter.UpdateFindingCallback |
Node-style callback called with the error, if any, and Finding |
Returns:
Type | Description |
---|---|
undefined |
updateFinding(request) → {Promise.<google.cloud.securitycenter.v2.Finding>}
Calls UpdateFinding.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IUpdateFindingRequest |
UpdateFindingRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.securitycenter.v2.Finding> |
Promise |
updateMuteConfig(request, callback) → {undefined}
Calls UpdateMuteConfig.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IUpdateMuteConfigRequest |
UpdateMuteConfigRequest message or plain object |
callback |
google.cloud.securitycenter.v2.SecurityCenter.UpdateMuteConfigCallback |
Node-style callback called with the error, if any, and MuteConfig |
Returns:
Type | Description |
---|---|
undefined |
updateMuteConfig(request) → {Promise.<google.cloud.securitycenter.v2.MuteConfig>}
Calls UpdateMuteConfig.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IUpdateMuteConfigRequest |
UpdateMuteConfigRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.securitycenter.v2.MuteConfig> |
Promise |
updateNotificationConfig(request, callback) → {undefined}
Calls UpdateNotificationConfig.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IUpdateNotificationConfigRequest |
UpdateNotificationConfigRequest message or plain object |
callback |
google.cloud.securitycenter.v2.SecurityCenter.UpdateNotificationConfigCallback |
Node-style callback called with the error, if any, and NotificationConfig |
Returns:
Type | Description |
---|---|
undefined |
updateNotificationConfig(request) → {Promise.<google.cloud.securitycenter.v2.NotificationConfig>}
Calls UpdateNotificationConfig.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IUpdateNotificationConfigRequest |
UpdateNotificationConfigRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.securitycenter.v2.NotificationConfig> |
Promise |
updateResourceValueConfig(request, callback) → {undefined}
Calls UpdateResourceValueConfig.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IUpdateResourceValueConfigRequest |
UpdateResourceValueConfigRequest message or plain object |
callback |
google.cloud.securitycenter.v2.SecurityCenter.UpdateResourceValueConfigCallback |
Node-style callback called with the error, if any, and ResourceValueConfig |
Returns:
Type | Description |
---|---|
undefined |
updateResourceValueConfig(request) → {Promise.<google.cloud.securitycenter.v2.ResourceValueConfig>}
Calls UpdateResourceValueConfig.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IUpdateResourceValueConfigRequest |
UpdateResourceValueConfigRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.securitycenter.v2.ResourceValueConfig> |
Promise |
updateSecurityMarks(request, callback) → {undefined}
Calls UpdateSecurityMarks.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IUpdateSecurityMarksRequest |
UpdateSecurityMarksRequest message or plain object |
callback |
google.cloud.securitycenter.v2.SecurityCenter.UpdateSecurityMarksCallback |
Node-style callback called with the error, if any, and SecurityMarks |
Returns:
Type | Description |
---|---|
undefined |
updateSecurityMarks(request) → {Promise.<google.cloud.securitycenter.v2.SecurityMarks>}
Calls UpdateSecurityMarks.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IUpdateSecurityMarksRequest |
UpdateSecurityMarksRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.securitycenter.v2.SecurityMarks> |
Promise |
updateSource(request, callback) → {undefined}
Calls UpdateSource.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IUpdateSourceRequest |
UpdateSourceRequest message or plain object |
callback |
google.cloud.securitycenter.v2.SecurityCenter.UpdateSourceCallback |
Node-style callback called with the error, if any, and Source |
Returns:
Type | Description |
---|---|
undefined |
updateSource(request) → {Promise.<google.cloud.securitycenter.v2.Source>}
Calls UpdateSource.
Parameters:
Name | Type | Description |
---|---|---|
request |
google.cloud.securitycenter.v2.IUpdateSourceRequest |
UpdateSourceRequest message or plain object |
Returns:
Type | Description |
---|---|
Promise.<google.cloud.securitycenter.v2.Source> |
Promise |
(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {SecurityCenter}
Creates new SecurityCenter service using the specified rpc implementation.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
rpcImpl |
$protobuf.RPCImpl |
RPC implementation |
||
requestDelimited |
boolean |
<optional> |
false |
Whether requests are length-delimited |
responseDelimited |
boolean |
<optional> |
false |
Whether responses are length-delimited |
Returns:
Type | Description |
---|---|
SecurityCenter |
RPC service. Useful where requests and/or responses are streamed. |
Type Definitions
BatchCreateResourceValueConfigsCallback(error, responseopt)
Callback as used by batchCreateResourceValueConfigs.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.securitycenter.v2.BatchCreateResourceValueConfigsResponse |
<optional> |
BatchCreateResourceValueConfigsResponse |
BulkMuteFindingsCallback(error, responseopt)
Callback as used by bulkMuteFindings.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.longrunning.Operation |
<optional> |
Operation |
CreateBigQueryExportCallback(error, responseopt)
Callback as used by createBigQueryExport.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.securitycenter.v2.BigQueryExport |
<optional> |
BigQueryExport |
CreateFindingCallback(error, responseopt)
Callback as used by createFinding.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.securitycenter.v2.Finding |
<optional> |
Finding |
CreateMuteConfigCallback(error, responseopt)
Callback as used by createMuteConfig.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.securitycenter.v2.MuteConfig |
<optional> |
MuteConfig |
CreateNotificationConfigCallback(error, responseopt)
Callback as used by createNotificationConfig.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.securitycenter.v2.NotificationConfig |
<optional> |
NotificationConfig |
CreateSourceCallback(error, responseopt)
Callback as used by createSource.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.securitycenter.v2.Source |
<optional> |
Source |
DeleteBigQueryExportCallback(error, responseopt)
Callback as used by deleteBigQueryExport.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.protobuf.Empty |
<optional> |
Empty |
DeleteMuteConfigCallback(error, responseopt)
Callback as used by deleteMuteConfig.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.protobuf.Empty |
<optional> |
Empty |
DeleteNotificationConfigCallback(error, responseopt)
Callback as used by deleteNotificationConfig.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.protobuf.Empty |
<optional> |
Empty |
DeleteResourceValueConfigCallback(error, responseopt)
Callback as used by deleteResourceValueConfig.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.protobuf.Empty |
<optional> |
Empty |
GetBigQueryExportCallback(error, responseopt)
Callback as used by getBigQueryExport.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.securitycenter.v2.BigQueryExport |
<optional> |
BigQueryExport |
GetIamPolicyCallback(error, responseopt)
Callback as used by getIamPolicy.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.iam.v1.Policy |
<optional> |
Policy |
GetMuteConfigCallback(error, responseopt)
Callback as used by getMuteConfig.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.securitycenter.v2.MuteConfig |
<optional> |
MuteConfig |
GetNotificationConfigCallback(error, responseopt)
Callback as used by getNotificationConfig.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.securitycenter.v2.NotificationConfig |
<optional> |
NotificationConfig |
GetResourceValueConfigCallback(error, responseopt)
Callback as used by getResourceValueConfig.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.securitycenter.v2.ResourceValueConfig |
<optional> |
ResourceValueConfig |
GetSimulationCallback(error, responseopt)
Callback as used by getSimulation.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.securitycenter.v2.Simulation |
<optional> |
Simulation |
GetSourceCallback(error, responseopt)
Callback as used by getSource.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.securitycenter.v2.Source |
<optional> |
Source |
GetValuedResourceCallback(error, responseopt)
Callback as used by getValuedResource.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.securitycenter.v2.ValuedResource |
<optional> |
ValuedResource |
GroupFindingsCallback(error, responseopt)
Callback as used by groupFindings.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.securitycenter.v2.GroupFindingsResponse |
<optional> |
GroupFindingsResponse |
ListAttackPathsCallback(error, responseopt)
Callback as used by listAttackPaths.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.securitycenter.v2.ListAttackPathsResponse |
<optional> |
ListAttackPathsResponse |
ListBigQueryExportsCallback(error, responseopt)
Callback as used by listBigQueryExports.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.securitycenter.v2.ListBigQueryExportsResponse |
<optional> |
ListBigQueryExportsResponse |
ListFindingsCallback(error, responseopt)
Callback as used by listFindings.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.securitycenter.v2.ListFindingsResponse |
<optional> |
ListFindingsResponse |
ListMuteConfigsCallback(error, responseopt)
Callback as used by listMuteConfigs.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.securitycenter.v2.ListMuteConfigsResponse |
<optional> |
ListMuteConfigsResponse |
ListNotificationConfigsCallback(error, responseopt)
Callback as used by listNotificationConfigs.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.securitycenter.v2.ListNotificationConfigsResponse |
<optional> |
ListNotificationConfigsResponse |
ListResourceValueConfigsCallback(error, responseopt)
Callback as used by listResourceValueConfigs.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.securitycenter.v2.ListResourceValueConfigsResponse |
<optional> |
ListResourceValueConfigsResponse |
ListSourcesCallback(error, responseopt)
Callback as used by listSources.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.securitycenter.v2.ListSourcesResponse |
<optional> |
ListSourcesResponse |
ListValuedResourcesCallback(error, responseopt)
Callback as used by listValuedResources.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.securitycenter.v2.ListValuedResourcesResponse |
<optional> |
ListValuedResourcesResponse |
SetFindingStateCallback(error, responseopt)
Callback as used by setFindingState.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.securitycenter.v2.Finding |
<optional> |
Finding |
SetIamPolicyCallback(error, responseopt)
Callback as used by setIamPolicy.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.iam.v1.Policy |
<optional> |
Policy |
SetMuteCallback(error, responseopt)
Callback as used by setMute.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.securitycenter.v2.Finding |
<optional> |
Finding |
TestIamPermissionsCallback(error, responseopt)
Callback as used by testIamPermissions.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.iam.v1.TestIamPermissionsResponse |
<optional> |
TestIamPermissionsResponse |
UpdateBigQueryExportCallback(error, responseopt)
Callback as used by updateBigQueryExport.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.securitycenter.v2.BigQueryExport |
<optional> |
BigQueryExport |
UpdateExternalSystemCallback(error, responseopt)
Callback as used by updateExternalSystem.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.securitycenter.v2.ExternalSystem |
<optional> |
ExternalSystem |
UpdateFindingCallback(error, responseopt)
Callback as used by updateFinding.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.securitycenter.v2.Finding |
<optional> |
Finding |
UpdateMuteConfigCallback(error, responseopt)
Callback as used by updateMuteConfig.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.securitycenter.v2.MuteConfig |
<optional> |
MuteConfig |
UpdateNotificationConfigCallback(error, responseopt)
Callback as used by updateNotificationConfig.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.securitycenter.v2.NotificationConfig |
<optional> |
NotificationConfig |
UpdateResourceValueConfigCallback(error, responseopt)
Callback as used by updateResourceValueConfig.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.securitycenter.v2.ResourceValueConfig |
<optional> |
ResourceValueConfig |
UpdateSecurityMarksCallback(error, responseopt)
Callback as used by updateSecurityMarks.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.securitycenter.v2.SecurityMarks |
<optional> |
SecurityMarks |
UpdateSourceCallback(error, responseopt)
Callback as used by updateSource.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
error |
Error | null |
Error, if any |
|
response |
google.cloud.securitycenter.v2.Source |
<optional> |
Source |