# Discovery Engine V1 API - Class Google::Cloud::DiscoveryEngine::V1::Control::FilterAction (v2.8.0)

2.8.0 (latest) 2.7.0 2.6.2 2.5.0 2.4.0 2.3.1 2.2.0 2.1.1 2.0.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.2 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.2 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::Control::FilterAction.

Specified which products may be included in results.
Uses same filter as boost.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #data_store

    def data_store() -> ::String

**Returns**

- (::String) --- Required. Specifies which data store's documents can be filtered by this control. Full data store name e.g. projects/123/locations/global/collections/default_collection/dataStores/default_data_store

### #data_store=

    def data_store=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Specifies which data store's documents can be filtered by this control. Full data store name e.g. projects/123/locations/global/collections/default_collection/dataStores/default_data_store
**Returns**

- (::String) --- Required. Specifies which data store's documents can be filtered by this control. Full data store name e.g. projects/123/locations/global/collections/default_collection/dataStores/default_data_store

### #filter

    def filter() -> ::String

**Returns**

- (::String) --- Required. A filter to apply on the matching condition results.

  Required
  Syntax documentation:
  https://cloud.google.com/retail/docs/filter-and-order
  Maximum length is 5000 characters. Otherwise an INVALID
  ARGUMENT error is thrown.

### #filter=

    def filter=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. A filter to apply on the matching condition results.


  Required
  Syntax documentation:
  https://cloud.google.com/retail/docs/filter-and-order
  Maximum length is 5000 characters. Otherwise an INVALID
  ARGUMENT error is thrown.
**Returns**

- (::String) --- Required. A filter to apply on the matching condition results.

  Required
  Syntax documentation:
  https://cloud.google.com/retail/docs/filter-and-order
  Maximum length is 5000 characters. Otherwise an INVALID
  ARGUMENT error is thrown.