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

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

#to_json

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

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ NodeTypesScopedList

Returns a new instance of NodeTypesScopedList.



19917
19918
19919
# File 'generated/google/apis/compute_beta/classes.rb', line 19917

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



19909
19910
19911
# File 'generated/google/apis/compute_beta/classes.rb', line 19909

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



19915
19916
19917
# File 'generated/google/apis/compute_beta/classes.rb', line 19915

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19922
19923
19924
19925
# File 'generated/google/apis/compute_beta/classes.rb', line 19922

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