Class: Google::Apis::RedisV1::ZoneConfiguration
- Inherits:
-
Object
- Object
- Google::Apis::RedisV1::ZoneConfiguration
- 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
Instance Attribute Summary collapse
-
#zone ⇒ String
Corresponds to the JSON property
zone
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ZoneConfiguration
constructor
A new instance of ZoneConfiguration.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ZoneConfiguration
Returns a new instance of ZoneConfiguration.
3303 3304 3305 |
# File 'lib/google/apis/redis_v1/classes.rb', line 3303 def initialize(**args) update!(**args) end |
Instance Attribute Details
#zone ⇒ String
Corresponds to the JSON property zone
3301 3302 3303 |
# File 'lib/google/apis/redis_v1/classes.rb', line 3301 def zone @zone end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3308 3309 3310 |
# File 'lib/google/apis/redis_v1/classes.rb', line 3308 def update!(**args) @zone = args[:zone] if args.key?(:zone) end |