Google Shopping Merchant Accounts V1beta Client - Class Unit (0.1.0)

Reference documentation and code samples for the Google Shopping Merchant Accounts V1beta Client class Unit.

Unit can differ based on country, it is parameterized to include miles and kilometers.

Protobuf type google.shopping.merchant.accounts.v1beta.Distance.Unit

Namespace

Google \ Shopping \ Merchant \ Accounts \ V1beta \ Distance

Methods

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;