Class: Google::Apis::MemcacheV1::GoogleCloudMemcacheV1LocationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::MemcacheV1::GoogleCloudMemcacheV1LocationMetadata
- 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
-
#available_zones ⇒ Hash<String,Google::Apis::MemcacheV1::GoogleCloudMemcacheV1ZoneMetadata>
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudMemcacheV1LocationMetadata
constructor
A new instance of GoogleCloudMemcacheV1LocationMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudMemcacheV1LocationMetadata
Returns a new instance of GoogleCloudMemcacheV1LocationMetadata.
209 210 211 |
# File 'lib/google/apis/memcache_v1/classes.rb', line 209 def initialize(**args) update!(**args) end |
Instance Attribute Details
#available_zones ⇒ Hash<String,Google::Apis::MemcacheV1::GoogleCloudMemcacheV1ZoneMetadata>
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
207 208 209 |
# File 'lib/google/apis/memcache_v1/classes.rb', line 207 def available_zones @available_zones end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
214 215 216 |
# File 'lib/google/apis/memcache_v1/classes.rb', line 214 def update!(**args) @available_zones = args[:available_zones] if args.key?(:available_zones) end |