ManagedServiceMetricUsageFee(
mapping=None, *, ignore_unknown_fields=False, **kwargs
)Details about a SKU pricing usage of a partner-reported custom
billing
metric <https://cloud.google.com/service-infrastructure/docs/reporting-billing-metrics>__
defined by the partner in the Service Management API and reported
using the Service Control API.
The customer's usage charge is computed by converting the customer's reported consumption to the SKU's composite price unit and applying the graduated price from the appropriate price tier.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
|---|---|
| Name | Description |
tiered_price |
google.cloud.commerceproducer_v1beta.types.Sku.SkuPrice.TieredPrice
Output only. `Tiered pricing |
canonical_metric |
str
Output only. The name of the metric, in canonical format. Note that in the canonical format the first character of the path component of the metric name is always uppercase, which may differ from the metric name in the service config. For example, a metric appearing in the service config as 'example.com/example_metric' will appear here in the SKU as 'example.com/Example_metric'. In the Service Management and Service Control APIs these two metric names are considered distinct, either or both may be defined, and usage must be reported using a name matching the name of a metric defined in the service config. But for billing purposes usage reported using either name will be aggregated under the canonical metric name. Example: "example.com/Example_metric". |