Class: Google::Cloud::ManagedKafka::V1::CapacityConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/managedkafka/v1/resources.rb

Overview

A capacity configuration of a Kafka cluster.

Instance Attribute Summary collapse

Instance Attribute Details

#memory_bytes::Integer

Returns 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).



95
96
97
98
# File 'proto_docs/google/cloud/managedkafka/v1/resources.rb', line 95

class CapacityConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#vcpu_count::Integer

Returns 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.



95
96
97
98
# File 'proto_docs/google/cloud/managedkafka/v1/resources.rb', line 95

class CapacityConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end