Reference documentation and code samples for the Database Center V1BETA API class Google::Cloud::DatabaseCenter::V1beta::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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#signal_status
def signal_status() -> ::Google::Cloud::DatabaseCenter::V1beta::SignalStatus- (::Google::Cloud::DatabaseCenter::V1beta::SignalStatus) — Optional. Represents the status of the Signal for which the filter is for.
#signal_status=
def signal_status=(value) -> ::Google::Cloud::DatabaseCenter::V1beta::SignalStatus- value (::Google::Cloud::DatabaseCenter::V1beta::SignalStatus) — Optional. Represents the status of the Signal for which the filter is for.
- (::Google::Cloud::DatabaseCenter::V1beta::SignalStatus) — Optional. Represents the status of the Signal for which the filter is for.
#signal_type
def signal_type() -> ::Google::Cloud::DatabaseCenter::V1beta::SignalType- (::Google::Cloud::DatabaseCenter::V1beta::SignalType) — Optional. Represents the type of the Signal for which the filter is for.
#signal_type=
def signal_type=(value) -> ::Google::Cloud::DatabaseCenter::V1beta::SignalType- value (::Google::Cloud::DatabaseCenter::V1beta::SignalType) — Optional. Represents the type of the Signal for which the filter is for.
- (::Google::Cloud::DatabaseCenter::V1beta::SignalType) — Optional. Represents the type of the Signal for which the filter is for.