Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

TierRate

import type { TierRate } from "https://googleapis.deno.dev/v1/cloudbilling:v1.ts";

The price rate indicating starting usage and its corresponding price.

interface TierRate {
startUsageAmount?: number;
unitPrice?: Money;
}

§Properties

§
startUsageAmount?: number
[src]

Usage is priced at this rate only after this amount. Example: start_usage_amount of 10 indicates that the usage will be priced at the unit_price after the first 10 usage_units.

§
unitPrice?: Money
[src]

The price per unit of usage. Example: unit_price of amount $10 indicates that each unit will cost $10.