Class: Google::Apis::RedisV1::GoogleCloudRedisV1LocationMetadata
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::RedisV1::GoogleCloudRedisV1LocationMetadata
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/redis_v1/classes.rb,
generated/google/apis/redis_v1/representations.rb,
generated/google/apis/redis_v1/representations.rb 
Overview
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.
Instance Attribute Summary collapse
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ GoogleCloudRedisV1LocationMetadata 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of GoogleCloudRedisV1LocationMetadata.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GoogleCloudRedisV1LocationMetadata
Returns a new instance of GoogleCloudRedisV1LocationMetadata
      59 60 61  | 
    
      # File 'generated/google/apis/redis_v1/classes.rb', line 59 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#available_zones ⇒ Hash<String,Google::Apis::RedisV1::GoogleCloudRedisV1ZoneMetadata>
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
      57 58 59  | 
    
      # File 'generated/google/apis/redis_v1/classes.rb', line 57 def available_zones @available_zones end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      64 65 66  | 
    
      # File 'generated/google/apis/redis_v1/classes.rb', line 64 def update!(**args) @available_zones = args[:available_zones] if args.key?(:available_zones) end  |