Class ProjectsResource.LocationsResource.CatalogsResource.AttributesConfigResource.AddCatalogAttributeRequest
Adds the specified CatalogAttribute to the AttributesConfig. If the CatalogAttribute to add already exists, an ALREADY_EXISTS error is returned.
Inheritance
ProjectsResource.LocationsResource.CatalogsResource.AttributesConfigResource.AddCatalogAttributeRequest
Inherited Members
Namespace: Google.Apis.CloudRetail.v2
Assembly: Google.Apis.CloudRetail.v2.dll
Syntax
public class ProjectsResource.LocationsResource.CatalogsResource.AttributesConfigResource.AddCatalogAttributeRequest : CloudRetailBaseServiceRequest<GoogleCloudRetailV2AttributesConfig>, IClientServiceRequest<GoogleCloudRetailV2AttributesConfig>, IClientServiceRequest
Constructors
AddCatalogAttributeRequest(IClientService, GoogleCloudRetailV2AddCatalogAttributeRequest, string)
Constructs a new AddCatalogAttribute request.
Declaration
public AddCatalogAttributeRequest(IClientService service, GoogleCloudRetailV2AddCatalogAttributeRequest body, string attributesConfig)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudRetailV2AddCatalogAttributeRequest | 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 AddCatalogAttribute parameter list.
Declaration
protected override void InitParameters()