# 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/dataprocmetastore/property/service_metadata_integration_data_catalog_config'
require 'google/dataprocmetastore/property/service_metadata_integration_dataplex_config'
require 'google/dataprocmetastore/property/service_metadata_integration_dataplex_config_lake_resources'
module GoogleInSpec
  module DataprocMetastore
    module Property
      class ServiceMetadataIntegration
        attr_reader :data_catalog_config

        attr_reader :dataplex_config

        def initialize(args = nil, parent_identifier = nil)
          return if args.nil?
          @parent_identifier = parent_identifier
          @data_catalog_config = GoogleInSpec::DataprocMetastore::Property::ServiceMetadataIntegrationDataCatalogConfig.new(args['dataCatalogConfig'], to_s)
          @dataplex_config = GoogleInSpec::DataprocMetastore::Property::ServiceMetadataIntegrationDataplexConfig.new(args['dataplexConfig'], to_s)
        end

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