Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1 Client class MachineConfig.
MachineConfig describes the configuration of a machine.
Generated from protobuf message google.cloud.alloydb.v1.Instance.MachineConfig
Namespace
Google \ Cloud \ AlloyDb \ V1 \ InstanceMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ cpu_count |
int
The number of CPU's in the VM instance. |
getCpuCount
The number of CPU's in the VM instance.
Returns | |
---|---|
Type | Description |
int |
setCpuCount
The number of CPU's in the VM instance.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |