Class: Google::Apis::RedisV1::FailoverInstanceRequest
- Inherits:
-
Object
- Object
- Google::Apis::RedisV1::FailoverInstanceRequest
- 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
Request for Failover.
Instance Attribute Summary collapse
-
#data_protection_mode ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FailoverInstanceRequest
constructor
A new instance of FailoverInstanceRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ FailoverInstanceRequest
Returns a new instance of FailoverInstanceRequest.
1184 1185 1186 |
# File 'lib/google/apis/redis_v1/classes.rb', line 1184 def initialize(**args) update!(**args) end |
Instance Attribute Details
#data_protection_mode ⇒ String
Optional. Available data protection modes that the user can choose. If it's
unspecified, data protection mode will be LIMITED_DATA_LOSS by default.
Corresponds to the JSON property dataProtectionMode
1182 1183 1184 |
# File 'lib/google/apis/redis_v1/classes.rb', line 1182 def data_protection_mode @data_protection_mode end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1189 1190 1191 |
# File 'lib/google/apis/redis_v1/classes.rb', line 1189 def update!(**args) @data_protection_mode = args[:data_protection_mode] if args.key?(:data_protection_mode) end |