Reference documentation and code samples for the Google Cloud Managed Kafka V1 Client class CapacityConfig.
A capacity configuration of a Kafka cluster.
Generated from protobuf message google.cloud.managedkafka.v1.CapacityConfig
Namespace
Google \ Cloud \ ManagedKafka \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ vcpu_count
int|string
Required. The number of vCPUs to provision for the cluster. Minimum: 3.
↳ memory_bytes
int|string
Required. The memory to provision for the cluster in bytes. The CPU:memory ratio (vCPU:GiB) must be between 1:1 and 1:8. Minimum: 3221225472 (3 GiB).
getVcpuCount
Required. The number of vCPUs to provision for the cluster. Minimum: 3.
int|string
setVcpuCount
Required. The number of vCPUs to provision for the cluster. Minimum: 3.
var
int|string
$this
getMemoryBytes
Required. The memory to provision for the cluster in bytes.
The CPU:memory ratio (vCPU:GiB) must be between 1:1 and 1:8. Minimum: 3221225472 (3 GiB).
int|string
setMemoryBytes
Required. The memory to provision for the cluster in bytes.
The CPU:memory ratio (vCPU:GiB) must be between 1:1 and 1:8. Minimum: 3221225472 (3 GiB).
var
int|string
$this