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.
data
array
Optional. Data for populating the Message object.
↳ cpu_count
int
The number of CPU's in the VM instance.
↳ machine_type
string
Machine type of the VM instance. E.g. "n2-highmem-4", "n2-highmem-8", "c4a-highmem-4-lssd". cpu_count must match the number of vCPUs in the machine type.
getCpuCount
The number of CPU's in the VM instance.
int
setCpuCount
The number of CPU's in the VM instance.
var
int
$this
getMachineType
Machine type of the VM instance. E.g. "n2-highmem-4", "n2-highmem-8", "c4a-highmem-4-lssd".
cpu_count must match the number of vCPUs in the machine type.
string
setMachineType
Machine type of the VM instance. E.g. "n2-highmem-4", "n2-highmem-8", "c4a-highmem-4-lssd".
cpu_count must match the number of vCPUs in the machine type.
var
string
$this

