Reference documentation and code samples for the Google Cloud Security Command Center V2 Client class StaticMute.
Information about the static mute state. A static mute state overrides any dynamic mute rules that apply to this finding. The static mute state can be set by a static mute rule or by muting the finding directly.
Generated from protobuf message google.cloud.securitycenter.v2.Finding.MuteInfo.StaticMute
Namespace
Google \ Cloud \ SecurityCenter \ V2 \ Finding \ MuteInfoMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ state |
int
The static mute state. If the value is |
↳ apply_time |
Google\Protobuf\Timestamp
When the static mute was applied. |
getState
The static mute state. If the value is MUTED or UNMUTED, then the
finding's overall mute state will have the same value.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type Mute. |
setState
The static mute state. If the value is MUTED or UNMUTED, then the
finding's overall mute state will have the same value.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type Mute. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getApplyTime
When the static mute was applied.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasApplyTime
clearApplyTime
setApplyTime
When the static mute was applied.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|