Class: Google::Apis::ComputeAlpha::NodeTypesScopedList
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::NodeTypesScopedList
- 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
-
#node_types ⇒ Array<Google::Apis::ComputeAlpha::NodeType>
[Output Only] A list of node types contained in this scope.
-
#warning ⇒ Google::Apis::ComputeAlpha::NodeTypesScopedList::Warning
[Output Only] An informational warning that appears when the node types list is empty.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NodeTypesScopedList
constructor
A new instance of NodeTypesScopedList.
-
#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) ⇒ NodeTypesScopedList
Returns a new instance of NodeTypesScopedList
18298 18299 18300 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 18298 def initialize(**args) update!(**args) end |
Instance Attribute Details
#node_types ⇒ Array<Google::Apis::ComputeAlpha::NodeType>
[Output Only] A list of node types contained in this scope.
Corresponds to the JSON property nodeTypes
18290 18291 18292 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 18290 def node_types @node_types end |
#warning ⇒ Google::Apis::ComputeAlpha::NodeTypesScopedList::Warning
[Output Only] An informational warning that appears when the node types list
is empty.
Corresponds to the JSON property warning
18296 18297 18298 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 18296 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18303 18304 18305 18306 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 18303 def update!(**args) @node_types = args[:node_types] if args.key?(:node_types) @warning = args[:warning] if args.key?(:warning) end |