# Google Cloud Security Compliance V1 Client - Class FindingSummary (0.4.0)

0.4.0 (latest) 0.3.0 0.2.1 0.1.0 Reference documentation and code samples for the Google Cloud Security Compliance V1 Client class FindingSummary.

The details for a finding.

Generated from protobuf message `google.cloud.cloudsecuritycompliance.v1.FindingSummary`

## Namespace

Google \\ Cloud \\ CloudSecurityCompliance \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ finding_category` | `string` The category of the finding. |
| `↳ finding_class` | `int` The class of the finding. |
| `↳ severity` | `int` The severity of the finding. |
| `↳ finding_count` | `int|string` The count of the finding. |
| `↳ update_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Output only. The last updated time of the finding. |
| `↳ related_frameworks` | `string[]` Optional. The list of compliance frameworks that the finding belongs to. |
| `↳ name` | `string` Identifier. The name of the finding summary. |

### getFindingCategory

The category of the finding.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setFindingCategory

The category of the finding.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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

### getFindingClass

The class of the finding.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [FindingClass](https://docs.cloud.google.com/php/docs/reference/cloud-securitycompliance/latest/V1.FindingClass). |

### setFindingClass

The class of the finding.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [FindingClass](https://docs.cloud.google.com/php/docs/reference/cloud-securitycompliance/latest/V1.FindingClass). |

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

### getSeverity

The severity of the finding.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [Severity](https://docs.cloud.google.com/php/docs/reference/cloud-securitycompliance/latest/V1.Severity). |

### setSeverity

The severity of the finding.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [Severity](https://docs.cloud.google.com/php/docs/reference/cloud-securitycompliance/latest/V1.Severity). |

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

### getFindingCount

The count of the finding.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int|string` |   |

### setFindingCount

The count of the finding.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int|string` |

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

### getUpdateTime

Output only. The last updated time of the finding.

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

### hasUpdateTime

### clearUpdateTime

### setUpdateTime

Output only. The last updated time of the finding.

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

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

### getRelatedFrameworks

Optional. The list of compliance frameworks that the finding belongs to.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setRelatedFrameworks

Optional. The list of compliance frameworks that the finding belongs to.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string[]` |

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

### getName

Identifier. The name of the finding summary.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setName

Identifier. The name of the finding summary.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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