# 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/dlp/property/jobtrigger_inspect_job_storage_config_big_query_options'
require 'google/dlp/property/jobtrigger_inspect_job_storage_config_big_query_options_table_reference'
require 'google/dlp/property/jobtrigger_inspect_job_storage_config_cloud_storage_options'
require 'google/dlp/property/jobtrigger_inspect_job_storage_config_cloud_storage_options_file_set'
require 'google/dlp/property/jobtrigger_inspect_job_storage_config_cloud_storage_options_file_set_regex_file_set'
require 'google/dlp/property/jobtrigger_inspect_job_storage_config_datastore_options'
require 'google/dlp/property/jobtrigger_inspect_job_storage_config_datastore_options_kind'
require 'google/dlp/property/jobtrigger_inspect_job_storage_config_datastore_options_partition_id'
require 'google/dlp/property/jobtrigger_inspect_job_storage_config_timespan_config'
require 'google/dlp/property/jobtrigger_inspect_job_storage_config_timespan_config_timestamp_field'
module GoogleInSpec
  module DLP
    module Property
      class JobTriggerInspectJobStorageConfig
        attr_reader :timespan_config

        attr_reader :datastore_options

        attr_reader :cloud_storage_options

        attr_reader :big_query_options

        def initialize(args = nil, parent_identifier = nil)
          return if args.nil?
          @parent_identifier = parent_identifier
          @timespan_config = GoogleInSpec::DLP::Property::JobTriggerInspectJobStorageConfigTimespanConfig.new(args['timespanConfig'], to_s)
          @datastore_options = GoogleInSpec::DLP::Property::JobTriggerInspectJobStorageConfigDatastoreOptions.new(args['datastoreOptions'], to_s)
          @cloud_storage_options = GoogleInSpec::DLP::Property::JobTriggerInspectJobStorageConfigCloudStorageOptions.new(args['cloudStorageOptions'], to_s)
          @big_query_options = GoogleInSpec::DLP::Property::JobTriggerInspectJobStorageConfigBigQueryOptions.new(args['bigQueryOptions'], to_s)
        end

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