Class: Google::Apis::MemcacheV1::LocationMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/memcache_v1/classes.rb,
lib/google/apis/memcache_v1/representations.rb,
lib/google/apis/memcache_v1/representations.rb

Overview

Metadata for the given google.cloud.location.Location.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LocationMetadata

Returns a new instance of LocationMetadata.



1053
1054
1055
# File 'lib/google/apis/memcache_v1/classes.rb', line 1053

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#available_zonesHash<String,Google::Apis::MemcacheV1::ZoneMetadata>

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 the zones field when creating a Memcached instance. Corresponds to the JSON property availableZones

Returns:



1051
1052
1053
# File 'lib/google/apis/memcache_v1/classes.rb', line 1051

def available_zones
  @available_zones
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1058
1059
1060
# File 'lib/google/apis/memcache_v1/classes.rb', line 1058

def update!(**args)
  @available_zones = args[:available_zones] if args.key?(:available_zones)
end