# frozen_string_literal: false

# ----------------------------------------------------------------------------
#
#     ***     AUTO GENERATED CODE    ***    Type: MMv1     ***
#
# ----------------------------------------------------------------------------
#
#     This file is automatically generated by Magic Modules and manual
#     changes will be clobbered when the file is regenerated.
#
#     Please read more about how to change this file in README.md and
#     CONTRIBUTING.md located at the root of this package.
#
# ----------------------------------------------------------------------------
require 'google/dataproc/property/workflowtemplate_auxiliary_node_groups_node_group_labels'
require 'google/dataproc/property/workflowtemplate_auxiliary_node_groups_node_group_node_group_config'
require 'google/dataproc/property/workflowtemplate_auxiliary_node_groups_node_group_node_group_config_accelerators'
require 'google/dataproc/property/workflowtemplate_auxiliary_node_groups_node_group_node_group_config_disk_config'
require 'google/dataproc/property/workflowtemplate_auxiliary_node_groups_node_group_node_group_config_instance_flexibility_policy'
require 'google/dataproc/property/workflowtemplate_auxiliary_node_groups_policy_instance_selection_list'
require 'google/dataproc/property/workflowtemplate_auxiliary_node_groups_policy_instance_selection_results'
require 'google/dataproc/property/workflowtemplate_auxiliary_node_groups_node_group_node_group_config_instance_references'
require 'google/dataproc/property/workflowtemplate_auxiliary_node_groups_node_group_node_group_config_managed_group_config'
require 'google/dataproc/property/workflowtemplate_auxiliary_node_groups_node_group_node_group_config_startup_config'
module GoogleInSpec
  module Dataproc
    module Property
      class WorkflowTemplateAuxiliaryNodeGroupsNodeGroup
        attr_reader :name

        attr_reader :roles

        attr_reader :node_group_config

        attr_reader :labels

        def initialize(args = nil, parent_identifier = nil)
          return if args.nil?
          @parent_identifier = parent_identifier
          @name = args['name']
          @roles = args['roles']
          @node_group_config = GoogleInSpec::Dataproc::Property::WorkflowTemplateAuxiliaryNodeGroupsNodeGroupNodeGroupConfig.new(args['nodeGroupConfig'], to_s)
          @labels = GoogleInSpec::Dataproc::Property::WorkflowTemplateAuxiliaryNodeGroupsNodeGroupLabels.new(args['labels'], to_s)
        end

        def to_s
          "#{@parent_identifier} WorkflowTemplateAuxiliaryNodeGroupsNodeGroup"
        end
      end
    end
  end
end
