Skip to main content

mute_configs

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

Overview​

Namemute_configs
TypeResource
Idgoogle.securitycenter.mute_configs

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestring
createTimestring (google-datetime)
descriptionstring
displayNamestring
expiryTimestring (google-datetime)
filterstring
mostRecentEditorstring
typestring (MUTE_CONFIG_TYPE_UNSPECIFIED, STATIC, DYNAMIC)
updateTimestring (google-datetime)

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
folders_locations_mute_configs_getselectfoldersId, locationsId, muteConfigsId
organizations_locations_mute_configs_getselectorganizationsId, locationsId, muteConfigsId
projects_locations_mute_configs_getselectprojectsId, locationsId, muteConfigsId
folders_mute_configs_getselectfoldersId, muteConfigsId
organizations_mute_configs_getselectorganizationsId, muteConfigsId
projects_mute_configs_getselectprojectsId, muteConfigsId
folders_mute_configs_listselectfoldersIdpageSize, pageToken
organizations_mute_configs_listselectorganizationsIdpageSize, pageToken
projects_mute_configs_listselectprojectsIdpageSize, pageToken
folders_mute_configs_createinsertfoldersIdmuteConfigId
organizations_mute_configs_createinsertorganizationsIdmuteConfigId
projects_mute_configs_createinsertprojectsIdmuteConfigId
folders_locations_mute_configs_patchupdatefoldersId, locationsId, muteConfigsIdupdateMask
organizations_locations_mute_configs_patchupdateorganizationsId, locationsId, muteConfigsIdupdateMask
projects_locations_mute_configs_patchupdateprojectsId, locationsId, muteConfigsIdupdateMask
folders_mute_configs_patchupdatefoldersId, muteConfigsIdupdateMask
organizations_mute_configs_patchupdateorganizationsId, muteConfigsIdupdateMask
projects_mute_configs_patchupdateprojectsId, muteConfigsIdupdateMask
folders_locations_mute_configs_deletedeletefoldersId, locationsId, muteConfigsId
organizations_locations_mute_configs_deletedeleteorganizationsId, locationsId, muteConfigsId
projects_locations_mute_configs_deletedeleteprojectsId, locationsId, muteConfigsId
folders_mute_configs_deletedeletefoldersId, muteConfigsId
organizations_mute_configs_deletedeleteorganizationsId, muteConfigsId
projects_mute_configs_deletedeleteprojectsId, muteConfigsId

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
locationsIdstring
muteConfigsIdstring
organizationsIdstring
projectsIdstring
muteConfigIdstring
pageSizeinteger (int32)
pageTokenstring
updateMaskstring (google-fieldmask)

SELECT examples​

Successful response

SELECT
name,
createTime,
description,
displayName,
expiryTime,
filter,
mostRecentEditor,
type,
updateTime
FROM google.securitycenter.mute_configs
WHERE foldersId = '{{ foldersId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND muteConfigsId = '{{ muteConfigsId }}' -- required
;

INSERT examples​

No description available.

INSERT INTO google.securitycenter.mute_configs (
data__description,
data__displayName,
data__expiryTime,
data__filter,
data__name,
data__type,
foldersId,
muteConfigId
)
SELECT
'{{ description }}',
'{{ displayName }}',
'{{ expiryTime }}',
'{{ filter }}',
'{{ name }}',
'{{ type }}',
'{{ foldersId }}',
'{{ muteConfigId }}'
RETURNING
name,
createTime,
description,
displayName,
expiryTime,
filter,
mostRecentEditor,
type,
updateTime
;

UPDATE examples​

No description available.

UPDATE google.securitycenter.mute_configs
SET
data__description = '{{ description }}',
data__displayName = '{{ displayName }}',
data__expiryTime = '{{ expiryTime }}',
data__filter = '{{ filter }}',
data__name = '{{ name }}',
data__type = '{{ type }}'
WHERE
foldersId = '{{ foldersId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND muteConfigsId = '{{ muteConfigsId }}' --required
AND updateMask = '{{ updateMask}}'
RETURNING
name,
createTime,
description,
displayName,
expiryTime,
filter,
mostRecentEditor,
type,
updateTime;

DELETE examples​

No description available.

DELETE FROM google.securitycenter.mute_configs
WHERE foldersId = '{{ foldersId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND muteConfigsId = '{{ muteConfigsId }}' --required
;