Class: Google::Apis::RedisV1beta1::AofConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/redis_v1beta1/classes.rb,
lib/google/apis/redis_v1beta1/representations.rb,
lib/google/apis/redis_v1beta1/representations.rb

Overview

Configuration of the AOF based persistence.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AofConfig

Returns a new instance of AofConfig.



34
35
36
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 34

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#append_fsyncString

Optional. fsync configuration. Corresponds to the JSON property appendFsync

Returns:

  • (String)


32
33
34
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 32

def append_fsync
  @append_fsync
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



39
40
41
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 39

def update!(**args)
  @append_fsync = args[:append_fsync] if args.key?(:append_fsync)
end