Class: Google::Apis::ComputeV1::ForwardingRulesScopedList
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ComputeV1::ForwardingRulesScopedList
 
 
- Defined in:
 - generated/google/apis/compute_v1/classes.rb,
generated/google/apis/compute_v1/representations.rb,
generated/google/apis/compute_v1/representations.rb 
Defined Under Namespace
Classes: Warning
Instance Attribute Summary collapse
- 
  
    
      #forwarding_rules  ⇒ Array<Google::Apis::ComputeV1::ForwardingRule> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A list of forwarding rules contained in this scope.
 - 
  
    
      #warning  ⇒ Google::Apis::ComputeV1::ForwardingRulesScopedList::Warning 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Informational warning which replaces the list of forwarding rules when the list is empty.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ ForwardingRulesScopedList 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of ForwardingRulesScopedList.
 - 
  
    
      #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) ⇒ ForwardingRulesScopedList
Returns a new instance of ForwardingRulesScopedList
      5345 5346 5347  | 
    
      # File 'generated/google/apis/compute_v1/classes.rb', line 5345 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#forwarding_rules ⇒ Array<Google::Apis::ComputeV1::ForwardingRule>
A list of forwarding rules contained in this scope.
Corresponds to the JSON property forwardingRules
      5337 5338 5339  | 
    
      # File 'generated/google/apis/compute_v1/classes.rb', line 5337 def forwarding_rules @forwarding_rules end  | 
  
#warning ⇒ Google::Apis::ComputeV1::ForwardingRulesScopedList::Warning
Informational warning which replaces the list of forwarding rules when the
list is empty.
Corresponds to the JSON property warning
      5343 5344 5345  | 
    
      # File 'generated/google/apis/compute_v1/classes.rb', line 5343 def warning @warning end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      5350 5351 5352 5353  | 
    
      # File 'generated/google/apis/compute_v1/classes.rb', line 5350 def update!(**args) @forwarding_rules = args[:forwarding_rules] if args.key?(:forwarding_rules) @warning = args[:warning] if args.key?(:warning) end  |