Reference documentation and code samples for the Google Cloud Capacity Planner V1beta Client class CapacityPlan.
A plan for additional capacity needed by a Google Cloud Platform project.
This is synonymous with CapacityDemand, CapacityRequest, and CapacityDemandRequest.
Generated from protobuf message google.cloud.capacityplanner.v1beta.CapacityPlan
Namespace
Google \ Cloud \ CapacityPlanner \ V1betaMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. The name of the capacity plan. Format: projects/{project}/capacityPlans/{capacity_plan_id}
↳ capacity_demand_metadata
↳ service_demands
↳ reporter
↳ state
int
Output only. State of the plan.
↳ create_time
↳ update_time
↳ description
string
Optional. Description of the plan.
↳ title
string
Optional. Title of the plan.
getName
Identifier. The name of the capacity plan.
Format: projects/{project}/capacityPlans/{capacity_plan_id}
string
setName
Identifier. The name of the capacity plan.
Format: projects/{project}/capacityPlans/{capacity_plan_id}
var
string
$this
getCapacityDemandMetadata
Optional. The metadata associated with a capacity demand.
hasCapacityDemandMetadata
clearCapacityDemandMetadata
setCapacityDemandMetadata
Optional. The metadata associated with a capacity demand.
$this
getServiceDemands
Required. The capacity demand associated with a service.
setServiceDemands
Required. The capacity demand associated with a service.
$this
getReporter
Output only. User who created the capacity plan.
hasReporter
clearReporter
setReporter
Output only. User who created the capacity plan.
$this
getState
Output only. State of the plan.
setState
Output only. State of the plan.
$this
getCreateTime
Output only. Timestamp when the plan was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. Timestamp when the plan was created.
$this
getUpdateTime
Output only. Timestamp when the plan was last updated.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. Timestamp when the plan was last updated.
$this
getDescription
Optional. Description of the plan.
string
setDescription
Optional. Description of the plan.
var
string
$this
getTitle
Optional. Title of the plan.
string
setTitle
Optional. Title of the plan.
var
string
$this

