Reference documentation and code samples for the Google Cloud Capacity Planner V1beta Client class CapacityPlanKey.
CapacityPlanKey is a the unique identifier for each Capacity Plan.
Generated from protobuf message google.cloud.capacityplanner.v1beta.CapacityPlanKey
Namespace
Google \ Cloud \ CapacityPlanner \ V1betaMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ resource_container |
ResourceContainer
Required. The resource container associated with the capacity plan. |
↳ resource_id_key |
ResourceIdKey
Required. The resource id key associated with the capacity plan. |
↳ location_id |
LocationIdentifier
Required. Identifier of location. |
getResourceContainer
Required. The resource container associated with the capacity plan.
| Returns | |
|---|---|
| Type | Description |
ResourceContainer|null |
|
hasResourceContainer
clearResourceContainer
setResourceContainer
Required. The resource container associated with the capacity plan.
| Parameter | |
|---|---|
| Name | Description |
var |
ResourceContainer
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getResourceIdKey
Required. The resource id key associated with the capacity plan.
| Returns | |
|---|---|
| Type | Description |
ResourceIdKey|null |
|
hasResourceIdKey
clearResourceIdKey
setResourceIdKey
Required. The resource id key associated with the capacity plan.
| Parameter | |
|---|---|
| Name | Description |
var |
ResourceIdKey
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLocationId
Required. Identifier of location.
| Returns | |
|---|---|
| Type | Description |
LocationIdentifier|null |
|
hasLocationId
clearLocationId
setLocationId
Required. Identifier of location.
| Parameter | |
|---|---|
| Name | Description |
var |
LocationIdentifier
|
| Returns | |
|---|---|
| Type | Description |
$this |
|