Reference documentation and code samples for the Google Shopping Merchant Accounts V1 Client class Unit.
Unit can differ based on country, it is parameterized to include miles and kilometers.
Protobuf type google.shopping.merchant.accounts.v1.Distance.Unit
Namespace
Google \ Shopping \ Merchant \ Accounts \ V1 \ DistanceMethods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
UNIT_UNSPECIFIED
Value: 0
Unit unspecified
Generated from protobuf enum UNIT_UNSPECIFIED = 0;
MILES
Value: 1
Unit in miles
Generated from protobuf enum MILES = 1;
KILOMETERS
Value: 2
Unit in kilometers
Generated from protobuf enum KILOMETERS = 2;