Reference documentation and code samples for the Google Cloud Commerce Producer V1beta Client class SkuPrice.
The price of the SKU, active during a particular time range.
Prices are in all cases in USD. Customers are billed in the currency of their billing account, subject to the currency conversion rate in effect at the time.
Generated from protobuf message google.cloud.commerceproducer.v1beta.Sku.SkuPrice
Namespace
Google \ Cloud \ CommerceProducer \ V1beta \ SkuMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ inactive |
SkuPrice\InactiveSkuPrice
Output only. The SKU has been disabled and has no price. SKUs, once created and allowed to go into effect, are never deleted. Disabled SKUs may accumulate over the lifetime of a product as the product's pricing evolves, and are retained for historical reference. A SKU in this state generally remains in this state indefinitely, but may be reactivated if needed. Clients must not depend on inactive SKUs remaining inactive. |
↳ managed_service_metric_usage_fee |
SkuPrice\ManagedServiceMetricUsageFee
Output only. The SKU prices usage reported by the partner for a partner-defined custom billing metric. |
↳ gce_license_usage_fee |
SkuPrice\ComputeEngineLicenseUsageFee
Output only. The SKU prices usage of a Compute Engine License via a license fee applied to running instances that use the license. |
↳ gke_pod_usage_fee |
SkuPrice\KubernetesEnginePodUsageFee
Output only. The SKU prices usage of software deployed on Kubernetes Engine. |
↳ ai_platform_managed_model_usage_fee |
SkuPrice\AiPlatformManagedModelUsageFee
Output only. The SKU prices usage of an AI Platform Managed Model (MaaS). |
↳ ai_platform_provisioned_throughput_fee |
SkuPrice\AiPlatformProvisionedThroughputFee
Output only. The SKU prices reservation of AI Platform provisioned throughput. |
↳ ai_platform_deployed_model_usage_fee |
SkuPrice\AiPlatformDeployedModelUsageFee
Output only. The SKU prices usage of an AI model deployed on AI Platform. |
↳ flat_subscription_fee |
SkuPrice\FlatSubscriptionFee
Output only. The SKU applies a flat subscription fee. |
↳ effective_time |
Google\Protobuf\Timestamp
Output only. The start of the time interval during which this price is effective. |
getInactive
Output only. The SKU has been disabled and has no price.
SKUs, once created and allowed to go into effect, are never deleted. Disabled SKUs may accumulate over the lifetime of a product as the product's pricing evolves, and are retained for historical reference. A SKU in this state generally remains in this state indefinitely, but may be reactivated if needed. Clients must not depend on inactive SKUs remaining inactive.
| Returns | |
|---|---|
| Type | Description |
SkuPrice\InactiveSkuPrice|null |
|
hasInactive
setInactive
Output only. The SKU has been disabled and has no price.
SKUs, once created and allowed to go into effect, are never deleted. Disabled SKUs may accumulate over the lifetime of a product as the product's pricing evolves, and are retained for historical reference. A SKU in this state generally remains in this state indefinitely, but may be reactivated if needed. Clients must not depend on inactive SKUs remaining inactive.
| Parameter | |
|---|---|
| Name | Description |
var |
SkuPrice\InactiveSkuPrice
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getManagedServiceMetricUsageFee
Output only. The SKU prices usage reported by the partner for a partner-defined custom billing metric.
| Returns | |
|---|---|
| Type | Description |
SkuPrice\ManagedServiceMetricUsageFee|null |
|
hasManagedServiceMetricUsageFee
setManagedServiceMetricUsageFee
Output only. The SKU prices usage reported by the partner for a partner-defined custom billing metric.
| Parameter | |
|---|---|
| Name | Description |
var |
SkuPrice\ManagedServiceMetricUsageFee
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getGceLicenseUsageFee
Output only. The SKU prices usage of a Compute Engine License via a license fee applied to running instances that use the license.
| Returns | |
|---|---|
| Type | Description |
SkuPrice\ComputeEngineLicenseUsageFee|null |
|
hasGceLicenseUsageFee
setGceLicenseUsageFee
Output only. The SKU prices usage of a Compute Engine License via a license fee applied to running instances that use the license.
| Parameter | |
|---|---|
| Name | Description |
var |
SkuPrice\ComputeEngineLicenseUsageFee
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getGkePodUsageFee
Output only. The SKU prices usage of software deployed on Kubernetes Engine.
| Returns | |
|---|---|
| Type | Description |
SkuPrice\KubernetesEnginePodUsageFee|null |
|
hasGkePodUsageFee
setGkePodUsageFee
Output only. The SKU prices usage of software deployed on Kubernetes Engine.
| Parameter | |
|---|---|
| Name | Description |
var |
SkuPrice\KubernetesEnginePodUsageFee
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAiPlatformManagedModelUsageFee
Output only. The SKU prices usage of an AI Platform Managed Model (MaaS).
| Returns | |
|---|---|
| Type | Description |
SkuPrice\AiPlatformManagedModelUsageFee|null |
|
hasAiPlatformManagedModelUsageFee
setAiPlatformManagedModelUsageFee
Output only. The SKU prices usage of an AI Platform Managed Model (MaaS).
| Parameter | |
|---|---|
| Name | Description |
var |
SkuPrice\AiPlatformManagedModelUsageFee
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAiPlatformProvisionedThroughputFee
Output only. The SKU prices reservation of AI Platform provisioned throughput.
| Returns | |
|---|---|
| Type | Description |
SkuPrice\AiPlatformProvisionedThroughputFee|null |
|
hasAiPlatformProvisionedThroughputFee
setAiPlatformProvisionedThroughputFee
Output only. The SKU prices reservation of AI Platform provisioned throughput.
| Parameter | |
|---|---|
| Name | Description |
var |
SkuPrice\AiPlatformProvisionedThroughputFee
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAiPlatformDeployedModelUsageFee
Output only. The SKU prices usage of an AI model deployed on AI Platform.
| Returns | |
|---|---|
| Type | Description |
SkuPrice\AiPlatformDeployedModelUsageFee|null |
|
hasAiPlatformDeployedModelUsageFee
setAiPlatformDeployedModelUsageFee
Output only. The SKU prices usage of an AI model deployed on AI Platform.
| Parameter | |
|---|---|
| Name | Description |
var |
SkuPrice\AiPlatformDeployedModelUsageFee
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getFlatSubscriptionFee
Output only. The SKU applies a flat subscription fee.
| Returns | |
|---|---|
| Type | Description |
SkuPrice\FlatSubscriptionFee|null |
|
hasFlatSubscriptionFee
setFlatSubscriptionFee
Output only. The SKU applies a flat subscription fee.
| Parameter | |
|---|---|
| Name | Description |
var |
SkuPrice\FlatSubscriptionFee
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEffectiveTime
Output only. The start of the time interval during which this price is effective.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasEffectiveTime
clearEffectiveTime
setEffectiveTime
Output only. The start of the time interval during which this price is effective.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSkuType
| Returns | |
|---|---|
| Type | Description |
string |
|