Google Cloud Memorystore for Memcached V1 API - Class Google::Cloud::Memcache::V1::Instance::NodeConfig (v1.2.0)

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

Configuration for a Memcached Node.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#cpu_count

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

#cpu_count=

defcpu_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

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

#memory_size_mb=

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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.