Reference documentation and code samples for the Retail V2 API class Google::Cloud::Retail::V2::AddCatalogAttributeRequest.
Request for CatalogService.AddCatalogAttribute method.
Inherits
- Object
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
Returns
- (::Google::Cloud::Retail::V2::CatalogAttribute) — Required. The CatalogAttribute to add.
#catalog_attribute=
def catalog_attribute=(value) -> ::Google::Cloud::Retail::V2::CatalogAttribute
Parameter
- value (::Google::Cloud::Retail::V2::CatalogAttribute) — Required. The CatalogAttribute to add.
Returns
- (::Google::Cloud::Retail::V2::CatalogAttribute) — Required. The CatalogAttribute to add.