class Google::Apis::MemcacheV1::NodeConfig

Configuration for a Memcached Node.

Attributes

cpu_count[RW]

Required. Number of cpus per Memcached node. Corresponds to the JSON property `cpuCount` @return [Fixnum]

memory_size_mb[RW]

Required. Memory size in MiB for each Memcached node. Corresponds to the JSON property `memorySizeMb` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/memcache_v1/classes.rb, line 1160
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/memcache_v1/classes.rb, line 1165
def update!(**args)
  @cpu_count = args[:cpu_count] if args.key?(:cpu_count)
  @memory_size_mb = args[:memory_size_mb] if args.key?(:memory_size_mb)
end