# Google Cloud Storage Control V2 Client - Class SummaryDetails (1.9.0)

1.9.0 (latest) 1.8.0 1.7.0 1.6.3 1.5.0 1.4.1 1.3.0 1.1.0 1.0.3 0.2.1 0.1.1 Reference documentation and code samples for the Google Cloud Storage Control V2 Client class SummaryDetails.

Details about the `FindingSummary` resource.

Generated from protobuf message `google.storage.control.v2.FindingSummary.SummaryDetails`

## Namespace

Google \\ Cloud \\ Storage \\ Control \\ V2 \\ FindingSummary

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ count` | `int|string` The count of impacted resources. |
| `↳ percentage` | `float` The percentage of impacted resources. |
| `↳ resource_type` | `int` Output only. The type of Cloud resource this summary detail applies to. |
| `↳ description` | `string` Output only. A short description about the FindingSummary |

### getCount

The count of impacted resources.

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

### hasCount

### setCount

The count of impacted resources.

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

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

### getPercentage

The percentage of impacted resources.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `float` |   |

### hasPercentage

### setPercentage

The percentage of impacted resources.

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

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

### getResourceType

Output only. The type of Cloud resource this summary detail applies to.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [ResourceType](https://docs.cloud.google.com/php/docs/reference/cloud-storage-control/latest/V2.FindingSummary.SummaryDetails.ResourceType). |

### setResourceType

Output only. The type of Cloud resource this summary detail applies to.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [ResourceType](https://docs.cloud.google.com/php/docs/reference/cloud-storage-control/latest/V2.FindingSummary.SummaryDetails.ResourceType). |

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

### getDescription

Output only. A short description about the FindingSummary

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

### setDescription

Output only. A short description about the FindingSummary

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

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

### getMagnitude

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