- JSON representation
- SegmentCostEstimate
- WorkloadCostEstimate
- SkuCostEstimate
- CostEstimate
- Money
- CreditEstimate
- CommitmentCostEstimate
- Sku
- Price
- Rate
- RateTier
The result of a estimating the costs of a CostScenario
.
JSON representation |
---|
{ "segmentCostEstimates": [ { object ( |
Fields | |
---|---|
segmentCostEstimates[] |
Required. Estimated costs for each idealized month of a |
skus[] |
Required. Information about SKUs used in the estimate. |
currencyCode |
Required. The ISO 4217 currency code for the cost estimate. |
SegmentCostEstimate
Workload cost estimates for a single time segment.
JSON representation |
---|
{ "segmentStartTime": { object ( |
Fields | |
---|---|
segmentStartTime |
Timestamp for the start of the segment. |
workloadCostEstimates[] |
Estimated costs for each workload. |
commitmentCostEstimates[] |
Estimated costs for each commitment. |
segmentTotalCostEstimate |
Total estimated costs for the time segment. |
WorkloadCostEstimate
Estimated cost for a workload.
JSON representation |
---|
{ "name": string, "skuCostEstimates": [ { object ( |
Fields | |
---|---|
name |
The name of the workload, as specified in the |
skuCostEstimates[] |
Estimated costs for each SKU in the workload. |
workloadTotalCostEstimate |
Total estimated costs for the workload. |
SkuCostEstimate
Estimated cost for usage on a SKU.
JSON representation |
---|
{
"sku": string,
"usageAmount": number,
"usageUnit": string,
"costEstimate": {
object ( |
Fields | |
---|---|
sku |
The resource name for the SKU. Example: "services/DA34-426B-A397/skus/AA95-CD31-42FE" More information about the SKU can be found in the |
usageAmount |
The amount of usage on this SKU. |
usageUnit |
The unit for the usage on this SKU. |
costEstimate |
The estimated cost for the usage on this SKU. |
CostEstimate
An estimated cost.
JSON representation |
---|
{ "preCreditCostEstimate": { object ( |
Fields | |
---|---|
preCreditCostEstimate |
The estimated cost prior to applying credits. |
creditEstimates[] |
The estimated credits applied. |
netCostEstimate |
The estimated net cost after applying credits. |
Money
Represents an amount of money with its currency type.
JSON representation |
---|
{ "currencyCode": string, "units": string, "nanos": integer } |
Fields | |
---|---|
currencyCode |
The three-letter currency code defined in ISO 4217. |
units |
The whole units of the amount. For example if |
nanos |
Number of nano (10^-9) units of the amount. The value must be between -999,999,999 and +999,999,999 inclusive. If |
CreditEstimate
An estimated credit applied to the costs on a SKU.
JSON representation |
---|
{
"creditAmount": {
object ( |
Fields | |
---|---|
creditAmount |
The estimated credit amount. |
creditType |
The credit type. |
creditDescription |
The credit description. |
CommitmentCostEstimate
Estimated cost for a commitment.
JSON representation |
---|
{ "name": string, "skuCostEstimates": [ { object ( |
Fields | |
---|---|
name |
The name of the commitment, as specified in the |
skuCostEstimates[] |
Estimated costs for each SKU in the commitment. |
commitmentTotalCostEstimate |
Total estimated costs for the commitment. |
Sku
Information about SKUs appearing in the cost estimate.
JSON representation |
---|
{
"sku": string,
"displayName": string,
"prices": [
{
object ( |
Fields | |
---|---|
sku |
The resource name for the SKU. Example: "services/DA34-426B-A397/skus/AA95-CD31-42FE" |
displayName |
The display name for the SKU. Example: A2 Instance Core running in Americas |
prices[] |
A timeline of prices for a SKU in chronological order. Note: The API currently only supports using a constant price for the entire estimation time frame so this list will contain a single value. |
Price
The price of a SKU at a point int time.
JSON representation |
---|
{ "priceType": string, "effectiveTime": { object ( |
Fields | |
---|---|
priceType |
The type of price. Possible values: "RATE" |
effectiveTime |
The timestamp within the estimation time frame when the price was set. |
Union field
|
|
rate |
A set of tiered rates. |
Rate
A SKU price consisting of tiered rates.
JSON representation |
---|
{
"tiers": [
{
object ( |
Fields | |
---|---|
tiers[] |
The service tiers. |
unit |
The SKU's pricing unit. For example, if the tier price is $1 per 1000000 Bytes, then this field will show 'By'. The |
unitCount |
The SKU's count for the pricing unit. For example, if the tier price is $1 per 1000000 Bytes, then this column will show 1000000. |
RateTier
Pricing details for a service tier.
JSON representation |
---|
{
"startAmount": number,
"price": {
object ( |
Fields | |
---|---|
startAmount |
The magnitude of usage in which the tier interval begins. Example: "From 100 GiBi the price is $1 per byte" implies |
price |
The price for this tier. |