Class: Google::Apis::ComputeAlpha::NodeTypesScopedList

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

Defined Under Namespace

Classes: Warning

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NodeTypesScopedList

Returns a new instance of NodeTypesScopedList.



24339
24340
24341
# File 'generated/google/apis/compute_alpha/classes.rb', line 24339

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

Instance Attribute Details

#node_typesArray<Google::Apis::ComputeAlpha::NodeType>

[Output Only] A list of node types contained in this scope. Corresponds to the JSON property nodeTypes



24331
24332
24333
# File 'generated/google/apis/compute_alpha/classes.rb', line 24331

def node_types
  @node_types
end

#warningGoogle::Apis::ComputeAlpha::NodeTypesScopedList::Warning

[Output Only] An informational warning that appears when the node types list is empty. Corresponds to the JSON property warning



24337
24338
24339
# File 'generated/google/apis/compute_alpha/classes.rb', line 24337

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



24344
24345
24346
24347
# File 'generated/google/apis/compute_alpha/classes.rb', line 24344

def update!(**args)
  @node_types = args[:node_types] if args.key?(:node_types)
  @warning = args[:warning] if args.key?(:warning)
end