Compute V1 Client - Class CalendarModeAdviceRequest (2.4.0)

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

A request to recommend the best way to consume the specified resources in the future.

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ future_resources_specs array|Google\Protobuf\Internal\MapField

Specification of resources to create in the future. The key of the map is an arbitrary string specified by the caller. Value of the map is a specification of required resources and their constraints. Currently only one value is allowed in this map.

getFutureResourcesSpecs

Specification of resources to create in the future.

The key of the map is an arbitrary string specified by the caller. Value of the map is a specification of required resources and their constraints. Currently only one value is allowed in this map.

Returns
Type Description
Google\Protobuf\Internal\MapField

setFutureResourcesSpecs

Specification of resources to create in the future.

The key of the map is an arbitrary string specified by the caller. Value of the map is a specification of required resources and their constraints. Currently only one value is allowed in this map.

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