Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.CatalogsResource.AttributesConfigResource

The "attributesConfig" collection of methods.

Inheritance
object
ProjectsResource.LocationsResource.CatalogsResource.AttributesConfigResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudRetail.v2beta
Assembly: Google.Apis.CloudRetail.v2beta.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(GoogleCloudRetailV2betaAddCatalogAttributeRequest, 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(GoogleCloudRetailV2betaAddCatalogAttributeRequest body, string attributesConfig)
Parameters
Type Name Description
GoogleCloudRetailV2betaAddCatalogAttributeRequest body

The body of the request.

string attributesConfig

Required. Full AttributesConfig resource name. Format: projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig

Returns
Type Description
ProjectsResource.LocationsResource.CatalogsResource.AttributesConfigResource.AddCatalogAttributeRequest

BatchRemoveCatalogAttributes(GoogleCloudRetailV2betaBatchRemoveCatalogAttributesRequest, string)

Removes all specified CatalogAttributes from the AttributesConfig.

Declaration
public virtual ProjectsResource.LocationsResource.CatalogsResource.AttributesConfigResource.BatchRemoveCatalogAttributesRequest BatchRemoveCatalogAttributes(GoogleCloudRetailV2betaBatchRemoveCatalogAttributesRequest body, string attributesConfig)
Parameters
Type Name Description
GoogleCloudRetailV2betaBatchRemoveCatalogAttributesRequest body

The body of the request.

string attributesConfig

Required. The attributes config resource shared by all catalog attributes being deleted. Format: projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig

Returns
Type Description
ProjectsResource.LocationsResource.CatalogsResource.AttributesConfigResource.BatchRemoveCatalogAttributesRequest

RemoveCatalogAttribute(GoogleCloudRetailV2betaRemoveCatalogAttributeRequest, 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(GoogleCloudRetailV2betaRemoveCatalogAttributeRequest body, string attributesConfig)
Parameters
Type Name Description
GoogleCloudRetailV2betaRemoveCatalogAttributeRequest body

The body of the request.

string attributesConfig

Required. Full AttributesConfig resource name. Format: projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig

Returns
Type Description
ProjectsResource.LocationsResource.CatalogsResource.AttributesConfigResource.RemoveCatalogAttributeRequest

ReplaceCatalogAttribute(GoogleCloudRetailV2betaReplaceCatalogAttributeRequest, 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(GoogleCloudRetailV2betaReplaceCatalogAttributeRequest body, string attributesConfig)
Parameters
Type Name Description
GoogleCloudRetailV2betaReplaceCatalogAttributeRequest body

The body of the request.

string attributesConfig

Required. Full AttributesConfig resource name. Format: projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig

Returns
Type Description
ProjectsResource.LocationsResource.CatalogsResource.AttributesConfigResource.ReplaceCatalogAttributeRequest
In this article
Back to top Generated by DocFX