# Database Center V1BETA API - Class Google::Cloud::DatabaseCenter::V1beta::SignalFilter (v0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0 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
}

<br />

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

**Returns**

- ([::Google::Cloud::DatabaseCenter::V1beta::SignalStatus](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/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

**Parameter**

- **value** ([::Google::Cloud::DatabaseCenter::V1beta::SignalStatus](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/Google-Cloud-DatabaseCenter-V1beta-SignalStatus)) --- Optional. Represents the status of the Signal for which the filter is for.
**Returns**

- ([::Google::Cloud::DatabaseCenter::V1beta::SignalStatus](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/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

**Returns**

- ([::Google::Cloud::DatabaseCenter::V1beta::SignalType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/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

**Parameter**

- **value** ([::Google::Cloud::DatabaseCenter::V1beta::SignalType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/Google-Cloud-DatabaseCenter-V1beta-SignalType)) --- Optional. Represents the type of the Signal for which the filter is for.
**Returns**

- ([::Google::Cloud::DatabaseCenter::V1beta::SignalType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-database_center-v1beta/latest/Google-Cloud-DatabaseCenter-V1beta-SignalType)) --- Optional. Represents the type of the Signal for which the filter is for.