public sealed class AttributesConfig : IMessage<AttributesConfig>, IEquatable<AttributesConfig>, IDeepCloneable<AttributesConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Retail v2 API class AttributesConfig.
Catalog level attribute config.
Implements
IMessage<AttributesConfig>, IEquatable<AttributesConfig>, IDeepCloneable<AttributesConfig>, IBufferMessage, IMessageNamespace
Google.Cloud.Retail.V2Assembly
Google.Cloud.Retail.V2.dll
Constructors
AttributesConfig()
public AttributesConfig()
AttributesConfig(AttributesConfig)
public AttributesConfig(AttributesConfig other)
Parameter | |
---|---|
Name | Description |
other | AttributesConfig |
Properties
AttributeConfigLevel
public AttributeConfigLevel AttributeConfigLevel { get; set; }
Output only. The [AttributeConfigLevel][google.cloud.retail.v2.AttributeConfigLevel] used for this catalog.
Property Value | |
---|---|
Type | Description |
AttributeConfigLevel |
AttributesConfigName
public AttributesConfigName AttributesConfigName { get; set; }
AttributesConfigName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
AttributesConfigName |
CatalogAttributes
public MapField<string, CatalogAttribute> CatalogAttributes { get; }
Enable attribute(s) config at catalog level. For example, indexable, dynamic_facetable, or searchable for each attribute.
The key is catalog attribute's name.
For example: color
, brands
, attributes.custom_attribute
, such as
attributes.xyz
.
The maximum number of catalog attributes allowed in a request is 1000.
Property Value | |
---|---|
Type | Description |
MapField<String, CatalogAttribute> |
Name
public string Name { get; set; }
Required. Immutable. The fully qualified resource name of the attribute
config. Format: projects/*/locations/*/catalogs/*/attributesConfig
Property Value | |
---|---|
Type | Description |
String |