Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::CapacityHistoryResponsePriceRecord.
A record of price history.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#interval
def interval() -> ::Google::Cloud::Compute::V1::Interval
Returns
- (::Google::Cloud::Compute::V1::Interval) — The time interval for this price record.
#interval=
def interval=(value) -> ::Google::Cloud::Compute::V1::Interval
Parameter
- value (::Google::Cloud::Compute::V1::Interval) — The time interval for this price record.
Returns
- (::Google::Cloud::Compute::V1::Interval) — The time interval for this price record.
#list_price
def list_price() -> ::Google::Cloud::Compute::V1::Money
Returns
- (::Google::Cloud::Compute::V1::Money) — The Spot VM list price during the interval.
#list_price=
def list_price=(value) -> ::Google::Cloud::Compute::V1::Money
Parameter
- value (::Google::Cloud::Compute::V1::Money) — The Spot VM list price during the interval.
Returns
- (::Google::Cloud::Compute::V1::Money) — The Spot VM list price during the interval.