public enum Sku.SkuPrice.ComputeEngineLicenseUsageFee.UsageCalculation extends Enum<Sku.SkuPrice.ComputeEngineLicenseUsageFee.UsageCalculation> implements ProtocolMessageEnumDetermines how the customer's usage is calculated.
Protobuf enum
google.cloud.commerceproducer.v1beta.Sku.SkuPrice.ComputeEngineLicenseUsageFee.UsageCalculation
Implements
ProtocolMessageEnumStatic Fields |
|
|---|---|
| Name | Description |
INSTANCE_RUNTIME |
Usage is calculated from instance runtime. The customer's usage is metered according to the Compute Engine VM instance pricing model, measured on a per-instance basis in units of hours, with a minimum duration of one minute and an increment of one second. A SKU using this usage calculation is referred to as "flat" because the customer's usage charge is independent of the instance's machine resource shape apart from determining whether the SKU applies to the instance. |
INSTANCE_RUNTIME_VALUE |
Usage is calculated from instance runtime. The customer's usage is metered according to the Compute Engine VM instance pricing model, measured on a per-instance basis in units of hours, with a minimum duration of one minute and an increment of one second. A SKU using this usage calculation is referred to as "flat" because the customer's usage charge is independent of the instance's machine resource shape apart from determining whether the SKU applies to the instance. |
LINEAR_RESOURCE_SCALED_INSTANCE_RUNTIME |
Usage is calculated from instance runtime and size.
This calculation mode is only applicable to resource-based SKUs.
Usage is calculated by measuring the instance runtime in the same
manner as for A SKU using this usage calculation is referred to as "linear" because the customer's usage charge is linearly proportional to the instance's machine resource value. |
LINEAR_RESOURCE_SCALED_INSTANCE_RUNTIME_VALUE |
Usage is calculated from instance runtime and size.
This calculation mode is only applicable to resource-based SKUs.
Usage is calculated by measuring the instance runtime in the same
manner as for A SKU using this usage calculation is referred to as "linear" because the customer's usage charge is linearly proportional to the instance's machine resource value. |
UNRECOGNIZED |
|
USAGE_CALCULATION_UNSPECIFIED |
Unused. |
USAGE_CALCULATION_UNSPECIFIED_VALUE |
Unused. |
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() |
|