Class: Google::Apis::MemcacheV1beta2::GoogleCloudMemcacheV1beta2LocationMetadata

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

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudMemcacheV1beta2LocationMetadata

Returns a new instance of GoogleCloudMemcacheV1beta2LocationMetadata.



358
359
360
# File 'generated/google/apis/memcache_v1beta2/classes.rb', line 358

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

Instance Attribute Details

#available_zonesHash<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



356
357
358
# File 'generated/google/apis/memcache_v1beta2/classes.rb', line 356

def available_zones
  @available_zones
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



363
364
365
# File 'generated/google/apis/memcache_v1beta2/classes.rb', line 363

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