Reference documentation and code samples for the Google Cloud Capacity Planner V1beta Client class CapacityPlanFilters.
CapacityPlanFilters is a set of filters to apply to the capacity plan.
Generated from protobuf message google.cloud.capacityplanner.v1beta.CapacityPlanFilters
Namespace
Google \ Cloud \ CapacityPlanner \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ keys |
array<CapacityPlanKey>
Required. The capacity plan keys to include in the response. |
↳ capacity_types |
array
Required. The capacity types to include in the response. |
↳ capacity_plan_id |
string
Optional. Optional capacity plan id. Should be populated for request page to lock based on the same capacity plan. |
getKeys
Required. The capacity plan keys to include in the response.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setKeys
Required. The capacity plan keys to include in the response.
| Parameter | |
|---|---|
| Name | Description |
var |
array<CapacityPlanKey>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCapacityTypes
Required. The capacity types to include in the response.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setCapacityTypes
Required. The capacity types to include in the response.
| Parameter | |
|---|---|
| Name | Description |
var |
int[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCapacityPlanId
Optional. Optional capacity plan id. Should be populated for request page to lock based on the same capacity plan.
| Returns | |
|---|---|
| Type | Description |
string |
|
setCapacityPlanId
Optional. Optional capacity plan id. Should be populated for request page to lock based on the same capacity plan.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|