Class: Google::Apis::ComputeBeta::NodeTypesScopedList

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/compute_beta/classes.rb,
generated/google/apis/compute_beta/representations.rb,
generated/google/apis/compute_beta/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.



21932
21933
21934
# File 'generated/google/apis/compute_beta/classes.rb', line 21932

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

Instance Attribute Details

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

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



21924
21925
21926
# File 'generated/google/apis/compute_beta/classes.rb', line 21924

def node_types
  @node_types
end

#warningGoogle::Apis::ComputeBeta::NodeTypesScopedList::Warning

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



21930
21931
21932
# File 'generated/google/apis/compute_beta/classes.rb', line 21930

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



21937
21938
21939
21940
# File 'generated/google/apis/compute_beta/classes.rb', line 21937

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