Google Cloud AlloyDB for PostgreSQL V1alpha Client - Class MachineConfig (0.3.0)

Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1alpha Client class MachineConfig.

MachineConfig describes the configuration of a machine.

Generated from protobuf message google.cloud.alloydb.v1alpha.Instance.MachineConfig

Namespace

Google \ Cloud \ AlloyDb \ V1alpha \ Instance

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
int

setCpuCount

The number of CPU's in the VM instance.

Parameter
NameDescription
var int
Returns
TypeDescription
$this