class Google::Apis::ContentV2::ProductShippingDimension
Attributes
unit[RW]
The unit of value. Acceptable values are:
-
“cm”
-
“in”
Corresponds to the JSON property `unit` @return [String]
value[RW]
The dimension of the product used to calculate the shipping cost of the item. Corresponds to the JSON property `value` @return [Float]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/content_v2/classes.rb, line 5198 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/content_v2/classes.rb, line 5203 def update!(**args) @unit = args[:unit] if args.key?(:unit) @value = args[:value] if args.key?(:value) end