Reference documentation and code samples for the Compute V1 Client class CapacityHistoryRequestInstanceProperties.
Instance properties for this request.
Generated from protobuf message google.cloud.compute.v1.CapacityHistoryRequestInstanceProperties
Namespace
Google \ Cloud \ Compute \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ machine_type |
string
The machine type for the VM, such as |
↳ scheduling |
CapacityHistoryRequestInstancePropertiesScheduling
Specifies the scheduling options. |
getMachineType
The machine type for the VM, such as n2-standard-4.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasMachineType
clearMachineType
setMachineType
The machine type for the VM, such as n2-standard-4.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getScheduling
Specifies the scheduling options.
| Returns | |
|---|---|
| Type | Description |
CapacityHistoryRequestInstancePropertiesScheduling|null |
|
hasScheduling
clearScheduling
setScheduling
Specifies the scheduling options.
| Parameter | |
|---|---|
| Name | Description |
var |
CapacityHistoryRequestInstancePropertiesScheduling
|
| Returns | |
|---|---|
| Type | Description |
$this |
|