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



16539
16540
16541
# File 'generated/google/apis/compute_beta/classes.rb', line 16539

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



16531
16532
16533
# File 'generated/google/apis/compute_beta/classes.rb', line 16531

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



16537
16538
16539
# File 'generated/google/apis/compute_beta/classes.rb', line 16537

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16544
16545
16546
16547
# File 'generated/google/apis/compute_beta/classes.rb', line 16544

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