Class: Google::Apis::ComputeBeta::NodeTypesScopedList
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::NodeTypesScopedList
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_beta/classes.rb,
lib/google/apis/compute_beta/representations.rb,
lib/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.
Constructor Details
#initialize(**args) ⇒ NodeTypesScopedList
Returns a new instance of NodeTypesScopedList.
30728 30729 30730 |
# File 'lib/google/apis/compute_beta/classes.rb', line 30728 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
30720 30721 30722 |
# File 'lib/google/apis/compute_beta/classes.rb', line 30720 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
30726 30727 30728 |
# File 'lib/google/apis/compute_beta/classes.rb', line 30726 def warning @warning end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
30733 30734 30735 30736 |
# File 'lib/google/apis/compute_beta/classes.rb', line 30733 def update!(**args) @node_types = args[:node_types] if args.key?(:node_types) @warning = args[:warning] if args.key?(:warning) end |