# Cloud Security Command Center V1p1beta1 API - Class Google::Cloud::SecurityCenter::V1p1beta1::NotificationConfig::StreamingConfig (v0.22.0)

0.22.0 (latest) 0.21.1 0.20.0 0.19.1 0.18.0 0.17.0 0.16.1 0.15.0 0.14.2 0.13.2 0.12.0 0.11.2 0.10.0 0.9.0 0.8.0 0.7.5 Reference documentation and code samples for the Cloud Security Command Center V1p1beta1 API class Google::Cloud::SecurityCenter::V1p1beta1::NotificationConfig::StreamingConfig.

The config for streaming-based notifications, which send each event as soon
as it is detected.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #filter

    def filter() -> ::String

**Returns**

- (::String) --- Expression that defines the filter to apply across create/update events
  of assets or findings as specified by the event type. The expression is a
  list of zero or more restrictions combined via logical operators `AND`
  and `OR`. Parentheses are supported, and `OR` has higher precedence than
  `AND`.

  Restrictions have the form `<field> <operator> <value>` and may have a
  `-` character in front of them to indicate negation. The fields map to
  those defined in the corresponding resource.

  The supported operators are:
  - `=` for all value types.
  - `>`, `<`, `>=`, `<=` for integer values.
  - `:`, meaning substring matching, for strings.

  The supported value types are:
  - string literals in quotes.
  - integer literals without quotes.
  - boolean literals `true` and `false` without quotes.

### #filter=

    def filter=(value) -> ::String

**Parameter**

- **value** (::String) ---

  Expression that defines the filter to apply across create/update events
  of assets or findings as specified by the event type. The expression is a
  list of zero or more restrictions combined via logical operators `AND`
  and `OR`. Parentheses are supported, and `OR` has higher precedence than
  `AND`.

  Restrictions have the form `<field> <operator> <value>` and may have a
  `-` character in front of them to indicate negation. The fields map to
  those defined in the corresponding resource.

  The supported operators are:
  - `=` for all value types.
  - `>`, `<`, `>=`, `<=` for integer values.
  - `:`, meaning substring matching, for strings.

  The supported value types are:
  - string literals in quotes.
  - integer literals without quotes.
  - boolean literals `true` and `false` without quotes.
**Returns**

- (::String) --- Expression that defines the filter to apply across create/update events
  of assets or findings as specified by the event type. The expression is a
  list of zero or more restrictions combined via logical operators `AND`
  and `OR`. Parentheses are supported, and `OR` has higher precedence than
  `AND`.

  Restrictions have the form `<field> <operator> <value>` and may have a
  `-` character in front of them to indicate negation. The fields map to
  those defined in the corresponding resource.

  The supported operators are:
  - `=` for all value types.
  - `>`, `<`, `>=`, `<=` for integer values.
  - `:`, meaning substring matching, for strings.

  The supported value types are:
  - string literals in quotes.
  - integer literals without quotes.
  - boolean literals `true` and `false` without quotes.