Show / Hide Table of Contents

Class GoogleCloudRetailV2CompletionConfig

Catalog level autocomplete config for customers to customize autocomplete feature's settings.

Inheritance
object
GoogleCloudRetailV2CompletionConfig
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudRetail.v2.Data
Assembly: Google.Apis.CloudRetail.v2.dll
Syntax
public class GoogleCloudRetailV2CompletionConfig : IDirectResponseSchema

Properties

AllowlistInputConfig

Output only. The source data for the latest import of the autocomplete allowlist phrases.

Declaration
[JsonProperty("allowlistInputConfig")]
public virtual GoogleCloudRetailV2CompletionDataInputConfig AllowlistInputConfig { get; set; }
Property Value
Type Description
GoogleCloudRetailV2CompletionDataInputConfig

AutoLearning

If set to true, the auto learning function is enabled. Auto learning uses user data to generate suggestions using ML techniques. Default value is false. Only after enabling auto learning can users use cloud-retail data in CompleteQueryRequest.

Declaration
[JsonProperty("autoLearning")]
public virtual bool? AutoLearning { get; set; }
Property Value
Type Description
bool?

DenylistInputConfig

Output only. The source data for the latest import of the autocomplete denylist phrases.

Declaration
[JsonProperty("denylistInputConfig")]
public virtual GoogleCloudRetailV2CompletionDataInputConfig DenylistInputConfig { get; set; }
Property Value
Type Description
GoogleCloudRetailV2CompletionDataInputConfig

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

LastAllowlistImportOperation

Output only. Name of the LRO corresponding to the latest allowlist import. Can use GetOperation API to retrieve the latest state of the Long Running Operation.

Declaration
[JsonProperty("lastAllowlistImportOperation")]
public virtual string LastAllowlistImportOperation { get; set; }
Property Value
Type Description
string

LastDenylistImportOperation

Output only. Name of the LRO corresponding to the latest denylist import. Can use GetOperation API to retrieve the latest state of the Long Running Operation.

Declaration
[JsonProperty("lastDenylistImportOperation")]
public virtual string LastDenylistImportOperation { get; set; }
Property Value
Type Description
string

LastSuggestionsImportOperation

Output only. Name of the LRO corresponding to the latest suggestion terms list import. Can use GetOperation API method to retrieve the latest state of the Long Running Operation.

Declaration
[JsonProperty("lastSuggestionsImportOperation")]
public virtual string LastSuggestionsImportOperation { get; set; }
Property Value
Type Description
string

MatchingOrder

Specifies the matching order for autocomplete suggestions, e.g., a query consisting of 'sh' with 'out-of-order' specified would suggest "women's shoes", whereas a query of 'red s' with 'exact-prefix' specified would suggest "red shoes". Currently supported values: * 'out-of-order' * 'exact-prefix' Default value: 'exact-prefix'.

Declaration
[JsonProperty("matchingOrder")]
public virtual string MatchingOrder { get; set; }
Property Value
Type Description
string

MaxSuggestions

The maximum number of autocomplete suggestions returned per term. Default value is 20. If left unset or set to 0, then will fallback to default value. Value range is 1 to 20.

Declaration
[JsonProperty("maxSuggestions")]
public virtual int? MaxSuggestions { get; set; }
Property Value
Type Description
int?

MinPrefixLength

The minimum number of characters needed to be typed in order to get suggestions. Default value is 2. If left unset or set to 0, then will fallback to default value. Value range is 1 to 20.

Declaration
[JsonProperty("minPrefixLength")]
public virtual int? MinPrefixLength { get; set; }
Property Value
Type Description
int?

Name

Required. Immutable. Fully qualified name projects/*/locations/*/catalogs/*/completionConfig

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

SuggestionsInputConfig

Output only. The source data for the latest import of the autocomplete suggestion phrases.

Declaration
[JsonProperty("suggestionsInputConfig")]
public virtual GoogleCloudRetailV2CompletionDataInputConfig SuggestionsInputConfig { get; set; }
Property Value
Type Description
GoogleCloudRetailV2CompletionDataInputConfig

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX