Enum Sku.SkuPrice.KubernetesEnginePodUsageFee.UsageCalculation (0.1.0)

public enum Sku.SkuPrice.KubernetesEnginePodUsageFee.UsageCalculation extends Enum<Sku.SkuPrice.KubernetesEnginePodUsageFee.UsageCalculation> implements ProtocolMessageEnum

Determines how the customer's usage is calculated.

Protobuf enum google.cloud.commerceproducer.v1beta.Sku.SkuPrice.KubernetesEnginePodUsageFee.UsageCalculation

Implements

ProtocolMessageEnum

Static Fields

Name Description
LINEAR_RESOURCE_SCALED_POD_RUNTIME

Usage is calculated from pod runtime and size. This calculation mode is only applicable to resource-based SKUs. Usage is calculated by measuring the pod runtime in the same manner as for POD_RUNTIME and multiplying by the pod's resource value matching the SKU's pod resource type. This converts the price from per-pod-hour to per-pod-hour-per-resource, which changes the price unit for memory SKUs to 'GiBy.h'. The price unit otherwise remains 'h' because the other resources are dimensionless.

A SKU using this usage calculation is referred to as "linear" because the customer's usage charge is linearly proportional to the pod's resource value.

LINEAR_RESOURCE_SCALED_POD_RUNTIME = 2;

LINEAR_RESOURCE_SCALED_POD_RUNTIME_VALUE

Usage is calculated from pod runtime and size. This calculation mode is only applicable to resource-based SKUs. Usage is calculated by measuring the pod runtime in the same manner as for POD_RUNTIME and multiplying by the pod's resource value matching the SKU's pod resource type. This converts the price from per-pod-hour to per-pod-hour-per-resource, which changes the price unit for memory SKUs to 'GiBy.h'. The price unit otherwise remains 'h' because the other resources are dimensionless.

A SKU using this usage calculation is referred to as "linear" because the customer's usage charge is linearly proportional to the pod's resource value.

LINEAR_RESOURCE_SCALED_POD_RUNTIME = 2;

POD_RUNTIME

Usage is calculated from pod runtime. The customer's usage is metered in a manner similar to the GKE Autopilot mode for pods without specific hardware requirements, priced on a per-pod basis in units of hours and measured in one-second increments, with no minimum duration.

A SKU using this usage calculation is referred to as "flat" because the customer's usage charge is independent of the pod shape apart from determining whether the SKU applies to the pod.

POD_RUNTIME = 1;

POD_RUNTIME_VALUE

Usage is calculated from pod runtime. The customer's usage is metered in a manner similar to the GKE Autopilot mode for pods without specific hardware requirements, priced on a per-pod basis in units of hours and measured in one-second increments, with no minimum duration.

A SKU using this usage calculation is referred to as "flat" because the customer's usage charge is independent of the pod shape apart from determining whether the SKU applies to the pod.

POD_RUNTIME = 1;

UNRECOGNIZED
USAGE_CALCULATION_UNSPECIFIED

Unused.

USAGE_CALCULATION_UNSPECIFIED = 0;

USAGE_CALCULATION_UNSPECIFIED_VALUE

Unused.

USAGE_CALCULATION_UNSPECIFIED = 0;

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()