# 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.
#
# ----------------------------------------------------------------------------
module GoogleInSpec
  module Dataflow
    module Property
      class ProjectLocationJobEnvironmentWorkerPoolsTaskrunnerSettingsParallelWorkerSettings
        attr_reader :base_url

        attr_reader :reporting_enabled

        attr_reader :service_path

        attr_reader :shuffle_service_path

        attr_reader :worker_id

        attr_reader :temp_storage_prefix

        def initialize(args = nil, parent_identifier = nil)
          return if args.nil?
          @parent_identifier = parent_identifier
          @base_url = args['baseUrl']
          @reporting_enabled = args['reportingEnabled']
          @service_path = args['servicePath']
          @shuffle_service_path = args['shuffleServicePath']
          @worker_id = args['workerId']
          @temp_storage_prefix = args['tempStoragePrefix']
        end

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