Class ProjectsResource.LocationsResource.CatalogsResource.AttributesConfigResource
The "attributesConfig" collection of methods.
Inherited Members
Namespace: Google.Apis.CloudRetail.v2alpha
Assembly: Google.Apis.CloudRetail.v2alpha.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(GoogleCloudRetailV2alphaAddCatalogAttributeRequest, 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(GoogleCloudRetailV2alphaAddCatalogAttributeRequest body, string attributesConfig)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudRetailV2alphaAddCatalogAttributeRequest | body | The body of the request. |
string | attributesConfig | Required. Full AttributesConfig resource name. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CatalogsResource.AttributesConfigResource.AddCatalogAttributeRequest |
BatchRemoveCatalogAttributes(GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesRequest, string)
Removes all specified CatalogAttributes from the AttributesConfig.
Declaration
public virtual ProjectsResource.LocationsResource.CatalogsResource.AttributesConfigResource.BatchRemoveCatalogAttributesRequest BatchRemoveCatalogAttributes(GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesRequest body, string attributesConfig)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudRetailV2alphaBatchRemoveCatalogAttributesRequest | body | The body of the request. |
string | attributesConfig | Required. The attributes config resource shared by all catalog attributes being deleted. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CatalogsResource.AttributesConfigResource.BatchRemoveCatalogAttributesRequest |
RemoveCatalogAttribute(GoogleCloudRetailV2alphaRemoveCatalogAttributeRequest, 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(GoogleCloudRetailV2alphaRemoveCatalogAttributeRequest body, string attributesConfig)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudRetailV2alphaRemoveCatalogAttributeRequest | body | The body of the request. |
string | attributesConfig | Required. Full AttributesConfig resource name. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CatalogsResource.AttributesConfigResource.RemoveCatalogAttributeRequest |
ReplaceCatalogAttribute(GoogleCloudRetailV2alphaReplaceCatalogAttributeRequest, 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(GoogleCloudRetailV2alphaReplaceCatalogAttributeRequest body, string attributesConfig)
Parameters
Type | Name | Description |
---|---|---|
GoogleCloudRetailV2alphaReplaceCatalogAttributeRequest | body | The body of the request. |
string | attributesConfig | Required. Full AttributesConfig resource name. Format:
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.CatalogsResource.AttributesConfigResource.ReplaceCatalogAttributeRequest |