Discovery Engine V1 API - Class Google::Cloud::DiscoveryEngine::V1::Control::FilterAction (v1.2.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.