Reference documentation and code samples for the Google Cloud Capacity Planner V1beta Client class SpecificSKUProperties.
Represents specific SKU properties for the Future Reservation.
Generated from protobuf message google.cloud.capacityplanner.v1beta.FutureReservation.SpecificSKUProperties
Namespace
Google \ Cloud \ CapacityPlanner \ V1beta \ FutureReservationMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ instance_properties |
Google\Cloud\CapacityPlanner\V1beta\Allocation\SpecificSKUAllocation\AllocatedInstanceProperties
Properties of the SKU instances being reserved. |
↳ total_count |
int|string
Total number of instances for which capacity assurance is requested at a future time period. |
getInstanceProperties
Properties of the SKU instances being reserved.
| Returns | |
|---|---|
| Type | Description |
Google\Cloud\CapacityPlanner\V1beta\Allocation\SpecificSKUAllocation\AllocatedInstanceProperties|null |
|
hasInstanceProperties
clearInstanceProperties
setInstanceProperties
Properties of the SKU instances being reserved.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Cloud\CapacityPlanner\V1beta\Allocation\SpecificSKUAllocation\AllocatedInstanceProperties
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTotalCount
Total number of instances for which capacity assurance is requested at a future time period.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
setTotalCount
Total number of instances for which capacity assurance is requested at a future time period.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|