Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::CapacityHistoryRequest.
A request to get the capacity history.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#instance_properties
def instance_properties() -> ::Google::Cloud::Compute::V1::CapacityHistoryRequestInstanceProperties
Returns
- (::Google::Cloud::Compute::V1::CapacityHistoryRequestInstanceProperties) — Instance properties for this request.
#instance_properties=
def instance_properties=(value) -> ::Google::Cloud::Compute::V1::CapacityHistoryRequestInstanceProperties
Parameter
- value (::Google::Cloud::Compute::V1::CapacityHistoryRequestInstanceProperties) — Instance properties for this request.
Returns
- (::Google::Cloud::Compute::V1::CapacityHistoryRequestInstanceProperties) — Instance properties for this request.
#location_policy
def location_policy() -> ::Google::Cloud::Compute::V1::CapacityHistoryRequestLocationPolicy
Returns
- (::Google::Cloud::Compute::V1::CapacityHistoryRequestLocationPolicy) — Location policy for this request.
#location_policy=
def location_policy=(value) -> ::Google::Cloud::Compute::V1::CapacityHistoryRequestLocationPolicy
Parameter
- value (::Google::Cloud::Compute::V1::CapacityHistoryRequestLocationPolicy) — Location policy for this request.
Returns
- (::Google::Cloud::Compute::V1::CapacityHistoryRequestLocationPolicy) — Location policy for this request.
#types
def types() -> ::Array<::String>
Returns
- (::Array<::String>) — List of history types to get capacity history for. Check the Types enum for the list of possible values.
#types=
def types=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — List of history types to get capacity history for. Check the Types enum for the list of possible values.
Returns
- (::Array<::String>) — List of history types to get capacity history for. Check the Types enum for the list of possible values.