Google Cloud Capacity Planner V1beta Client - Class DemandMetadata (0.1.0)

Reference documentation and code samples for the Google Cloud Capacity Planner V1beta Client class DemandMetadata.

The metadata associated with a capacity demand.

Generated from protobuf message google.cloud.capacityplanner.v1beta.DemandMetadata

Namespace

Google \ Cloud \ CapacityPlanner \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ demand_preferences array<DemandPreference>

Optional. The preferences associated with a capacity demand.

getDemandPreferences

Optional. The preferences associated with a capacity demand.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setDemandPreferences

Optional. The preferences associated with a capacity demand.

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