Class: Google::Apis::RedisV1::RegionalMigDistributionPolicy
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::RedisV1::RegionalMigDistributionPolicy
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/redis_v1/classes.rb,
lib/google/apis/redis_v1/representations.rb,
lib/google/apis/redis_v1/representations.rb 
Overview
To be used for specifying the intended distribution of regional compute. googleapis.com/InstanceGroupManager instances
Instance Attribute Summary collapse
- 
  
    
      #target_shape  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The shape in which the group converges around distribution of resources.
 - 
  
    
      #zones  ⇒ Array<Google::Apis::RedisV1::ZoneConfiguration> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Cloud zones used by regional MIG to create instances.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ RegionalMigDistributionPolicy 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of RegionalMigDistributionPolicy.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ RegionalMigDistributionPolicy
Returns a new instance of RegionalMigDistributionPolicy.
      2789 2790 2791  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 2789 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#target_shape ⇒ Fixnum
The shape in which the group converges around distribution of resources.
Instance of proto2 enum
Corresponds to the JSON property targetShape
      2782 2783 2784  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 2782 def target_shape @target_shape end  | 
  
#zones ⇒ Array<Google::Apis::RedisV1::ZoneConfiguration>
Cloud zones used by regional MIG to create instances.
Corresponds to the JSON property zones
      2787 2788 2789  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 2787 def zones @zones end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      2794 2795 2796 2797  | 
    
      # File 'lib/google/apis/redis_v1/classes.rb', line 2794 def update!(**args) @target_shape = args[:target_shape] if args.key?(:target_shape) @zones = args[:zones] if args.key?(:zones) end  |