Class: Google::Apis::ComputeBeta::NodeTypesScopedList
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::NodeTypesScopedList
- Defined in:
- generated/google/apis/compute_beta/classes.rb,
generated/google/apis/compute_beta/representations.rb,
generated/google/apis/compute_beta/representations.rb
Defined Under Namespace
Classes: Warning
Instance Attribute Summary collapse
-
#node_types ⇒ Array<Google::Apis::ComputeBeta::NodeType>
[Output Only] A list of node types contained in this scope.
-
#warning ⇒ Google::Apis::ComputeBeta::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
16539 16540 16541 |
# File 'generated/google/apis/compute_beta/classes.rb', line 16539 def initialize(**args) update!(**args) end |
Instance Attribute Details
#node_types ⇒ Array<Google::Apis::ComputeBeta::NodeType>
[Output Only] A list of node types contained in this scope.
Corresponds to the JSON property nodeTypes
16531 16532 16533 |
# File 'generated/google/apis/compute_beta/classes.rb', line 16531 def node_types @node_types end |
#warning ⇒ Google::Apis::ComputeBeta::NodeTypesScopedList::Warning
[Output Only] An informational warning that appears when the node types list
is empty.
Corresponds to the JSON property warning
16537 16538 16539 |
# File 'generated/google/apis/compute_beta/classes.rb', line 16537 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16544 16545 16546 16547 |
# File 'generated/google/apis/compute_beta/classes.rb', line 16544 def update!(**args) @node_types = args[:node_types] if args.key?(:node_types) @warning = args[:warning] if args.key?(:warning) end |