Google Cloud Security Command Center V1 Client - Class MuteInfo (2.0.1)

Reference documentation and code samples for the Google Cloud Security Command Center V1 Client class MuteInfo.

Mute information about the finding, including whether the finding has a static mute or any matching dynamic mute rules.

Generated from protobuf message google.cloud.securitycenter.v1.Finding.MuteInfo

Namespace

Google \ Cloud \ SecurityCenter \ V1 \ Finding

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ static_mute Google\Cloud\SecurityCenter\V1\Finding\MuteInfo\StaticMute

If set, the static mute applied to this finding. Static mutes override dynamic mutes. If unset, there is no static mute.

↳ dynamic_mute_records array<Google\Cloud\SecurityCenter\V1\Finding\MuteInfo\DynamicMuteRecord>

The list of dynamic mute rules that currently match the finding.

getStaticMute

If set, the static mute applied to this finding. Static mutes override dynamic mutes. If unset, there is no static mute.

Returns
Type Description
Google\Cloud\SecurityCenter\V1\Finding\MuteInfo\StaticMute|null

hasStaticMute

clearStaticMute

setStaticMute

If set, the static mute applied to this finding. Static mutes override dynamic mutes. If unset, there is no static mute.

Parameter
Name Description
var Google\Cloud\SecurityCenter\V1\Finding\MuteInfo\StaticMute
Returns
Type Description
$this

getDynamicMuteRecords

The list of dynamic mute rules that currently match the finding.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setDynamicMuteRecords

The list of dynamic mute rules that currently match the finding.

Parameter
Name Description
var array<Google\Cloud\SecurityCenter\V1\Finding\MuteInfo\DynamicMuteRecord>
Returns
Type Description
$this