Google Cloud Security Command Center V2 Client - Class DynamicMuteRecord (2.0.3)

Reference documentation and code samples for the Google Cloud Security Command Center V2 Client class DynamicMuteRecord.

The record of a dynamic mute rule that matches the finding.

Generated from protobuf message google.cloud.securitycenter.v2.Finding.MuteInfo.DynamicMuteRecord

Namespace

Google \ Cloud \ SecurityCenter \ V2 \ Finding \ MuteInfo

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ mute_config string

The relative resource name of the mute rule, represented by a mute config, that created this record, for example organizations/123/muteConfigs/mymuteconfig or organizations/123/locations/global/muteConfigs/mymuteconfig.

↳ match_time Google\Protobuf\Timestamp

When the dynamic mute rule first matched the finding.

getMuteConfig

The relative resource name of the mute rule, represented by a mute config, that created this record, for example organizations/123/muteConfigs/mymuteconfig or organizations/123/locations/global/muteConfigs/mymuteconfig.

Returns
Type Description
string

setMuteConfig

The relative resource name of the mute rule, represented by a mute config, that created this record, for example organizations/123/muteConfigs/mymuteconfig or organizations/123/locations/global/muteConfigs/mymuteconfig.

Parameter
Name Description
var string
Returns
Type Description
$this

getMatchTime

When the dynamic mute rule first matched the finding.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasMatchTime

clearMatchTime

setMatchTime

When the dynamic mute rule first matched the finding.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this