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 \ V1betaMethods
__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<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 |
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. |
setSignalType
Type of the signal.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type SignalType. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSignalStatus
Status of the signal.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type SignalStatus. |
setSignalStatus
Status of the signal.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type 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 |
Google\Protobuf\Internal\RepeatedField |
|
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<AdditionalDetail>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getIssueSeverity
Severity of the issue.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type IssueSeverity. |
setIssueSeverity
Severity of the issue.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type IssueSeverity. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getIssueCreateTime
Timestamp when the issue was created (when signal status is ISSUE).
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasIssueCreateTime
clearIssueCreateTime
setIssueCreateTime
Timestamp when the issue was created (when signal status is ISSUE).
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|