public sealed class Sku.Types.SkuPrice.Types.ManagedServiceMetricUsageFee : IMessage<Sku.Types.SkuPrice.Types.ManagedServiceMetricUsageFee>, IEquatable<Sku.Types.SkuPrice.Types.ManagedServiceMetricUsageFee>, IDeepCloneable<Sku.Types.SkuPrice.Types.ManagedServiceMetricUsageFee>, IBufferMessage, IMessageReference documentation and code samples for the Cloud Commerce Producer v1beta API class Sku.Types.SkuPrice.Types.ManagedServiceMetricUsageFee.
Details about a SKU pricing usage of a partner-reported custom billing metric 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.
Implements
IMessageSkuTypesSkuPriceTypesManagedServiceMetricUsageFee, IEquatableSkuTypesSkuPriceTypesManagedServiceMetricUsageFee, IDeepCloneableSkuTypesSkuPriceTypesManagedServiceMetricUsageFee, IBufferMessage, IMessageNamespace
Google.Cloud.CommerceProducer.V1BetaAssembly
Google.Cloud.CommerceProducer.V1Beta.dll
Constructors
ManagedServiceMetricUsageFee()
public ManagedServiceMetricUsageFee()ManagedServiceMetricUsageFee(ManagedServiceMetricUsageFee)
public ManagedServiceMetricUsageFee(Sku.Types.SkuPrice.Types.ManagedServiceMetricUsageFee other)| Parameter | |
|---|---|
| Name | Description |
other |
SkuTypesSkuPriceTypesManagedServiceMetricUsageFee |
Properties
CanonicalMetric
public string CanonicalMetric { get; set; }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"
| Property Value | |
|---|---|
| Type | Description |
string |
|
PriceStructureCase
public Sku.Types.SkuPrice.Types.ManagedServiceMetricUsageFee.PriceStructureOneofCase PriceStructureCase { get; }| Property Value | |
|---|---|
| Type | Description |
SkuTypesSkuPriceTypesManagedServiceMetricUsageFeePriceStructureOneofCase |
|
TieredPrice
public Sku.Types.SkuPrice.Types.TieredPrice TieredPrice { get; set; }Output only. Tiered pricing of the SKU.
| Property Value | |
|---|---|
| Type | Description |
SkuTypesSkuPriceTypesTieredPrice |
|