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.
-
#server_binding ⇒ Google::Apis::ComputeBeta::ServerBinding
Binding properties for the physical server.
-
#server_id ⇒ String
Server ID associated with this node.
-
#status ⇒ String
Corresponds to the JSON property
status
.
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.
18820 18821 18822 |
# File 'generated/google/apis/compute_beta/classes.rb', line 18820 def initialize(**args) update!(**args) end |
Instance Attribute Details
#instances ⇒ Array<String>
Instances scheduled on this node.
Corresponds to the JSON property instances
18793 18794 18795 |
# File 'generated/google/apis/compute_beta/classes.rb', line 18793 def instances @instances end |
#name ⇒ String
The name of the node.
Corresponds to the JSON property name
18798 18799 18800 |
# File 'generated/google/apis/compute_beta/classes.rb', line 18798 def name @name end |
#node_type ⇒ String
The type of this node.
Corresponds to the JSON property nodeType
18803 18804 18805 |
# File 'generated/google/apis/compute_beta/classes.rb', line 18803 def node_type @node_type end |
#server_binding ⇒ Google::Apis::ComputeBeta::ServerBinding
Binding properties for the physical server.
Corresponds to the JSON property serverBinding
18808 18809 18810 |
# File 'generated/google/apis/compute_beta/classes.rb', line 18808 def server_binding @server_binding end |
#server_id ⇒ String
Server ID associated with this node.
Corresponds to the JSON property serverId
18813 18814 18815 |
# File 'generated/google/apis/compute_beta/classes.rb', line 18813 def server_id @server_id end |
#status ⇒ String
Corresponds to the JSON property status
18818 18819 18820 |
# File 'generated/google/apis/compute_beta/classes.rb', line 18818 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18825 18826 18827 18828 18829 18830 18831 18832 |
# File 'generated/google/apis/compute_beta/classes.rb', line 18825 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) @server_binding = args[:server_binding] if args.key?(:server_binding) @server_id = args[:server_id] if args.key?(:server_id) @status = args[:status] if args.key?(:status) end |