# Google Cloud Security Command Center V2 Client - Class StaticMute (2.5.1)

2.5.1 (latest) 2.5.0 2.4.2 2.3.0 2.2.1 2.1.1 2.0.4 1.32.0 1.31.0 1.30.0 1.29.0 1.28.2 1.21.0 1.20.2 1.19.1 1.18.0 1.17.0 1.16.0 1.15.1 1.14.2 1.13.1 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 \\ MuteInfo

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ state` | `int` The static mute state. If the value is `MUTED` or `UNMUTED`, then the finding's overall mute state will have the same value. |
| `↳ apply_time` | `https://protobuf.dev/reference/php/api-docs/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](https://docs.cloud.google.com/php/docs/reference/cloud-security-center/latest/V2.Finding.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](https://docs.cloud.google.com/php/docs/reference/cloud-security-center/latest/V2.Finding.Mute). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getApplyTime

When the static mute was applied.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasApplyTime

### clearApplyTime

### setApplyTime

When the static mute was applied.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |