GoogleCloudRetailV2ServingConfig class
Configures metadata that is used to generate serving time results (e.g. search results or recommendation predictions).
Constructors
-
GoogleCloudRetailV2ServingConfig({List<
String> ? boostControlIds, String? displayName, String? diversityLevel, String? diversityType, List<String> ? doNotAssociateControlIds, GoogleCloudRetailV2SearchRequestDynamicFacetSpec? dynamicFacetSpec, String? enableCategoryFilterLevel, List<String> ? facetControlIds, List<String> ? filterControlIds, List<String> ? ignoreControlIds, bool? ignoreRecsDenylist, String? modelId, String? name, List<String> ? onewaySynonymsControlIds, GoogleCloudRetailV2SearchRequestPersonalizationSpec? personalizationSpec, String? priceRerankingLevel, List<String> ? redirectControlIds, List<String> ? replacementControlIds, List<String> ? solutionTypes, List<String> ? twowaySynonymsControlIds}) - GoogleCloudRetailV2ServingConfig.fromJson(Map json_)
Properties
-
boostControlIds
↔ List<
String> ? -
Condition boost specifications.
getter/setter pair
- displayName ↔ String?
-
The human readable serving config display name.
getter/setter pair
- diversityLevel ↔ String?
-
How much diversity to use in recommendation model results e.g.
medium-diversity
orhigh-diversity
.getter/setter pair - diversityType ↔ String?
-
What kind of diversity to use - data driven or rule based.
getter/setter pair
-
doNotAssociateControlIds
↔ List<
String> ? -
Condition do not associate specifications.
getter/setter pair
- dynamicFacetSpec ↔ GoogleCloudRetailV2SearchRequestDynamicFacetSpec?
-
The specification for dynamically generated facets.
getter/setter pair
- enableCategoryFilterLevel ↔ String?
-
Whether to add additional category filters on the
similar-items
model.getter/setter pair -
facetControlIds
↔ List<
String> ? -
Facet specifications for faceted search.
getter/setter pair
-
filterControlIds
↔ List<
String> ? -
Condition filter specifications.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
ignoreControlIds
↔ List<
String> ? -
Condition ignore specifications.
getter/setter pair
- ignoreRecsDenylist ↔ bool?
-
When the flag is enabled, the products in the denylist will not be
filtered out in the recommendation filtering results.
getter/setter pair
- modelId ↔ String?
-
The id of the model in the same Catalog to use at serving time.
getter/setter pair
- name ↔ String?
-
Fully qualified name
projects / * /locations/global/catalogs / * /servingConfig / *
getter/setter pair -
onewaySynonymsControlIds
↔ List<
String> ? -
Condition oneway synonyms specifications.
getter/setter pair
- personalizationSpec ↔ GoogleCloudRetailV2SearchRequestPersonalizationSpec?
-
The specification for personalization spec.
getter/setter pair
- priceRerankingLevel ↔ String?
-
How much price ranking we want in serving results.
getter/setter pair
-
redirectControlIds
↔ List<
String> ? -
Condition redirect specifications.
getter/setter pair
-
replacementControlIds
↔ List<
String> ? -
Condition replacement specifications.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
solutionTypes
↔ List<
String> ? -
Specifies the solution types that a serving config can be associated with.
getter/setter pair
-
twowaySynonymsControlIds
↔ List<
String> ? -
Condition synonyms specifications.
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