Skip to main content

notification_configs

Creates, updates, deletes, gets or lists a notification_configs resource.

Overview

Namenotification_configs
TypeResource
Idgoogle.securitycenter.notification_configs

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestring
descriptionstring
pubsubTopicstring
serviceAccountstring
streamingConfigobject (id: StreamingConfig)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
organizations_notification_configs_getselectorganizationsId, notificationConfigsId
projects_notification_configs_getselectprojectsId, notificationConfigsId
folders_notification_configs_getselectfoldersId, notificationConfigsId
organizations_notification_configs_listselectorganizationsIdpageSize, pageToken
projects_notification_configs_listselectprojectsIdpageSize, pageToken
folders_notification_configs_listselectfoldersIdpageSize, pageToken
organizations_notification_configs_createinsertorganizationsIdconfigId
projects_notification_configs_createinsertprojectsIdconfigId
folders_notification_configs_createinsertfoldersIdconfigId
organizations_notification_configs_patchupdateorganizationsId, notificationConfigsIdupdateMask
projects_notification_configs_patchupdateprojectsId, notificationConfigsIdupdateMask
folders_notification_configs_patchupdatefoldersId, notificationConfigsIdupdateMask
organizations_notification_configs_deletedeleteorganizationsId, notificationConfigsId
projects_notification_configs_deletedeleteprojectsId, notificationConfigsId
folders_notification_configs_deletedeletefoldersId, notificationConfigsId

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
foldersIdstring
notificationConfigsIdstring
organizationsIdstring
projectsIdstring
configIdstring
pageSizeinteger (int32)
pageTokenstring
updateMaskstring (google-fieldmask)

SELECT examples

Successful response

SELECT
name,
description,
pubsubTopic,
serviceAccount,
streamingConfig
FROM google.securitycenter.notification_configs
WHERE organizationsId = '{{ organizationsId }}' -- required
AND notificationConfigsId = '{{ notificationConfigsId }}' -- required
;

INSERT examples

No description available.

INSERT INTO google.securitycenter.notification_configs (
data__pubsubTopic,
data__streamingConfig,
data__description,
data__name,
organizationsId,
configId
)
SELECT
'{{ pubsubTopic }}',
'{{ streamingConfig }}',
'{{ description }}',
'{{ name }}',
'{{ organizationsId }}',
'{{ configId }}'
RETURNING
name,
description,
pubsubTopic,
serviceAccount,
streamingConfig
;

UPDATE examples

No description available.

UPDATE google.securitycenter.notification_configs
SET
data__pubsubTopic = '{{ pubsubTopic }}',
data__streamingConfig = '{{ streamingConfig }}',
data__description = '{{ description }}',
data__name = '{{ name }}'
WHERE
organizationsId = '{{ organizationsId }}' --required
AND notificationConfigsId = '{{ notificationConfigsId }}' --required
AND updateMask = '{{ updateMask}}'
RETURNING
name,
description,
pubsubTopic,
serviceAccount,
streamingConfig;

DELETE examples

No description available.

DELETE FROM google.securitycenter.notification_configs
WHERE organizationsId = '{{ organizationsId }}' --required
AND notificationConfigsId = '{{ notificationConfigsId }}' --required
;