Class ProjectsResource.LocationsResource.CatalogsResource.UpdateAttributesConfigRequest
Updates the AttributesConfig. The catalog attributes in the request will be updated in the catalog, or inserted if they do not exist. Existing catalog attributes not included in the request will remain unchanged. Attributes that are assigned to products, but do not exist at the catalog level, are always included in the response. The product attribute is assigned default values for missing catalog attribute fields, e.g., searchable and dynamic facetable options.
Inheritance
Inherited Members
Namespace: Google.Apis.CloudRetail.v2
Assembly: Google.Apis.CloudRetail.v2.dll
Syntax
public class ProjectsResource.LocationsResource.CatalogsResource.UpdateAttributesConfigRequest : CloudRetailBaseServiceRequest<GoogleCloudRetailV2AttributesConfig>, IClientServiceRequest<GoogleCloudRetailV2AttributesConfig>, IClientServiceRequest
Constructors
UpdateAttributesConfigRequest(IClientService, GoogleCloudRetailV2AttributesConfig, string)
Constructs a new UpdateAttributesConfig request.
Declaration
public UpdateAttributesConfigRequest(IClientService service, GoogleCloudRetailV2AttributesConfig body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| GoogleCloudRetailV2AttributesConfig | body | |
| string | name |
Properties
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
Name
Required. Immutable. The fully qualified resource name of the attribute config. Format:
projects/*/locations/*/catalogs/*/attributesConfig
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
UpdateMask
Indicates which fields in the provided AttributesConfig to update. The following is the only supported field: * AttributesConfig.catalog_attributes If not set, all supported fields are updated.
Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
| Type | Description |
|---|---|
| object |
Overrides
InitParameters()
Initializes UpdateAttributesConfig parameter list.
Declaration
protected override void InitParameters()