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.
Required. Immutable. The fully qualified resource name of the attribute
config. Format: projects/*/locations/*/catalogs/*/attributesConfig
Returns
Type
Description
string
setName
Required. Immutable. The fully qualified resource name of the attribute
config. Format: projects/*/locations/*/catalogs/*/attributesConfig
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getCatalogAttributes
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Google Cloud Retail V2 Client - Class AttributesConfig (2.3.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.3.1 (latest)](/php/docs/reference/cloud-retail/latest/V2.AttributesConfig)\n- [2.3.0](/php/docs/reference/cloud-retail/2.3.0/V2.AttributesConfig)\n- [2.2.1](/php/docs/reference/cloud-retail/2.2.1/V2.AttributesConfig)\n- [2.1.3](/php/docs/reference/cloud-retail/2.1.3/V2.AttributesConfig)\n- [2.0.0](/php/docs/reference/cloud-retail/2.0.0/V2.AttributesConfig)\n- [1.7.0](/php/docs/reference/cloud-retail/1.7.0/V2.AttributesConfig)\n- [1.6.4](/php/docs/reference/cloud-retail/1.6.4/V2.AttributesConfig)\n- [1.5.0](/php/docs/reference/cloud-retail/1.5.0/V2.AttributesConfig)\n- [1.4.2](/php/docs/reference/cloud-retail/1.4.2/V2.AttributesConfig)\n- [1.3.1](/php/docs/reference/cloud-retail/1.3.1/V2.AttributesConfig)\n- [1.2.1](/php/docs/reference/cloud-retail/1.2.1/V2.AttributesConfig)\n- [1.1.1](/php/docs/reference/cloud-retail/1.1.1/V2.AttributesConfig)\n- [1.0.1](/php/docs/reference/cloud-retail/1.0.1/V2.AttributesConfig) \nReference documentation and code samples for the Google Cloud Retail V2 Client class AttributesConfig.\n\nCatalog level attribute config.\n\nGenerated from protobuf message `google.cloud.retail.v2.AttributesConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Retail \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. Immutable. The fully qualified resource name of the attribute\nconfig. Format: `projects/*/locations/*/catalogs/*/attributesConfig`\n\n### setName\n\nRequired. Immutable. The fully qualified resource name of the attribute\nconfig. Format: `projects/*/locations/*/catalogs/*/attributesConfig`\n\n### getCatalogAttributes\n\nEnable attribute(s) config at catalog level.\n\nFor example, indexable, dynamic_facetable, or searchable for each\nattribute.\nThe key is catalog attribute's name.\nFor example: `color`, `brands`, `attributes.custom_attribute`, such as\n`attributes.xyz`.\nThe maximum number of catalog attributes allowed in a request is 1000.\n\n### setCatalogAttributes\n\nEnable attribute(s) config at catalog level.\n\nFor example, indexable, dynamic_facetable, or searchable for each\nattribute.\nThe key is catalog attribute's name.\nFor example: `color`, `brands`, `attributes.custom_attribute`, such as\n`attributes.xyz`.\nThe maximum number of catalog attributes allowed in a request is 1000.\n\n### getAttributeConfigLevel\n\nOutput only. The\n[AttributeConfigLevel](/php/docs/reference/cloud-retail/latest/V2.AttributeConfigLevel) used\nfor this catalog.\n\n### setAttributeConfigLevel\n\nOutput only. The\n[AttributeConfigLevel](/php/docs/reference/cloud-retail/latest/V2.AttributeConfigLevel) used\nfor this catalog."]]