Skip to main content

attributes_config

Creates, updates, deletes, gets or lists a attributes_config resource.

Overview

Nameattributes_config
TypeResource
Idgoogle.retail.attributes_config

Fields

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

NameAccessible byRequired ParamsDescription
projects_locations_catalogs_attributes_config_replace_catalog_attributeREPLACEcatalogsId, locationsId, projectsIdReplaces 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 example

Replaces all fields in the specified attributes_config resource.

/*+ update */
REPLACE google.retail.attributes_config
SET
catalogAttribute = '{{ catalogAttribute }}',
updateMask = '{{ updateMask }}'
WHERE
catalogsId = '{{ catalogsId }}'
AND locationsId = '{{ locationsId }}'
AND projectsId = '{{ projectsId }}';