Retail v2 API - Class AttributesConfig (2.4.0)

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.

Inheritance

Object > AttributesConfig

Namespace

Google.Cloud.Retail.V2

Assembly

Google.Cloud.Retail.V2.dll

Constructors

AttributesConfig()

public AttributesConfig()

AttributesConfig(AttributesConfig)

public AttributesConfig(AttributesConfig other)
Parameter
NameDescription
otherAttributesConfig

Properties

AttributeConfigLevel

public AttributeConfigLevel AttributeConfigLevel { get; set; }

Output only. The [AttributeConfigLevel][google.cloud.retail.v2.AttributeConfigLevel] used for this catalog.

Property Value
TypeDescription
AttributeConfigLevel

AttributesConfigName

public AttributesConfigName AttributesConfigName { get; set; }

AttributesConfigName-typed view over the Name resource name property.

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
String