ProjectsLocationsCatalogsAttributesConfig
class ProjectsLocationsCatalogsAttributesConfig extends Resource (View source)
The "attributesConfig" collection of methods.
Typical usage is:
$retailService = new Google\Service\CloudRetail(...);
$attributesConfig = $retailService->projects_locations_catalogs_attributesConfig;
Methods
Adds the specified CatalogAttribute to the AttributesConfig. If the CatalogAttribute to add already exists, an ALREADY_EXISTS error is returned.
Removes the specified CatalogAttribute from the AttributesConfig. If the CatalogAttribute to remove does not exist, a NOT_FOUND error is returned.
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.
Details
GoogleCloudRetailV2AttributesConfig
addCatalogAttribute(string $attributesConfig, GoogleCloudRetailV2AddCatalogAttributeRequest $postBody, array $optParams = [])
Adds the specified CatalogAttribute to the AttributesConfig. If the CatalogAttribute to add already exists, an ALREADY_EXISTS error is returned.
(attributesConfig.addCatalogAttribute)
GoogleCloudRetailV2AttributesConfig
removeCatalogAttribute(string $attributesConfig, GoogleCloudRetailV2RemoveCatalogAttributeRequest $postBody, array $optParams = [])
Removes the specified CatalogAttribute from the AttributesConfig. If the CatalogAttribute to remove does not exist, a NOT_FOUND error is returned.
(attributesConfig.removeCatalogAttribute)
GoogleCloudRetailV2AttributesConfig
replaceCatalogAttribute(string $attributesConfig, GoogleCloudRetailV2ReplaceCatalogAttributeRequest $postBody, array $optParams = [])
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.
(attributesConfig.replaceCatalogAttribute)