# Google Cloud Database Center V1beta Client - Class IssueStats (0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.1 0.3.1 0.2.0 0.1.0

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Cloud Database Center V1beta Client class IssueStats.

IssueStats holds stats for a particular signal category.

Generated from protobuf message `google.cloud.databasecenter.v1beta.IssueStats`

## Namespace

Google \\ Cloud \\ DatabaseCenter \\ V1beta

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ signal_type` | `int` Type of signal which is an issue. |
| `↳ resource_count` | `int` Number of resources having issues of a given type. |
| `↳ delta_details` | `https://docs.cloud.google.com/php/docs/reference/cloud-databasecenter/latest/V1beta.DeltaDetails` Optional. Delta counts and details of resources for which issue was raised or fixed. |
| `↳ issue_severity` | `int` Severity of the issue. |

### getSignalType

Type of signal which is an issue.

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

### setSignalType

Type of signal which is an issue.

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

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

### getResourceCount

Number of resources having issues of a given type.

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

### setResourceCount

Number of resources having issues of a given type.

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

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

### getDeltaDetails

Optional. Delta counts and details of resources for which issue was raised
or fixed.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-databasecenter/latest/V1beta.DeltaDetails|null` |   |

### hasDeltaDetails

### clearDeltaDetails

### setDeltaDetails

Optional. Delta counts and details of resources for which issue was raised
or fixed.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-databasecenter/latest/V1beta.DeltaDetails` |

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

### getIssueSeverity

Severity of the issue.

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

### hasIssueSeverity

### clearIssueSeverity

### setIssueSeverity

Severity of the issue.

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

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