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

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

MachineConfig describes the configuration of a machine.

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

Namespace

Google \ Cloud \ AlloyDb \ V1beta \ 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