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
organizations_locations_mute_configs_getselectorganizationsId, locationsId, muteConfigsId
projects_locations_mute_configs_getselectprojectsId, locationsId, muteConfigsId
folders_locations_mute_configs_getselectfoldersId, locationsId, muteConfigsId
organizations_mute_configs_getselectorganizationsId, muteConfigsId
projects_mute_configs_getselectprojectsId, muteConfigsId
folders_mute_configs_getselectfoldersId, muteConfigsId
organizations_mute_configs_listselectorganizationsIdpageToken, pageSize
projects_mute_configs_listselectprojectsIdpageSize, pageToken
folders_mute_configs_listselectfoldersIdpageToken, pageSize
organizations_mute_configs_createinsertorganizationsIdmuteConfigId
projects_mute_configs_createinsertprojectsIdmuteConfigId
folders_mute_configs_createinsertfoldersIdmuteConfigId
organizations_locations_mute_configs_patchupdateorganizationsId, locationsId, muteConfigsIdupdateMask
projects_locations_mute_configs_patchupdateprojectsId, locationsId, muteConfigsIdupdateMask
folders_locations_mute_configs_patchupdatefoldersId, locationsId, muteConfigsIdupdateMask
organizations_mute_configs_patchupdateorganizationsId, muteConfigsIdupdateMask
projects_mute_configs_patchupdateprojectsId, muteConfigsIdupdateMask
folders_mute_configs_patchupdatefoldersId, muteConfigsIdupdateMask
organizations_locations_mute_configs_deletedeleteorganizationsId, locationsId, muteConfigsId
projects_locations_mute_configs_deletedeleteprojectsId, locationsId, muteConfigsId
folders_locations_mute_configs_deletedeletefoldersId, locationsId, muteConfigsId
organizations_mute_configs_deletedeleteorganizationsId, muteConfigsId
projects_mute_configs_deletedeleteprojectsId, muteConfigsId
folders_mute_configs_deletedeletefoldersId, 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 organizationsId = '{{ organizationsId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND muteConfigsId = '{{ muteConfigsId }}' -- required
;

INSERT examples

No description available.

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

UPDATE examples

No description available.

UPDATE google.securitycenter.mute_configs
SET
data__type = '{{ type }}',
data__filter = '{{ filter }}',
data__displayName = '{{ displayName }}',
data__description = '{{ description }}',
data__expiryTime = '{{ expiryTime }}',
data__name = '{{ name }}'
WHERE
organizationsId = '{{ organizationsId }}' --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 organizationsId = '{{ organizationsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND muteConfigsId = '{{ muteConfigsId }}' --required
;