我试图深入了解Google帐单,尤其是您遵循的规则。
考虑Google Cloud Platform上“托管区域”的情况。根据Google DNS中的“托管区域”文档,每月按小时计费一次
受管区域的定价是根据一次存在的受管区域的数量来计算的,并按它们所占月份的百分比进行分配。此按小时计算比例]。一小时以内的区域将被视为已存在了整整一个小时。
但是,根据“ Cloud Billing Catalog API”,单位“ services / FA26-5236-B8B5 / skus / 8C22-6FC3-D478”每月按月计费。
{ "name": "services/FA26-5236-B8B5/skus/8C22-6FC3-D478", "skuId": "8C22-6FC3-D478", "description": "ManagedZone", "category": { "serviceDisplayName": "Cloud DNS", "resourceFamily": "Network", "resourceGroup": "DNS", "usageType": "OnDemand" }, "serviceRegions": [ "global" ], "pricingInfo": [ { "summary": "", "pricingExpression": { "usageUnit": "mo", "usageUnitDescription": "month", "baseUnit": "s", "baseUnitDescription": "second", "baseUnitConversionFactor": 2505600, "displayQuantity": 1, "tieredRates": [ { "startUsageAmount": 0, "unitPrice": { "currencyCode": "USD", "units": "0", "nanos": 200000000 } }, { "startUsageAmount": 25, "unitPrice": { "currencyCode": "USD", "units": "0", "nanos": 100000000 } }, { "startUsageAmount": 10000, "unitPrice": { "currencyCode": "USD", "units": "0", "nanos": 30000000 } } ] }, "aggregationInfo": { "aggregationLevel": "ACCOUNT", "aggregationInterval": "MONTHLY", "aggregationCount": 1 }, "currencyConversionRate": 1, "effectiveTime": "2020-02-07T17:41:49.051Z" } ], "serviceProviderName": "Google" }
字段
pricingInfo.0.pricingExpression.baseUnit
提及s
作为基本单位。
在这种情况下,在我看来,该文档与API响应不一致。
它是否错误地解释了API响应?如果是这样,如何通过API一般确定计费的使用量的基本计量单位是什么?
我试图深入了解Google的帐单,尤其是您遵循的规则。考虑Google Cloud Platform上“托管区域”的情况。根据文档“受管区域”中的...
“Cloud DNS pricing”文档是托管dns区域定价的唯一有效参考文档,根据该文档,“托管区域定价是根据一次存在的托管区域的数量计算的,并按百分比他们存在的月份。该比例按小时进行衡量。一小时以内的区域将被视为已存在了整整一个小时。