Class: Google::Apis::ComputeAlpha::HostsScopedList
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::ComputeAlpha::HostsScopedList
 
- Defined in:
- generated/google/apis/compute_alpha/classes.rb,
 generated/google/apis/compute_alpha/representations.rb,
 generated/google/apis/compute_alpha/representations.rb
Defined Under Namespace
Classes: Warning
Instance Attribute Summary collapse
- 
  
    
      #hosts  ⇒ Array<Google::Apis::ComputeAlpha::Host> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    [Output Only] A list of hosts contained in this scope. 
- 
  
    
      #warning  ⇒ Google::Apis::ComputeAlpha::HostsScopedList::Warning 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    [Output Only] An informational warning that appears when the host list is empty. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ HostsScopedList 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of HostsScopedList. 
- 
  
    
      #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) ⇒ HostsScopedList
Returns a new instance of HostsScopedList
| 7943 7944 7945 | # File 'generated/google/apis/compute_alpha/classes.rb', line 7943 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#hosts ⇒ Array<Google::Apis::ComputeAlpha::Host>
[Output Only] A list of hosts contained in this scope.
Corresponds to the JSON property hosts
| 7935 7936 7937 | # File 'generated/google/apis/compute_alpha/classes.rb', line 7935 def hosts @hosts end | 
#warning ⇒ Google::Apis::ComputeAlpha::HostsScopedList::Warning
[Output Only] An informational warning that appears when the host list is
empty.
Corresponds to the JSON property warning
| 7941 7942 7943 | # File 'generated/google/apis/compute_alpha/classes.rb', line 7941 def warning @warning end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 7948 7949 7950 7951 | # File 'generated/google/apis/compute_alpha/classes.rb', line 7948 def update!(**args) @hosts = args[:hosts] if args.key?(:hosts) @warning = args[:warning] if args.key?(:warning) end |