Class: Google::Apis::ComputeV1::NodeGroupNode

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/compute_v1/classes.rb,
generated/google/apis/compute_v1/representations.rb,
generated/google/apis/compute_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ NodeGroupNode

Returns a new instance of NodeGroupNode



12266
12267
12268
# File 'generated/google/apis/compute_v1/classes.rb', line 12266

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#instancesArray<String>

Instances scheduled on this node. Corresponds to the JSON property instances

Returns:

  • (Array<String>)


12249
12250
12251
# File 'generated/google/apis/compute_v1/classes.rb', line 12249

def instances
  @instances
end

#nameString

The name of the node. Corresponds to the JSON property name

Returns:

  • (String)


12254
12255
12256
# File 'generated/google/apis/compute_v1/classes.rb', line 12254

def name
  @name
end

#node_typeString

The type of this node. Corresponds to the JSON property nodeType

Returns:

  • (String)


12259
12260
12261
# File 'generated/google/apis/compute_v1/classes.rb', line 12259

def node_type
  @node_type
end

#statusString

Corresponds to the JSON property status

Returns:

  • (String)


12264
12265
12266
# File 'generated/google/apis/compute_v1/classes.rb', line 12264

def status
  @status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12271
12272
12273
12274
12275
12276
# File 'generated/google/apis/compute_v1/classes.rb', line 12271

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)
  @status = args[:status] if args.key?(:status)
end