Discovery Engine v1beta API - Class Control.Types.FilterAction (1.0.0-beta14)

public sealed class Control.Types.FilterAction : IMessage<Control.Types.FilterAction>, IEquatable<Control.Types.FilterAction>, IDeepCloneable<Control.Types.FilterAction>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1beta API class Control.Types.FilterAction.

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

Inheritance

object > Control.Types.FilterAction

Namespace

Google.Cloud.DiscoveryEngine.V1Beta

Assembly

Google.Cloud.DiscoveryEngine.V1Beta.dll

Constructors

FilterAction()

public FilterAction()

FilterAction(FilterAction)

public FilterAction(Control.Types.FilterAction other)
Parameter
Name Description
other ControlTypesFilterAction

Properties

DataStore

public string DataStore { get; set; }

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

Property Value
Type Description
string

DataStoreAsDataStoreName

public DataStoreName DataStoreAsDataStoreName { get; set; }

DataStoreName-typed view over the DataStore resource name property.

Property Value
Type Description
DataStoreName

Filter

public string Filter { get; set; }

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.

Property Value
Type Description
string