Class: Google::Apis::ComputeBeta::NodeGroupNode
- Inherits:
-
Object
- Object
- Google::Apis::ComputeBeta::NodeGroupNode
- Defined in:
- generated/google/apis/compute_beta/classes.rb,
generated/google/apis/compute_beta/representations.rb,
generated/google/apis/compute_beta/representations.rb
Instance Attribute Summary collapse
-
#instances ⇒ Array<String>
Instances scheduled on this node.
-
#name ⇒ String
The name of the node.
-
#node_type ⇒ String
The type of this node.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NodeGroupNode
constructor
A new instance of NodeGroupNode.
-
#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) ⇒ NodeGroupNode
Returns a new instance of NodeGroupNode
14103 14104 14105 |
# File 'generated/google/apis/compute_beta/classes.rb', line 14103 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instances ⇒ Array<String>
Instances scheduled on this node.
Corresponds to the JSON property instances
14091 14092 14093 |
# File 'generated/google/apis/compute_beta/classes.rb', line 14091 def instances @instances end |
#name ⇒ String
The name of the node.
Corresponds to the JSON property name
14096 14097 14098 |
# File 'generated/google/apis/compute_beta/classes.rb', line 14096 def name @name end |
#node_type ⇒ String
The type of this node.
Corresponds to the JSON property nodeType
14101 14102 14103 |
# File 'generated/google/apis/compute_beta/classes.rb', line 14101 def node_type @node_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14108 14109 14110 14111 14112 |
# File 'generated/google/apis/compute_beta/classes.rb', line 14108 def update!(**args) @instances = args[:instances] if args.key?(:instances) @name = args[:name] if args.key?(:name) @node_type = args[:node_type] if args.key?(:node_type) end |