Reference documentation and code samples for the Google Cloud Commerce Producer V1beta Client class CacheWriteInputTokensMetric.
Input tokens written to the cache.
The unit for this metric is dimensionless.
Generated from protobuf message google.cloud.commerceproducer.v1beta.Sku.SkuPrice.AiPlatformManagedModelUsageFee.AiPlatformManagedModelUsageMetric.CacheWriteInputTokensMetric
Namespace
Google \ Cloud \ CommerceProducer \ V1beta \ Sku \ SkuPrice \ AiPlatformManagedModelUsageFee \ AiPlatformManagedModelUsageMetricMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ ttl |
Google\Protobuf\Duration
Output only. The duration the write is retained in the cache. |
getTtl
Output only. The duration the write is retained in the cache.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Duration|null |
|
hasTtl
clearTtl
setTtl
Output only. The duration the write is retained in the cache.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Duration
|
| Returns | |
|---|---|
| Type | Description |
$this |
|