Compute V1 Client - Class CapacityAdviceResponse (2.14.1)

Reference documentation and code samples for the Compute V1 Client class CapacityAdviceResponse.

A response contains scoring recommendations.

Generated from protobuf message google.cloud.compute.v1.CapacityAdviceResponse

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ recommendations array<CapacityAdviceResponseRecommendation>

Initially the API will provide one recommendation which balances the individual scores according to the service provider's preference.

getRecommendations

Initially the API will provide one recommendation which balances the individual scores according to the service provider's preference.

Returns
Type Description
Google\Protobuf\RepeatedField<CapacityAdviceResponseRecommendation>

setRecommendations

Initially the API will provide one recommendation which balances the individual scores according to the service provider's preference.

Parameter
Name Description
var array<CapacityAdviceResponseRecommendation>
Returns
Type Description
$this