SecurityCenter

google.cloud.securitycenter.v1p1beta1. SecurityCenter

Represents a SecurityCenter

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

createFinding(request, callback) → {undefined}

Calls CreateFinding.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1p1beta1.ICreateFindingRequest

CreateFindingRequest message or plain object

callback google.cloud.securitycenter.v1p1beta1.SecurityCenter.CreateFindingCallback

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

Returns:
Type Description
undefined

createFinding(request) → {Promise.<google.cloud.securitycenter.v1p1beta1.Finding>}

Calls CreateFinding.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1p1beta1.ICreateFindingRequest

CreateFindingRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1p1beta1.Finding>

Promise

createNotificationConfig(request, callback) → {undefined}

Calls CreateNotificationConfig.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1p1beta1.ICreateNotificationConfigRequest

CreateNotificationConfigRequest message or plain object

callback google.cloud.securitycenter.v1p1beta1.SecurityCenter.CreateNotificationConfigCallback

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

Returns:
Type Description
undefined

createNotificationConfig(request) → {Promise.<google.cloud.securitycenter.v1p1beta1.NotificationConfig>}

Calls CreateNotificationConfig.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1p1beta1.ICreateNotificationConfigRequest

CreateNotificationConfigRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1p1beta1.NotificationConfig>

Promise

createSource(request, callback) → {undefined}

Calls CreateSource.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1p1beta1.ICreateSourceRequest

CreateSourceRequest message or plain object

callback google.cloud.securitycenter.v1p1beta1.SecurityCenter.CreateSourceCallback

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

Returns:
Type Description
undefined

createSource(request) → {Promise.<google.cloud.securitycenter.v1p1beta1.Source>}

Calls CreateSource.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1p1beta1.ICreateSourceRequest

CreateSourceRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1p1beta1.Source>

Promise

deleteNotificationConfig(request, callback) → {undefined}

Calls DeleteNotificationConfig.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1p1beta1.IDeleteNotificationConfigRequest

DeleteNotificationConfigRequest message or plain object

callback google.cloud.securitycenter.v1p1beta1.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.v1p1beta1.IDeleteNotificationConfigRequest

DeleteNotificationConfigRequest message or plain object

Returns:
Type Description
Promise.<google.protobuf.Empty>

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.v1p1beta1.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

getNotificationConfig(request, callback) → {undefined}

Calls GetNotificationConfig.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1p1beta1.IGetNotificationConfigRequest

GetNotificationConfigRequest message or plain object

callback google.cloud.securitycenter.v1p1beta1.SecurityCenter.GetNotificationConfigCallback

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

Returns:
Type Description
undefined

getNotificationConfig(request) → {Promise.<google.cloud.securitycenter.v1p1beta1.NotificationConfig>}

Calls GetNotificationConfig.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1p1beta1.IGetNotificationConfigRequest

GetNotificationConfigRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1p1beta1.NotificationConfig>

Promise

getOrganizationSettings(request, callback) → {undefined}

Calls GetOrganizationSettings.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1p1beta1.IGetOrganizationSettingsRequest

GetOrganizationSettingsRequest message or plain object

callback google.cloud.securitycenter.v1p1beta1.SecurityCenter.GetOrganizationSettingsCallback

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

Returns:
Type Description
undefined

getOrganizationSettings(request) → {Promise.<google.cloud.securitycenter.v1p1beta1.OrganizationSettings>}

Calls GetOrganizationSettings.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1p1beta1.IGetOrganizationSettingsRequest

GetOrganizationSettingsRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1p1beta1.OrganizationSettings>

Promise

getSource(request, callback) → {undefined}

Calls GetSource.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1p1beta1.IGetSourceRequest

GetSourceRequest message or plain object

callback google.cloud.securitycenter.v1p1beta1.SecurityCenter.GetSourceCallback

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

Returns:
Type Description
undefined

getSource(request) → {Promise.<google.cloud.securitycenter.v1p1beta1.Source>}

Calls GetSource.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1p1beta1.IGetSourceRequest

GetSourceRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1p1beta1.Source>

Promise

groupAssets(request, callback) → {undefined}

Calls GroupAssets.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1p1beta1.IGroupAssetsRequest

GroupAssetsRequest message or plain object

callback google.cloud.securitycenter.v1p1beta1.SecurityCenter.GroupAssetsCallback

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

Returns:
Type Description
undefined

groupAssets(request) → {Promise.<google.cloud.securitycenter.v1p1beta1.GroupAssetsResponse>}

Calls GroupAssets.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1p1beta1.IGroupAssetsRequest

GroupAssetsRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1p1beta1.GroupAssetsResponse>

Promise

groupFindings(request, callback) → {undefined}

Calls GroupFindings.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1p1beta1.IGroupFindingsRequest

GroupFindingsRequest message or plain object

callback google.cloud.securitycenter.v1p1beta1.SecurityCenter.GroupFindingsCallback

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

Returns:
Type Description
undefined

groupFindings(request) → {Promise.<google.cloud.securitycenter.v1p1beta1.GroupFindingsResponse>}

Calls GroupFindings.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1p1beta1.IGroupFindingsRequest

GroupFindingsRequest message or plain object

Returns:
Type Description
Promise.<google.cloud.securitycenter.v1p1beta1.GroupFindingsResponse>

Promise

listAssets(request, callback) → {undefined}

Calls ListAssets.

Parameters:
Name Type Description
request google.cloud.securitycenter.v1p1beta1.IListAssetsRequest

ListAssetsRequest message or plain object

callback