Class: Google::Apis::MemcacheV1beta2::LocationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::MemcacheV1beta2::LocationMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/memcache_v1beta2/classes.rb,
lib/google/apis/memcache_v1beta2/representations.rb,
lib/google/apis/memcache_v1beta2/representations.rb
Overview
Metadata for the given google.cloud.location.Location.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(**args) ⇒ LocationMetadata
constructor
A new instance of LocationMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LocationMetadata
Returns a new instance of LocationMetadata.
1091 1092 1093 |
# File 'lib/google/apis/memcache_v1beta2/classes.rb', line 1091 def initialize(**args) update!(**args) end |
Instance Attribute Details
#available_zones ⇒ Hash<String,Google::Apis::MemcacheV1beta2::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
1089 1090 1091 |
# File 'lib/google/apis/memcache_v1beta2/classes.rb', line 1089 def available_zones @available_zones end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1096 1097 1098 |
# File 'lib/google/apis/memcache_v1beta2/classes.rb', line 1096 def update!(**args) @available_zones = args[:available_zones] if args.key?(:available_zones) end |