Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::CapacityHistoryResponse (v4.0.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::CapacityHistoryResponse.

Contains the capacity history.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#location

def location() -> ::String
Returns
  • (::String) — Output only. The location (region or zone) for which the capacity history is returned. It is returned as a URL - For example,https://www.googleapis.com/compute/v1/projects/project/zones/zone.

#location=

def location=(value) -> ::String
Parameter
  • value (::String) — Output only. The location (region or zone) for which the capacity history is returned. It is returned as a URL - For example,https://www.googleapis.com/compute/v1/projects/project/zones/zone.
Returns
  • (::String) — Output only. The location (region or zone) for which the capacity history is returned. It is returned as a URL - For example,https://www.googleapis.com/compute/v1/projects/project/zones/zone.

#machine_type

def machine_type() -> ::String
Returns
  • (::String) — The machine type for which the capacity history is returned.

#machine_type=

def machine_type=(value) -> ::String
Parameter
  • value (::String) — The machine type for which the capacity history is returned.
Returns
  • (::String) — The machine type for which the capacity history is returned.

#preemption_history

def preemption_history() -> ::Array<::Google::Cloud::Compute::V1::CapacityHistoryResponsePreemptionRecord>
Returns

#preemption_history=

def preemption_history=(value) -> ::Array<::Google::Cloud::Compute::V1::CapacityHistoryResponsePreemptionRecord>
Parameter
Returns

#price_history

def price_history() -> ::Array<::Google::Cloud::Compute::V1::CapacityHistoryResponsePriceRecord>
Returns

#price_history=

def price_history=(value) -> ::Array<::Google::Cloud::Compute::V1::CapacityHistoryResponsePriceRecord>
Parameter
Returns