public static interface Sku.SkuPrice.ManagedServiceMetricUsageFeeOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getCanonicalMetric()
public abstract String getCanonicalMetric()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"
string canonical_metric = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The canonicalMetric. |
getCanonicalMetricBytes()
public abstract ByteString getCanonicalMetricBytes()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"
string canonical_metric = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for canonicalMetric. |
getPriceStructureCase()
public abstract Sku.SkuPrice.ManagedServiceMetricUsageFee.PriceStructureCase getPriceStructureCase()| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.ManagedServiceMetricUsageFee.PriceStructureCase |
|
getTieredPrice()
public abstract Sku.SkuPrice.TieredPrice getTieredPrice()Output only. Tiered pricing of the SKU.
.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.TieredPrice tiered_price = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.TieredPrice |
The tieredPrice. |
getTieredPriceOrBuilder()
public abstract Sku.SkuPrice.TieredPriceOrBuilder getTieredPriceOrBuilder()Output only. Tiered pricing of the SKU.
.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.TieredPrice tiered_price = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Sku.SkuPrice.TieredPriceOrBuilder |
|
hasTieredPrice()
public abstract boolean hasTieredPrice()Output only. Tiered pricing of the SKU.
.google.cloud.commerceproducer.v1beta.Sku.SkuPrice.TieredPrice tiered_price = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the tieredPrice field is set. |