Compute V1 Client - Class CalendarModeRecommendation (2.4.0)

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

A single recommendation to create requested resources. Contains detailed recommendations for every future resources specification specified in CalendarModeAdviceRequest.

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ recommendations_per_spec array|Google\Protobuf\Internal\MapField

Recommendations for every future resource specification passed in CalendarModeAdviceRequest. Keys of the map correspond to keys specified in the request.

getRecommendationsPerSpec

Recommendations for every future resource specification passed in CalendarModeAdviceRequest. Keys of the map correspond to keys specified in the request.

Returns
Type Description
Google\Protobuf\Internal\MapField

setRecommendationsPerSpec

Recommendations for every future resource specification passed in CalendarModeAdviceRequest. Keys of the map correspond to keys specified in the request.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this