Class: Google::Apis::RedisV1::AofConfig
- Inherits:
-
Object
- Object
- Google::Apis::RedisV1::AofConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/redis_v1/classes.rb,
lib/google/apis/redis_v1/representations.rb,
lib/google/apis/redis_v1/representations.rb
Overview
Configuration of the AOF based persistence.
Instance Attribute Summary collapse
-
#append_fsync ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AofConfig
constructor
A new instance of AofConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AofConfig
Returns a new instance of AofConfig.
34 35 36 |
# File 'lib/google/apis/redis_v1/classes.rb', line 34 def initialize(**args) update!(**args) end |
Instance Attribute Details
#append_fsync ⇒ String
Optional. fsync configuration.
Corresponds to the JSON property appendFsync
32 33 34 |
# File 'lib/google/apis/redis_v1/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_v1/classes.rb', line 39 def update!(**args) @append_fsync = args[:append_fsync] if args.key?(:append_fsync) end |