notification_configs
Creates, updates, deletes, gets or lists a notification_configs resource.
Overview
| Name | notification_configs |
| Type | Resource |
| Id | google.securitycenter.notification_configs |
Fields
The following fields are returned by SELECT queries:
- organizations_notification_configs_get
- projects_notification_configs_get
- folders_notification_configs_get
- organizations_notification_configs_list
- projects_notification_configs_list
- folders_notification_configs_list
| Name | Datatype | Description |
|---|---|---|
name | string | |
description | string | |
pubsubTopic | string | |
serviceAccount | string | |
streamingConfig | object | (id: StreamingConfig) |
| Name | Datatype | Description |
|---|---|---|
name | string | |
description | string | |
pubsubTopic | string | |
serviceAccount | string | |
streamingConfig | object | (id: StreamingConfig) |
| Name | Datatype | Description |
|---|---|---|
name | string | |
description | string | |
pubsubTopic | string | |
serviceAccount | string | |
streamingConfig | object | (id: StreamingConfig) |
| Name | Datatype | Description |
|---|---|---|
name | string | |
description | string | |
pubsubTopic | string | |
serviceAccount | string | |
streamingConfig | object | (id: StreamingConfig) |
| Name | Datatype | Description |
|---|---|---|
name | string | |
description | string | |
pubsubTopic | string | |
serviceAccount | string | |
streamingConfig | object | (id: StreamingConfig) |
| Name | Datatype | Description |
|---|---|---|
name | string | |
description | string | |
pubsubTopic | string | |
serviceAccount | string | |
streamingConfig | object | (id: StreamingConfig) |
Methods
The following methods are available for this resource:
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.
| Name | Datatype | Description |
|---|---|---|
foldersId | string | |
notificationConfigsId | string | |
organizationsId | string | |
projectsId | string | |
configId | string | |
pageSize | integer (int32) | |
pageToken | string | |
updateMask | string (google-fieldmask) |
SELECT examples
- organizations_notification_configs_get
- projects_notification_configs_get
- folders_notification_configs_get
- organizations_notification_configs_list
- projects_notification_configs_list
- folders_notification_configs_list
Successful response
SELECT
name,
description,
pubsubTopic,
serviceAccount,
streamingConfig
FROM google.securitycenter.notification_configs
WHERE organizationsId = '{{ organizationsId }}' -- required
AND notificationConfigsId = '{{ notificationConfigsId }}' -- required
;
Successful response
SELECT
name,
description,
pubsubTopic,
serviceAccount,
streamingConfig
FROM google.securitycenter.notification_configs
WHERE projectsId = '{{ projectsId }}' -- required
AND notificationConfigsId = '{{ notificationConfigsId }}' -- required
;
Successful response
SELECT
name,
description,
pubsubTopic,
serviceAccount,
streamingConfig
FROM google.securitycenter.notification_configs
WHERE foldersId = '{{ foldersId }}' -- required
AND notificationConfigsId = '{{ notificationConfigsId }}' -- required
;
Successful response
SELECT
name,
description,
pubsubTopic,
serviceAccount,
streamingConfig
FROM google.securitycenter.notification_configs
WHERE organizationsId = '{{ organizationsId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
;
Successful response
SELECT
name,
description,
pubsubTopic,
serviceAccount,
streamingConfig
FROM google.securitycenter.notification_configs
WHERE projectsId = '{{ projectsId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
;
Successful response
SELECT
name,
description,
pubsubTopic,
serviceAccount,
streamingConfig
FROM google.securitycenter.notification_configs
WHERE foldersId = '{{ foldersId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
;
INSERT examples
- organizations_notification_configs_create
- projects_notification_configs_create
- folders_notification_configs_create
- Manifest
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
;
No description available.
INSERT INTO google.securitycenter.notification_configs (
data__pubsubTopic,
data__streamingConfig,
data__description,
data__name,
projectsId,
configId
)
SELECT
'{{ pubsubTopic }}',
'{{ streamingConfig }}',
'{{ description }}',
'{{ name }}',
'{{ projectsId }}',
'{{ configId }}'
RETURNING
name,
description,
pubsubTopic,
serviceAccount,
streamingConfig
;
No description available.
INSERT INTO google.securitycenter.notification_configs (
data__pubsubTopic,
data__streamingConfig,
data__description,
data__name,
foldersId,
configId
)
SELECT
'{{ pubsubTopic }}',
'{{ streamingConfig }}',
'{{ description }}',
'{{ name }}',
'{{ foldersId }}',
'{{ configId }}'
RETURNING
name,
description,
pubsubTopic,
serviceAccount,
streamingConfig
;
# Description fields are for documentation purposes
- name: notification_configs
props:
- name: organizationsId
value: "{{ organizationsId }}"
description: Required parameter for the notification_configs resource.
- name: projectsId
value: "{{ projectsId }}"
description: Required parameter for the notification_configs resource.
- name: foldersId
value: "{{ foldersId }}"
description: Required parameter for the notification_configs resource.
- name: pubsubTopic
value: "{{ pubsubTopic }}"
- name: streamingConfig
value:
filter: "{{ filter }}"
- name: description
value: "{{ description }}"
- name: name
value: "{{ name }}"
- name: configId
value: "{{ configId }}"
UPDATE examples
- organizations_notification_configs_patch
- projects_notification_configs_patch
- folders_notification_configs_patch
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;
No description available.
UPDATE google.securitycenter.notification_configs
SET
data__pubsubTopic = '{{ pubsubTopic }}',
data__streamingConfig = '{{ streamingConfig }}',
data__description = '{{ description }}',
data__name = '{{ name }}'
WHERE
projectsId = '{{ projectsId }}' --required
AND notificationConfigsId = '{{ notificationConfigsId }}' --required
AND updateMask = '{{ updateMask}}'
RETURNING
name,
description,
pubsubTopic,
serviceAccount,
streamingConfig;
No description available.
UPDATE google.securitycenter.notification_configs
SET
data__pubsubTopic = '{{ pubsubTopic }}',
data__streamingConfig = '{{ streamingConfig }}',
data__description = '{{ description }}',
data__name = '{{ name }}'
WHERE
foldersId = '{{ foldersId }}' --required
AND notificationConfigsId = '{{ notificationConfigsId }}' --required
AND updateMask = '{{ updateMask}}'
RETURNING
name,
description,
pubsubTopic,
serviceAccount,
streamingConfig;
DELETE examples
- organizations_notification_configs_delete
- projects_notification_configs_delete
- folders_notification_configs_delete
No description available.
DELETE FROM google.securitycenter.notification_configs
WHERE organizationsId = '{{ organizationsId }}' --required
AND notificationConfigsId = '{{ notificationConfigsId }}' --required
;
No description available.
DELETE FROM google.securitycenter.notification_configs
WHERE projectsId = '{{ projectsId }}' --required
AND notificationConfigsId = '{{ notificationConfigsId }}' --required
;
No description available.
DELETE FROM google.securitycenter.notification_configs
WHERE foldersId = '{{ foldersId }}' --required
AND notificationConfigsId = '{{ notificationConfigsId }}' --required
;