Reference documentation and code samples for the Google Cloud Capacity Planner V1beta Client class GetCapacityPlanRequest.
Request for getting a capacity plan.
Generated from protobuf message google.cloud.capacityplanner.v1beta.GetCapacityPlanRequest
Namespace
Google \ Cloud \ CapacityPlanner \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. The name of the capacity plan to retrieve. Format: projects/{project}/capacityPlans/{capacity_plan} |
getName
Required. The name of the capacity plan to retrieve.
Format: projects/{project}/capacityPlans/{capacity_plan}
| Returns | |
|---|---|
| Type | Description |
string |
|
setName
Required. The name of the capacity plan to retrieve.
Format: projects/{project}/capacityPlans/{capacity_plan}
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
static::build
| Parameter | |
|---|---|
| Name | Description |
name |
string
Required. The name of the capacity plan to retrieve. Format: projects/{project}/capacityPlans/{capacity_plan} Please see CapacityPlanningServiceClient::capacityPlanName() for help formatting this field. |
| Returns | |
|---|---|
| Type | Description |
GetCapacityPlanRequest |
|