Reference documentation and code samples for the Compute V1 Client class FutureReservationSpecificSKUProperties.
Generated from protobuf message google.cloud.compute.v1.FutureReservationSpecificSKUProperties
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ instance_properties |
AllocationSpecificSKUAllocationReservedInstanceProperties
Properties of the SKU instances being reserved. |
↳ source_instance_template |
string
The instance template that will be used to populate the ReservedInstanceProperties of the future reservation |
↳ 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 |
AllocationSpecificSKUAllocationReservedInstanceProperties|null |
|
hasInstanceProperties
clearInstanceProperties
setInstanceProperties
Properties of the SKU instances being reserved.
| Parameter | |
|---|---|
| Name | Description |
var |
AllocationSpecificSKUAllocationReservedInstanceProperties
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSourceInstanceTemplate
The instance template that will be used to populate the ReservedInstanceProperties of the future reservation
| Returns | |
|---|---|
| Type | Description |
string |
|
hasSourceInstanceTemplate
clearSourceInstanceTemplate
setSourceInstanceTemplate
The instance template that will be used to populate the ReservedInstanceProperties of the future reservation
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| 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 |
|
hasTotalCount
clearTotalCount
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 |
|