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

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 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<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
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 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<MuteInfo\DynamicMuteRecord>
Returns
Type Description
$this