Class ProjectsResource.LocationsResource.CatalogsResource.AttributesConfigResource.ReplaceCatalogAttributeRequest
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.
Inheritance
ProjectsResource.LocationsResource.CatalogsResource.AttributesConfigResource.ReplaceCatalogAttributeRequest
Inherited Members
Namespace: Google.Apis.CloudRetail.v2beta
Assembly: Google.Apis.CloudRetail.v2beta.dll
Syntax
public class ProjectsResource.LocationsResource.CatalogsResource.AttributesConfigResource.ReplaceCatalogAttributeRequest : CloudRetailBaseServiceRequest<GoogleCloudRetailV2betaAttributesConfig>, IClientServiceRequest<GoogleCloudRetailV2betaAttributesConfig>, IClientServiceRequest
Constructors
ReplaceCatalogAttributeRequest(IClientService, GoogleCloudRetailV2betaReplaceCatalogAttributeRequest, string)
Constructs a new ReplaceCatalogAttribute request.
Declaration
public ReplaceCatalogAttributeRequest(IClientService service, GoogleCloudRetailV2betaReplaceCatalogAttributeRequest body, string attributesConfig)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudRetailV2betaReplaceCatalogAttributeRequest | body | |
string | attributesConfig |
Properties
AttributesConfig
Required. Full AttributesConfig resource name. Format:
projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig
Declaration
[RequestParameter("attributesConfig", RequestParameterType.Path)]
public virtual string AttributesConfig { get; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes ReplaceCatalogAttribute parameter list.
Declaration
protected override void InitParameters()