Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::CapacityAdviceResponseRecommendationScores.
Groups information about a shard of capacity.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#estimated_uptime
def estimated_uptime() -> ::String
Returns
- (::String) — The estimated run time of the majority of Spot VMs in the request before preemption. The estimate is best-effort only. It is based on historical data and current conditions.
#estimated_uptime=
def estimated_uptime=(value) -> ::String
Parameter
- value (::String) — The estimated run time of the majority of Spot VMs in the request before preemption. The estimate is best-effort only. It is based on historical data and current conditions.
Returns
- (::String) — The estimated run time of the majority of Spot VMs in the request before preemption. The estimate is best-effort only. It is based on historical data and current conditions.
#obtainability
def obtainability() -> ::Float
Returns
- (::Float) — The obtainability score indicates the likelihood of successfully obtaining (provisioning) the requested number of VMs. The score range is 0.0 through 1.0. Higher is better.
#obtainability=
def obtainability=(value) -> ::Float
Parameter
- value (::Float) — The obtainability score indicates the likelihood of successfully obtaining (provisioning) the requested number of VMs. The score range is 0.0 through 1.0. Higher is better.
Returns
- (::Float) — The obtainability score indicates the likelihood of successfully obtaining (provisioning) the requested number of VMs. The score range is 0.0 through 1.0. Higher is better.