Managed Service for Apache Kafka V1 API - Class Google::Cloud::ManagedKafka::V1::CapacityConfig (v0.2.0)

Reference documentation and code samples for the Managed Service for Apache Kafka V1 API class Google::Cloud::ManagedKafka::V1::CapacityConfig.

A capacity configuration of a Kafka cluster.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#memory_bytes

def memory_bytes() -> ::Integer
Returns
  • (::Integer) — 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).

#memory_bytes=

def memory_bytes=(value) -> ::Integer
Parameter
  • value (::Integer) — 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).
Returns
  • (::Integer) — 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).

#vcpu_count

def vcpu_count() -> ::Integer
Returns
  • (::Integer) — Required. The number of vCPUs to provision for the cluster. Minimum: 3.

#vcpu_count=

def vcpu_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Required. The number of vCPUs to provision for the cluster. Minimum: 3.
Returns
  • (::Integer) — Required. The number of vCPUs to provision for the cluster. Minimum: 3.