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

DatabaseResourceGroup represents all resources that serve a common data set.

It is considered notionally as a single entity, powered by any number of
units of compute and storage.

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

## Namespace

Google \\ Cloud \\ DatabaseCenter \\ V1beta

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ root_resources` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-databasecenter/latest/V1beta.DatabaseResource>` A database resource that serves as a root of the group of database resources. It is repeated just in case we have the concept of multiple roots in the future, however, it will only be populated with a single value for now. |
| `↳ signal_groups` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-databasecenter/latest/V1beta.IssueCount>` The filtered signal groups and the count of issues associated with the resources that have been filtered in. |

### getRootResources

A database resource that serves as a root of the group of database
resources. It is repeated just in case we have the concept of multiple
roots in the future, however, it will only be populated with a single value
for now.

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

### setRootResources

A database resource that serves as a root of the group of database
resources. It is repeated just in case we have the concept of multiple
roots in the future, however, it will only be populated with a single value
for now.

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

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

### getSignalGroups

The filtered signal groups and the count of issues associated with the
resources that have been filtered in.

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

### setSignalGroups

The filtered signal groups and the count of issues associated with the
resources that have been filtered in.

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

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