class Google::Apis::RedisV1beta1::GoogleCloudRedisV1beta1LocationMetadata

This location metadata represents additional configuration options for a given location where a Redis instance may be created. All fields are output only. It is returned as content of the `google.cloud.location.Location.metadata` field.

Attributes

available_zones[RW]

Output only. The set of available zones in the location. The map is keyed by the lowercase ID of each zone, as defined by GCE. These keys can be specified in `location_id` or `alternative_location_id` fields when creating a Redis instance. Corresponds to the JSON property `availableZones` @return [Hash<String,Google::Apis::RedisV1beta1::GoogleCloudRedisV1beta1ZoneMetadata>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/redis_v1beta1/classes.rb, line 193
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/redis_v1beta1/classes.rb, line 198
def update!(**args)
  @available_zones = args[:available_zones] if args.key?(:available_zones)
end