Google Cloud Database Center V1beta Client - Class SignalFilter (0.5.0)

Reference documentation and code samples for the Google Cloud Database Center V1beta Client class SignalFilter.

A filter for Signals.

If signal_type is left unset, all signals should be returned. For example, the following filter returns all issues. signal_filter: { signal_status: SIGNAL_STATUS_ISSUE; } Another example, the following filter returns issues of the given type: signal_filter: { type: SIGNAL_TYPE_NO_PROMOTABLE_REPLICA signal_status: ISSUE } If signal_status is left unset or set to SIGNAL_STATE_UNSPECIFIED, an error should be returned.

Generated from protobuf message google.cloud.databasecenter.v1beta.SignalFilter

Namespace

Google \ Cloud \ DatabaseCenter \ V1beta

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ signal_type
int

Optional. Represents the type of the Signal for which the filter is for.

↳ signal_status
int

Optional. Represents the status of the Signal for which the filter is for.

getSignalType

Optional. Represents the type of the Signal for which the filter is for.

Returns
Type
Description
int
Enum of type SignalType .

setSignalType

Optional. Represents the type of the Signal for which the filter is for.

Parameter
Name
Description
var
int

Enum of type SignalType .

Returns
Type
Description
$this

getSignalStatus

Optional. Represents the status of the Signal for which the filter is for.

Returns
Type
Description
int
Enum of type SignalStatus .

setSignalStatus

Optional. Represents the status of the Signal for which the filter is for.

Parameter
Name
Description
var
int

Enum of type SignalStatus .

Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: