# Google Cloud Database Center V1beta Client - Class AggregateIssueStatsResponse (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 AggregateIssueStatsResponse.

The response message containing one of more group of relevant health issues
for database resources.

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

## Namespace

Google \\ Cloud \\ DatabaseCenter \\ V1beta

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ issue_group_stats` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-databasecenter/latest/V1beta.IssueGroupStats>` List of issue group stats where each group contains stats for resources having a particular combination of relevant issues. |
| `↳ total_resources_count` | `int` Total count of the resources filtered in based on the user given filter. |
| `↳ total_resource_groups_count` | `int` Total count of the resource filtered in based on the user given filter. |
| `↳ unreachable` | `string[]` Unordered list. List of unreachable regions from where data could not be retrieved. |

### getIssueGroupStats

List of issue group stats where each group contains stats for resources
having a particular combination of relevant issues.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-databasecenter/latest/V1beta.IssueGroupStats>` |   |

### setIssueGroupStats

List of issue group stats where each group contains stats for resources
having a particular combination of relevant issues.

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

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

### getTotalResourcesCount

Total count of the resources filtered in based on the user given filter.

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

### setTotalResourcesCount

Total count of the resources filtered in based on the user given filter.

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

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

### getTotalResourceGroupsCount

Total count of the resource filtered in based on the user given filter.

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

### setTotalResourceGroupsCount

Total count of the resource filtered in based on the user given filter.

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

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

### getUnreachable

Unordered list. List of unreachable regions from where data could not be
retrieved.

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

### setUnreachable

Unordered list. List of unreachable regions from where data could not be
retrieved.

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

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