Google Shopping Merchant Accounts V1 Client - Class Unit (1.0.0)

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 \ 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;

Design a Mobile Site
View Site in Mobile | Classic
Share by: