Class ProjectsResource.LocationsResource.CatalogsResource.AttributesConfigResource
The "attributesConfig" collection of methods.
Inherited Members
Namespace: Google.Apis.CloudRetail.v2
Assembly: Google.Apis.CloudRetail.v2.dll
Syntax
public class ProjectsResource.LocationsResource.CatalogsResource.AttributesConfigResource
Constructors
AttributesConfigResource(IClientService)
Constructs a new resource.
Declaration
public AttributesConfigResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
AddCatalogAttribute(GoogleCloudRetailV2AddCatalogAttributeRequest, string)
Adds the specified CatalogAttribute to the AttributesConfig. If the CatalogAttribute to add already exists, an ALREADY_EXISTS error is returned.
Declaration
public virtual ProjectsResource.LocationsResource.CatalogsResource.AttributesConfigResource.AddCatalogAttributeRequest AddCatalogAttribute(GoogleCloudRetailV2AddCatalogAttributeRequest body, string attributesConfig)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudRetailV2AddCatalogAttributeRequest | body | The body of the request. |
string | attributesConfig | Required. Full AttributesConfig resource name. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CatalogsResource.AttributesConfigResource.AddCatalogAttributeRequest |
RemoveCatalogAttribute(GoogleCloudRetailV2RemoveCatalogAttributeRequest, string)
Removes the specified CatalogAttribute from the AttributesConfig. If the CatalogAttribute to remove does not exist, a NOT_FOUND error is returned.
Declaration
public virtual ProjectsResource.LocationsResource.CatalogsResource.AttributesConfigResource.RemoveCatalogAttributeRequest RemoveCatalogAttribute(GoogleCloudRetailV2RemoveCatalogAttributeRequest body, string attributesConfig)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudRetailV2RemoveCatalogAttributeRequest | body | The body of the request. |
string | attributesConfig | Required. Full AttributesConfig resource name. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CatalogsResource.AttributesConfigResource.RemoveCatalogAttributeRequest |
ReplaceCatalogAttribute(GoogleCloudRetailV2ReplaceCatalogAttributeRequest, string)
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.
Declaration
public virtual ProjectsResource.LocationsResource.CatalogsResource.AttributesConfigResource.ReplaceCatalogAttributeRequest ReplaceCatalogAttribute(GoogleCloudRetailV2ReplaceCatalogAttributeRequest body, string attributesConfig)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudRetailV2ReplaceCatalogAttributeRequest | body | The body of the request. |
string | attributesConfig | Required. Full AttributesConfig resource name. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CatalogsResource.AttributesConfigResource.ReplaceCatalogAttributeRequest |