Google Shopping Merchant Products V1 Client - Class DurationUnit (1.8.0)

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

The unit of duration.

Protobuf type google.shopping.merchant.products.v1.ProductAttributes.LeaseTerm.DurationUnit

Namespace

Google \ Shopping \ Merchant \ Products \ V1 \ ProductAttributes \ LeaseTerm

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

DURATION_UNIT_UNSPECIFIED

Value: 0

Unspecified duration unit.

Generated from protobuf enum DURATION_UNIT_UNSPECIFIED = 0;

MONTHS

Value: 1

Month.

Generated from protobuf enum MONTHS = 1;

WEEKS

Value: 2

Week.

Generated from protobuf enum WEEKS = 2;