Compute V1 Client - Class CalendarModeAdviceResponse (2.4.0)

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

A response containing the recommended way of creating the specified resources in the future. It contains (will contain) multiple recommendations that can be analyzed by the customer and the best one can be picked.

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ recommendations array<CalendarModeRecommendation>

Recommendations where, how and when to create the requested resources in order to maximize their obtainability and minimize cost.

getRecommendations

Recommendations where, how and when to create the requested resources in order to maximize their obtainability and minimize cost.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setRecommendations

Recommendations where, how and when to create the requested resources in order to maximize their obtainability and minimize cost.

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