Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::CapacityAdviceResponseRecommendation.
Recommendation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#scores
def scores() -> ::Google::Cloud::Compute::V1::CapacityAdviceResponseRecommendationScores
Returns
- (::Google::Cloud::Compute::V1::CapacityAdviceResponseRecommendationScores) — Scores for the recommendation.
#scores=
def scores=(value) -> ::Google::Cloud::Compute::V1::CapacityAdviceResponseRecommendationScores
Parameter
- value (::Google::Cloud::Compute::V1::CapacityAdviceResponseRecommendationScores) — Scores for the recommendation.
Returns
- (::Google::Cloud::Compute::V1::CapacityAdviceResponseRecommendationScores) — Scores for the recommendation.
#shards
def shards() -> ::Array<::Google::Cloud::Compute::V1::CapacityAdviceResponseRecommendationShard>
Returns
- (::Array<::Google::Cloud::Compute::V1::CapacityAdviceResponseRecommendationShard>) — Shards represent blocks of uniform capacity in recommendations.
#shards=
def shards=(value) -> ::Array<::Google::Cloud::Compute::V1::CapacityAdviceResponseRecommendationShard>
Parameter
- value (::Array<::Google::Cloud::Compute::V1::CapacityAdviceResponseRecommendationShard>) — Shards represent blocks of uniform capacity in recommendations.
Returns
- (::Array<::Google::Cloud::Compute::V1::CapacityAdviceResponseRecommendationShard>) — Shards represent blocks of uniform capacity in recommendations.