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

IssueGroupStats refers to stats for a particulare combination of relevant
health issues of database resources.

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

## Namespace

Google \\ Cloud \\ DatabaseCenter \\ V1beta

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ display_name` | `string` Database resource level health card name. This will corresponds to one of the requested input group names. |
| `↳ resource_groups_count` | `int` Total count of the groups of resources returned by the filter that also have one or more resources for which any of the specified issues are applicable. |
| `↳ resources_count` | `int` Total count of resources returned by the filter for which any of the specified issues are applicable. |
| `↳ healthy_resource_groups_count` | `int` The number of resource groups from the total groups as defined above that are healthy with respect to all of the specified issues. |
| `↳ healthy_resources_count` | `int` The number of resources from the total defined above in field total_resources_count that are healthy with respect to all of the specified issues. |
| `↳ issue_stats` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-databasecenter/latest/V1beta.IssueStats>` List of issues stats containing count of resources having particular issue category. |

### getDisplayName

Database resource level health card name. This will corresponds to one of
the requested input group names.

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

### setDisplayName

Database resource level health card name. This will corresponds to one of
the requested input group names.

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

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

### getResourceGroupsCount

Total count of the groups of resources returned by the filter that
also have one or more resources for which any of the specified issues
are applicable.

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

### setResourceGroupsCount

Total count of the groups of resources returned by the filter that
also have one or more resources for which any of the specified issues
are applicable.

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

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

### getResourcesCount

Total count of resources returned by the filter for which any of the
specified issues are applicable.

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

### setResourcesCount

Total count of resources returned by the filter for which any of the
specified issues are applicable.

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

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

### getHealthyResourceGroupsCount

The number of resource groups from the total groups as defined above
that are healthy with respect to all of the specified issues.

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

### setHealthyResourceGroupsCount

The number of resource groups from the total groups as defined above
that are healthy with respect to all of the specified issues.

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

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

### getHealthyResourcesCount

The number of resources from the total defined above in field
total_resources_count that are healthy with respect to all of the specified
issues.

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

### setHealthyResourcesCount

The number of resources from the total defined above in field
total_resources_count that are healthy with respect to all of the specified
issues.

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

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

### getIssueStats

List of issues stats containing count of resources having particular issue
category.

| **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.IssueStats>` |   |

### setIssueStats

List of issues stats containing count of resources having particular issue
category.

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

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