Reference documentation and code samples for the Google Cloud Retail V2 Client class AddCatalogAttributeRequest.
Request for CatalogService.AddCatalogAttribute method.
Generated from protobuf message google.cloud.retail.v2.AddCatalogAttributeRequest
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ attributes_config
string
Required. Full AttributesConfig resource name. Format: projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig
↳ catalog_attribute
getAttributesConfig
Required. Full AttributesConfig resource name. Format: projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig
Generated from protobuf field string attributes_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
string
setAttributesConfig
Required. Full AttributesConfig resource name. Format: projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig
Generated from protobuf field string attributes_config = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {
var
string
$this
getCatalogAttribute
Required. The CatalogAttribute to add.
Generated from protobuf field .google.cloud.retail.v2.CatalogAttribute catalog_attribute = 2 [(.google.api.field_behavior) = REQUIRED];
hasCatalogAttribute
clearCatalogAttribute
setCatalogAttribute
Required. The CatalogAttribute to add.
Generated from protobuf field .google.cloud.retail.v2.CatalogAttribute catalog_attribute = 2 [(.google.api.field_behavior) = REQUIRED];
$this