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 \ V1betaMethods
__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 |
|