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

Represents a signal.

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

## 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 the signal. |
| `↳ signal_status` | `int` Status of the signal. |
| `↳ additional_details` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-databasecenter/latest/V1beta.AdditionalDetail>` Additional information related to the signal. In the case of composite signals, this field encapsulates details associated with granular signals, having a signal status of "ISSUE"; signals with a status of "OK" are not included. For granular signals, it encompasses information relevant to the signal, regardless of the signal status. |
| `↳ issue_severity` | `int` Severity of the issue. |
| `↳ issue_create_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Timestamp when the issue was created (when signal status is ISSUE). |

### getSignalType

Type of the signal.

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

### setSignalType

Type of the signal.

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

### getSignalStatus

Status of the signal.

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

### setSignalStatus

Status of the signal.

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

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

### getAdditionalDetails

Additional information related to the signal.

In the case of composite signals, this field encapsulates details
associated with granular signals, having a signal status of "ISSUE";
signals with a status of "OK" are not included.
For granular signals, it encompasses information relevant to the signal,
regardless of the signal status.

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

### setAdditionalDetails

Additional information related to the signal.

In the case of composite signals, this field encapsulates details
associated with granular signals, having a signal status of "ISSUE";
signals with a status of "OK" are not included.
For granular signals, it encompasses information relevant to the signal,
regardless of the signal status.

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

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

### getIssueSeverity

Severity of the issue.

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

### setIssueSeverity

Severity of the issue.

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

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

### getIssueCreateTime

Timestamp when the issue was created (when signal status is ISSUE).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasIssueCreateTime

### clearIssueCreateTime

### setIssueCreateTime

Timestamp when the issue was created (when signal status is ISSUE).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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