Send feedback
Retail V2 API - Class Google::Cloud::Retail::V2::AddCatalogAttributeRequest (v2.3.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
Reference documentation and code samples for the Retail V2 API class Google::Cloud::Retail::V2::AddCatalogAttributeRequest.
Request for
CatalogService.AddCatalogAttribute
method.
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#attributes_config
def attributes_config () - > :: String
Returns
(::String) — Required. Full AttributesConfig resource name. Format:
projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig
#attributes_config=
def attributes_config= ( value ) - > :: String
Parameter
value (::String) — Required. Full AttributesConfig resource name. Format:
projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig
Returns
(::String) — Required. Full AttributesConfig resource name. Format:
projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig
#catalog_attribute
def catalog_attribute () - > :: Google :: Cloud :: Retail :: V2 :: CatalogAttribute
#catalog_attribute=
def catalog_attribute= ( value ) - > :: Google :: Cloud :: Retail :: V2 :: CatalogAttribute
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-04 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Retail V2 API - Class Google::Cloud::Retail::V2::AddCatalogAttributeRequest (v2.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.3.0 (latest)](/ruby/docs/reference/google-cloud-retail-v2/latest/Google-Cloud-Retail-V2-AddCatalogAttributeRequest)\n- [2.2.0](/ruby/docs/reference/google-cloud-retail-v2/2.2.0/Google-Cloud-Retail-V2-AddCatalogAttributeRequest)\n- [2.1.0](/ruby/docs/reference/google-cloud-retail-v2/2.1.0/Google-Cloud-Retail-V2-AddCatalogAttributeRequest)\n- [2.0.0](/ruby/docs/reference/google-cloud-retail-v2/2.0.0/Google-Cloud-Retail-V2-AddCatalogAttributeRequest)\n- [1.3.0](/ruby/docs/reference/google-cloud-retail-v2/1.3.0/Google-Cloud-Retail-V2-AddCatalogAttributeRequest)\n- [1.2.0](/ruby/docs/reference/google-cloud-retail-v2/1.2.0/Google-Cloud-Retail-V2-AddCatalogAttributeRequest)\n- [1.1.0](/ruby/docs/reference/google-cloud-retail-v2/1.1.0/Google-Cloud-Retail-V2-AddCatalogAttributeRequest)\n- [1.0.1](/ruby/docs/reference/google-cloud-retail-v2/1.0.1/Google-Cloud-Retail-V2-AddCatalogAttributeRequest)\n- [0.21.0](/ruby/docs/reference/google-cloud-retail-v2/0.21.0/Google-Cloud-Retail-V2-AddCatalogAttributeRequest)\n- [0.20.0](/ruby/docs/reference/google-cloud-retail-v2/0.20.0/Google-Cloud-Retail-V2-AddCatalogAttributeRequest)\n- [0.19.0](/ruby/docs/reference/google-cloud-retail-v2/0.19.0/Google-Cloud-Retail-V2-AddCatalogAttributeRequest)\n- [0.18.2](/ruby/docs/reference/google-cloud-retail-v2/0.18.2/Google-Cloud-Retail-V2-AddCatalogAttributeRequest)\n- [0.17.0](/ruby/docs/reference/google-cloud-retail-v2/0.17.0/Google-Cloud-Retail-V2-AddCatalogAttributeRequest)\n- [0.16.1](/ruby/docs/reference/google-cloud-retail-v2/0.16.1/Google-Cloud-Retail-V2-AddCatalogAttributeRequest)\n- [0.15.0](/ruby/docs/reference/google-cloud-retail-v2/0.15.0/Google-Cloud-Retail-V2-AddCatalogAttributeRequest)\n- [0.14.0](/ruby/docs/reference/google-cloud-retail-v2/0.14.0/Google-Cloud-Retail-V2-AddCatalogAttributeRequest)\n- [0.13.0](/ruby/docs/reference/google-cloud-retail-v2/0.13.0/Google-Cloud-Retail-V2-AddCatalogAttributeRequest)\n- [0.12.0](/ruby/docs/reference/google-cloud-retail-v2/0.12.0/Google-Cloud-Retail-V2-AddCatalogAttributeRequest)\n- [0.11.0](/ruby/docs/reference/google-cloud-retail-v2/0.11.0/Google-Cloud-Retail-V2-AddCatalogAttributeRequest)\n- [0.10.0](/ruby/docs/reference/google-cloud-retail-v2/0.10.0/Google-Cloud-Retail-V2-AddCatalogAttributeRequest)\n- [0.9.0](/ruby/docs/reference/google-cloud-retail-v2/0.9.0/Google-Cloud-Retail-V2-AddCatalogAttributeRequest)\n- [0.8.0](/ruby/docs/reference/google-cloud-retail-v2/0.8.0/Google-Cloud-Retail-V2-AddCatalogAttributeRequest)\n- [0.7.0](/ruby/docs/reference/google-cloud-retail-v2/0.7.0/Google-Cloud-Retail-V2-AddCatalogAttributeRequest)\n- [0.6.4](/ruby/docs/reference/google-cloud-retail-v2/0.6.4/Google-Cloud-Retail-V2-AddCatalogAttributeRequest) \nReference documentation and code samples for the Retail V2 API class Google::Cloud::Retail::V2::AddCatalogAttributeRequest.\n\nRequest for\n[CatalogService.AddCatalogAttribute](/ruby/docs/reference/google-cloud-retail-v2/latest/Google-Cloud-Retail-V2-CatalogService-Client#Google__Cloud__Retail__V2__CatalogService__Client_add_catalog_attribute_instance_ \"Google::Cloud::Retail::V2::CatalogService::Client#add_catalog_attribute (method)\")\nmethod. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #attributes_config\n\n def attributes_config() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. Full AttributesConfig resource name. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig`\n\n### #attributes_config=\n\n def attributes_config=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. Full AttributesConfig resource name. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig` \n**Returns**\n\n- (::String) --- Required. Full AttributesConfig resource name. Format: `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/attributesConfig`\n\n### #catalog_attribute\n\n def catalog_attribute() -\u003e ::Google::Cloud::Retail::V2::CatalogAttribute\n\n**Returns**\n\n- ([::Google::Cloud::Retail::V2::CatalogAttribute](./Google-Cloud-Retail-V2-CatalogAttribute)) --- Required. The [CatalogAttribute](/ruby/docs/reference/google-cloud-retail-v2/latest/Google-Cloud-Retail-V2-CatalogAttribute \"Google::Cloud::Retail::V2::CatalogAttribute (class)\") to add.\n\n### #catalog_attribute=\n\n def catalog_attribute=(value) -\u003e ::Google::Cloud::Retail::V2::CatalogAttribute\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Retail::V2::CatalogAttribute](./Google-Cloud-Retail-V2-CatalogAttribute)) --- Required. The [CatalogAttribute](/ruby/docs/reference/google-cloud-retail-v2/latest/Google-Cloud-Retail-V2-CatalogAttribute \"Google::Cloud::Retail::V2::CatalogAttribute (class)\") to add. \n**Returns**\n\n- ([::Google::Cloud::Retail::V2::CatalogAttribute](./Google-Cloud-Retail-V2-CatalogAttribute)) --- Required. The [CatalogAttribute](/ruby/docs/reference/google-cloud-retail-v2/latest/Google-Cloud-Retail-V2-CatalogAttribute \"Google::Cloud::Retail::V2::CatalogAttribute (class)\") to add."]]