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

A group of signal types that specifies what the user is interested in.

Used by QueryDatabaseResourceGroups API.
Example:
signal_type_group {
name = "AVAILABILITY"
types = \[SIGNAL_TYPE_NO_PROMOTABLE_REPLICA\]
}

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

## Namespace

Google \\ Cloud \\ DatabaseCenter \\ V1beta

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ display_name` | `string` Required. The display name of a signal group. |
| `↳ signal_types` | `int[]` Optional. List of signal types present in the group. |

### getDisplayName

Required. The display name of a signal group.

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

### setDisplayName

Required. The display name of a signal group.

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

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

### getSignalTypes

Optional. List of signal types present in the group.

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

### setSignalTypes

Optional. List of signal types present in the group.

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

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