Class: Google::Apis::ComputeV1::NodeTypesScopedList

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

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



14055
14056
14057
# File 'generated/google/apis/compute_v1/classes.rb', line 14055

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

Instance Attribute Details

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

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



14047
14048
14049
# File 'generated/google/apis/compute_v1/classes.rb', line 14047

def node_types
  @node_types
end

#warningGoogle::Apis::ComputeV1::NodeTypesScopedList::Warning

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



14053
14054
14055
# File 'generated/google/apis/compute_v1/classes.rb', line 14053

def warning
  @warning
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14060
14061
14062
14063
# File 'generated/google/apis/compute_v1/classes.rb', line 14060

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