Google Cloud Memorystore for Memcached API - Class Google::Cloud::Memcache::V1beta2::Instance::NodeConfig (v0.9.1)

Reference documentation and code samples for the Google Cloud Memorystore for Memcached API class Google::Cloud::Memcache::V1beta2::Instance::NodeConfig.

Configuration for a Memcached Node.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#cpu_count

def cpu_count() -> ::Integer
Returns
  • (::Integer) — Required. Number of cpus per Memcached node.

#cpu_count=

def cpu_count=(value) -> ::Integer
Parameter
  • value (::Integer) — Required. Number of cpus per Memcached node.
Returns
  • (::Integer) — Required. Number of cpus per Memcached node.

#memory_size_mb

def memory_size_mb() -> ::Integer
Returns
  • (::Integer) — Required. Memory size in MiB for each Memcached node.

#memory_size_mb=

def memory_size_mb=(value) -> ::Integer
Parameter
  • value (::Integer) — Required. Memory size in MiB for each Memcached node.
Returns
  • (::Integer) — Required. Memory size in MiB for each Memcached node.