# 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/vertexai/property/trainingpipeline_model_to_upload_explanation_spec_parameters_examples'
require 'google/vertexai/property/trainingpipeline_model_to_upload_explanation_spec_parameters_examples_example_gcs_source'
require 'google/vertexai/property/trainingpipeline_mtuespeegsg_source'
require 'google/vertexai/property/trainingpipeline_model_to_upload_explanation_spec_parameters_examples_presets'
require 'google/vertexai/property/trainingpipeline_model_to_upload_explanation_spec_parameters_integrated_gradients_attribution'
require 'google/vertexai/property/trainingpipeline_mtuespigabb_config'
require 'google/vertexai/property/trainingpipeline_mtuespigasg_config'
require 'google/vertexai/property/trainingpipeline_mtuespigasgcfn_sigma'
require 'google/vertexai/property/trainingpipeline_mtuespigasgcfnsn_sigma'
require 'google/vertexai/property/trainingpipeline_model_to_upload_explanation_spec_parameters_sampled_shapley_attribution'
require 'google/vertexai/property/trainingpipeline_model_to_upload_explanation_spec_parameters_xrai_attribution'
require 'google/vertexai/property/trainingpipeline_mtuespxabb_config'
require 'google/vertexai/property/trainingpipeline_model_to_upload_explanation_spec_parameters_xrai_attribution_smooth_grad_config'
require 'google/vertexai/property/trainingpipeline_mtuespxasgcfn_sigma'
require 'google/vertexai/property/trainingpipeline_mtuespxasgcfnsn_sigma'
module GoogleInSpec
  module VertexAI
    module Property
      class TrainingPipelineModelToUploadExplanationSpecParameters
        attr_reader :output_indices

        attr_reader :examples

        attr_reader :xrai_attribution

        attr_reader :top_k

        attr_reader :integrated_gradients_attribution

        attr_reader :sampled_shapley_attribution

        def initialize(args = nil, parent_identifier = nil)
          return if args.nil?
          @parent_identifier = parent_identifier
          @output_indices = args['outputIndices']
          @examples = GoogleInSpec::VertexAI::Property::TrainingPipelineModelToUploadExplanationSpecParametersExamples.new(args['examples'], to_s)
          @xrai_attribution = GoogleInSpec::VertexAI::Property::TrainingPipelineModelToUploadExplanationSpecParametersXraiAttribution.new(args['xraiAttribution'], to_s)
          @top_k = args['topK']
          @integrated_gradients_attribution = GoogleInSpec::VertexAI::Property::TrainingPipelineModelToUploadExplanationSpecParametersIntegratedGradientsAttribution.new(args['integratedGradientsAttribution'], to_s)
          @sampled_shapley_attribution = GoogleInSpec::VertexAI::Property::TrainingPipelineModelToUploadExplanationSpecParametersSampledShapleyAttribution.new(args['sampledShapleyAttribution'], to_s)
        end

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