Class: Google::Apis::RedisV1::ZoneConfiguration

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#zoneString

Corresponds to the JSON property zone

Returns:

  • (String)


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