Weight

The weight represented as the value in string and the unit.

JSON representation
{
  "unit": enum (WeightUnit),
  "amountMicros": string
}
Fields
unit

enum (WeightUnit)

Required. The weight unit. Acceptable values are: kg and lb

amountMicros

string (int64 format)

Required. The weight represented as a number in micros (1 million micros is an equivalent to one's currency standard unit, for example, 1 kg = 1000000 micros). This field can also be set as infinity by setting to -1. This field only support -1 and positive value.