attributes_config
Creates, updates, deletes, gets or lists an attributes_config resource.
Overview
| Name | attributes_config |
| Type | Resource |
| Id | google.retail.attributes_config |
Fields
The following fields are returned by SELECT queries:
SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
projects_locations_catalogs_attributes_config_replace_catalog_attribute | replace | projectsId, locationsId, catalogsId | Replaces the specified CatalogAttribute in the AttributesConfig by updating the catalog attribute with the same CatalogAttribute.key. If the CatalogAttribute to replace does not exist, a NOT_FOUND error is returned. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
catalogsId | string | |
locationsId | string | |
projectsId | string |
REPLACE examples
- projects_locations_catalogs_attributes_config_replace_catalog_attribute
Replaces the specified CatalogAttribute in the AttributesConfig by updating the catalog attribute with the same CatalogAttribute.key. If the CatalogAttribute to replace does not exist, a NOT_FOUND error is returned.
REPLACE google.retail.attributes_config
SET
data__catalogAttribute = '{{ catalogAttribute }}',
data__updateMask = '{{ updateMask }}'
WHERE
projectsId = '{{ projectsId }}' --required
AND locationsId = '{{ locationsId }}' --required
AND catalogsId = '{{ catalogsId }}' --required
RETURNING
name,
attributeConfigLevel,
catalogAttributes;