Reference documentation and code samples for the Retail V2 API class Google::Cloud::Retail::V2::ReplaceCatalogAttributeRequest.
Request for CatalogService.ReplaceCatalogAttribute 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 updated CatalogAttribute.
#catalog_attribute=
def catalog_attribute=(value) -> ::Google::Cloud::Retail::V2::CatalogAttribute
Parameter
- value (::Google::Cloud::Retail::V2::CatalogAttribute) — Required. The updated CatalogAttribute.
Returns
- (::Google::Cloud::Retail::V2::CatalogAttribute) — Required. The updated CatalogAttribute.
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask
Returns
-
(::Google::Protobuf::FieldMask) — Indicates which fields in the provided
CatalogAttribute to update. The
following are NOT supported:
If not set, all supported fields are updated.
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
-
value (::Google::Protobuf::FieldMask) — Indicates which fields in the provided
CatalogAttribute to update. The
following are NOT supported:
If not set, all supported fields are updated.
Returns
-
(::Google::Protobuf::FieldMask) — Indicates which fields in the provided
CatalogAttribute to update. The
following are NOT supported:
If not set, all supported fields are updated.