Class: Google::Apis::ComputeAlpha::DistributionPolicy
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ComputeAlpha::DistributionPolicy
 
- Defined in:
- generated/google/apis/compute_alpha/classes.rb,
 generated/google/apis/compute_alpha/representations.rb,
 generated/google/apis/compute_alpha/representations.rb
Instance Attribute Summary collapse
- 
  
    
      #zones  ⇒ Array<Google::Apis::ComputeAlpha::DistributionPolicyZoneConfiguration> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Corresponds to the JSON property zones.
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ DistributionPolicy 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of DistributionPolicy. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ DistributionPolicy
Returns a new instance of DistributionPolicy
| 5148 5149 5150 | # File 'generated/google/apis/compute_alpha/classes.rb', line 5148 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#zones ⇒ Array<Google::Apis::ComputeAlpha::DistributionPolicyZoneConfiguration>
Corresponds to the JSON property zones
| 5146 5147 5148 | # File 'generated/google/apis/compute_alpha/classes.rb', line 5146 def zones @zones end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 5153 5154 5155 | # File 'generated/google/apis/compute_alpha/classes.rb', line 5153 def update!(**args) @zones = args[:zones] if args.key?(:zones) end |