Reference documentation and code samples for the Google Cloud Capacity Planner V1beta Client class QueryCapacityPlansResponse.
Response of querying capacity plans.
Generated from protobuf message google.cloud.capacityplanner.v1beta.QueryCapacityPlansResponse
Namespace
Google \ Cloud \ CapacityPlanner \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ capacity_plans |
array<CapacityPlan>
List of capacity plans. |
↳ next_page_token |
string
Token to retrieve the next page of results. This will be empty if there are no more pages. |
getCapacityPlans
List of capacity plans.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setCapacityPlans
List of capacity plans.
| Parameter | |
|---|---|
| Name | Description |
var |
array<CapacityPlan>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getNextPageToken
Token to retrieve the next page of results. This will be empty if there are no more pages.
| Returns | |
|---|---|
| Type | Description |
string |
|
setNextPageToken
Token to retrieve the next page of results. This will be empty if there are no more pages.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|