Reference documentation and code samples for the Compute V1 Client class CapacityHistoryResponsePriceRecord.
A record of price history.
Generated from protobuf message google.cloud.compute.v1.CapacityHistoryResponsePriceRecord
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ interval |
Interval
The time interval for this price record. |
↳ list_price |
Money
The Spot VM list price during the interval. |
getInterval
The time interval for this price record.
| Returns | |
|---|---|
| Type | Description |
Interval|null |
|
hasInterval
clearInterval
setInterval
The time interval for this price record.
| Parameter | |
|---|---|
| Name | Description |
var |
Interval
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getListPrice
The Spot VM list price during the interval.
| Returns | |
|---|---|
| Type | Description |
Money|null |
|
hasListPrice
clearListPrice
setListPrice
The Spot VM list price during the interval.
| Parameter | |
|---|---|
| Name | Description |
var |
Money
|
| Returns | |
|---|---|
| Type | Description |
$this |
|