Google Shopping Merchant Products V1 Client - Class Unit (1.7.0)

Reference documentation and code samples for the Google Shopping Merchant Products V1 Client class Unit.

The unit of the mileage.

Protobuf type google.shopping.merchant.products.v1.ProductAttributes.Mileage.Unit

Namespace

Google \ Shopping \ Merchant \ Products \ V1 \ ProductAttributes \ Mileage

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

UNIT_UNSPECIFIED

Value: 0

Unspecified unit.

Generated from protobuf enum UNIT_UNSPECIFIED = 0;

MILES

Value: 1

Miles.

Generated from protobuf enum MILES = 1;

KM

Value: 2

Kilometers.

Generated from protobuf enum KM = 2;