Skip to main content

types

AcceptedUsageRecord​

uuid : string​

Unique identifier of the usage record (UUID format).

RejectedUsageRecord​

Reason​

  • REASON_UNSPECIFIED

  • DUPLICATE

  • EXPIRED

  • INVALID_TIMESTAMP

  • INVALID_SKU_ID

  • INVALID_PRODUCT_ID

  • INVALID_QUANTITY

  • INVALID_ID

uuid : string​

Unique identifier of the usage record (UUID format).

reason : Reason​

The reason of rejection.

UsageRecord​

uuid : string​

Unique identifier of the usage record (UUID format).

skuId : string​

Consumed Marketplace SKU ID, linked to UsageRecord.product_id.

quantity : int64​

Quantity of SKU consumed, measured in sku.usage_unit units (e.g. bytes).

timestamp : google.protobuf.Timestamp​

Timestamp in UTC for which the usage is being reported.