Class: Google::Shopping::Merchant::Products::V1beta::ProductWeight
- Inherits:
-
Object
- Object
- Google::Shopping::Merchant::Products::V1beta::ProductWeight
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/shopping/merchant/products/v1beta/products_common.rb
Overview
The weight of the product.
Instance Attribute Summary collapse
-
#unit ⇒ ::String
Required.
-
#value ⇒ ::Float
Required.
Instance Attribute Details
#unit ⇒ ::String
Returns Required. The weight unit. Acceptable values are:
- "
g
" - "
kg
" - "
oz
" - "
lb
".
749 750 751 752 |
# File 'proto_docs/google/shopping/merchant/products/v1beta/products_common.rb', line 749 class ProductWeight include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#value ⇒ ::Float
Returns Required. The weight represented as a number. The weight can have a maximum precision of four decimal places.
749 750 751 752 |
# File 'proto_docs/google/shopping/merchant/products/v1beta/products_common.rb', line 749 class ProductWeight include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |