GoogleCloudRetailV2CatalogAttribute class
Catalog level attribute config for an attribute.
For example, if customers want to enable/disable facet for a specific attribute.
Constructors
- GoogleCloudRetailV2CatalogAttribute({String? dynamicFacetableOption, String? exactSearchableOption, GoogleCloudRetailV2CatalogAttributeFacetConfig? facetConfig, bool? inUse, String? indexableOption, String? key, String? retrievableOption, String? searchableOption, String? type})
- GoogleCloudRetailV2CatalogAttribute.fromJson(Map json_)
Properties
- dynamicFacetableOption ↔ String?
-
If DYNAMIC_FACETABLE_ENABLED, attribute values are available for dynamic
facet.
getter/setter pair
- exactSearchableOption ↔ String?
-
If EXACT_SEARCHABLE_ENABLED, attribute values will be exact searchable.
getter/setter pair
- facetConfig ↔ GoogleCloudRetailV2CatalogAttributeFacetConfig?
-
Contains facet options.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- indexableOption ↔ String?
-
When AttributesConfig.attribute_config_level is
CATALOG_LEVEL_ATTRIBUTE_CONFIG, if INDEXABLE_ENABLED attribute values are
indexed so that it can be filtered, faceted, or boosted in
SearchService.Search.
getter/setter pair
- inUse ↔ bool?
-
Indicates whether this attribute has been used by any products.
getter/setter pair
- key ↔ String?
-
Attribute name.
getter/setter pair
- retrievableOption ↔ String?
-
If RETRIEVABLE_ENABLED, attribute values are retrievable in the search
results.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- searchableOption ↔ String?
-
When AttributesConfig.attribute_config_level is
CATALOG_LEVEL_ATTRIBUTE_CONFIG, if SEARCHABLE_ENABLED, attribute values
are searchable by text queries in SearchService.Search.
getter/setter pair
- type ↔ String?
-
The type of this attribute.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited