public sealed class Sku.Types.SkuPrice.Types.ComputeEngineLicenseUsageFee : IMessage<Sku.Types.SkuPrice.Types.ComputeEngineLicenseUsageFee>, IEquatable<Sku.Types.SkuPrice.Types.ComputeEngineLicenseUsageFee>, IDeepCloneable<Sku.Types.SkuPrice.Types.ComputeEngineLicenseUsageFee>, IBufferMessage, IMessageReference documentation and code samples for the Cloud Commerce Producer v1beta API class Sku.Types.SkuPrice.Types.ComputeEngineLicenseUsageFee.
Details about a SKU pricing usage of a Compute Engine License.
The SKU applies to a single license, and may be further scoped to a Compute Engine VM Instance machine resource type (e.g. "vCPU") and size range for that machine resource. Instances deployed from Compute Engine Images incorporating the target license and (if applicable) matching the machine resource type size range will be charged by the SKU. A single license may be priced by multiple SKUs covering different combinations of machine resource type and size range, allowing a single running instance to be charged by up to one SKU per machine resource type, with pricing tiered according to machine shape.
Implements
IMessageSkuTypesSkuPriceTypesComputeEngineLicenseUsageFee, IEquatableSkuTypesSkuPriceTypesComputeEngineLicenseUsageFee, IDeepCloneableSkuTypesSkuPriceTypesComputeEngineLicenseUsageFee, IBufferMessage, IMessageNamespace
Google.Cloud.CommerceProducer.V1BetaAssembly
Google.Cloud.CommerceProducer.V1Beta.dll
Constructors
ComputeEngineLicenseUsageFee()
public ComputeEngineLicenseUsageFee()ComputeEngineLicenseUsageFee(ComputeEngineLicenseUsageFee)
public ComputeEngineLicenseUsageFee(Sku.Types.SkuPrice.Types.ComputeEngineLicenseUsageFee other)| Parameter | |
|---|---|
| Name | Description |
other |
SkuTypesSkuPriceTypesComputeEngineLicenseUsageFee |
Properties
LicenseCode
public string LicenseCode { get; set; }Output only. The license code of the target Compute Engine License. Note that this is the numeric license code itself in uint64 format used to reference licenses attached to images, not the resource name of the related Compute Engine LicenseCode resource.
Example: "1234567890123456789"
| Property Value | |
|---|---|
| Type | Description |
string |
|
MachineResource
public Sku.Types.SkuPrice.Types.ComputeEngineLicenseUsageFee.Types.MachineResource MachineResource { get; set; }Output only. The machine resource type that the SKU applies to, if any. SKUs with a non-default value are referred to as "resource-based" SKUs.
| Property Value | |
|---|---|
| Type | Description |
SkuTypesSkuPriceTypesComputeEngineLicenseUsageFeeTypesMachineResource |
|
MachineResourceRange
public Sku.Types.SkuPrice.Types.ComputeEngineLicenseUsageFee.Types.MachineResourceRange MachineResourceRange { get; set; }Output only. The range of machine resource values that the SKU applies to. Unset when the SKU is not scoped to a particular machine resource type. The collection of SKUs in effect at any given time targeting the same license and machine resource type will cover all possible values for that machine resource type without overlap. Such a collection of SKUs form a "tiered" price structure over the possible values of the machine resource, with each SKU acting as a "tier".
NOTE: This is distinct from a SKU with tiered pricing.
| Property Value | |
|---|---|
| Type | Description |
SkuTypesSkuPriceTypesComputeEngineLicenseUsageFeeTypesMachineResourceRange |
|
PricePerUnit
public Money PricePerUnit { get; set; }The price per unit of usage. The customer's usage charge is computed by measuring the customer's consumption denominated in price units and multiplying by this price.
| Property Value | |
|---|---|
| Type | Description |
Money |
|
PriceStructureCase
public Sku.Types.SkuPrice.Types.ComputeEngineLicenseUsageFee.PriceStructureOneofCase PriceStructureCase { get; }| Property Value | |
|---|---|
| Type | Description |
SkuTypesSkuPriceTypesComputeEngineLicenseUsageFeePriceStructureOneofCase |
|
Unit
public string Unit { get; set; }Output only. The price unit of the SKU. See https://ucum.org/ucum.html for the format of the price unit. For linear-priced memory SKUs, the price unit is 'GiBy.h'. For all other SKUs, the price unit is 'h'. This includes linear-priced vCPU and GPU SKUs because these resources have unitless dimensions and the application of these scaling factors does not change the price unit.
| Property Value | |
|---|---|
| Type | Description |
string |
|
UsageCalculation
public Sku.Types.SkuPrice.Types.ComputeEngineLicenseUsageFee.Types.UsageCalculation UsageCalculation { get; set; }Output only. Determines how the customer's usage is calculated.
| Property Value | |
|---|---|
| Type | Description |
SkuTypesSkuPriceTypesComputeEngineLicenseUsageFeeTypesUsageCalculation |
|