Class: Google::Apis::ComputeAlpha::NodeTypesScopedList

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb

Defined Under Namespace

Classes: Warning

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NodeTypesScopedList

Returns a new instance of NodeTypesScopedList.



28187
28188
28189
# File 'lib/google/apis/compute_alpha/classes.rb', line 28187

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#node_typesArray<Google::Apis::ComputeAlpha::NodeType>

[Output Only] A list of node types contained in this scope. Corresponds to the JSON property nodeTypes



28179
28180
28181
# File 'lib/google/apis/compute_alpha/classes.rb', line 28179

def node_types
  @node_types
end

#warningGoogle::Apis::ComputeAlpha::NodeTypesScopedList::Warning

[Output Only] An informational warning that appears when the node types list is empty. Corresponds to the JSON property warning



28185
28186
28187
# File 'lib/google/apis/compute_alpha/classes.rb', line 28185

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



28192
28193
28194
28195
# File 'lib/google/apis/compute_alpha/classes.rb', line 28192

def update!(**args)
  @node_types = args[:node_types] if args.key?(:node_types)
  @warning = args[:warning] if args.key?(:warning)
end