Class: Google::Shopping::Css::V1::ProductDimension
- Inherits:
-
Object
- Object
- Google::Shopping::Css::V1::ProductDimension
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/shopping/css/v1/css_product_common.rb
Overview
The dimension of the product.
Instance Attribute Summary collapse
-
#unit ⇒ ::String
Required.
-
#value ⇒ ::Float
Required.
Instance Attribute Details
#unit ⇒ ::String
Returns Required. The dimension units. Acceptable values are:
- "
in
" - "
cm
".
261 262 263 264 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 261 class ProductDimension include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#value ⇒ ::Float
Returns Required. The dimension value represented as a number. The value can have a maximum precision of four decimal places.
261 262 263 264 |
# File 'proto_docs/google/shopping/css/v1/css_product_common.rb', line 261 class ProductDimension include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |