Reference documentation and code samples for the Retail V2 API class Google::Cloud::Retail::V2::ProductAttributeInterval.
Product attribute name and numeric interval.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#interval
def interval() -> ::Google::Cloud::Retail::V2::Interval
Returns
- (::Google::Cloud::Retail::V2::Interval) — The numeric interval (e.g. [10, 20))
#interval=
def interval=(value) -> ::Google::Cloud::Retail::V2::Interval
Parameter
- value (::Google::Cloud::Retail::V2::Interval) — The numeric interval (e.g. [10, 20))
Returns
- (::Google::Cloud::Retail::V2::Interval) — The numeric interval (e.g. [10, 20))
#name
def name() -> ::String
Returns
- (::String) — The attribute name (e.g. "length")
#name=
def name=(value) -> ::String
Parameter
- value (::String) — The attribute name (e.g. "length")
Returns
- (::String) — The attribute name (e.g. "length")