# frozen_string_literal: true

# Copyright 2024 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Auto-generated by gapic-generator-ruby. DO NOT EDIT!


module Google
  module Cloud
    module Bigquery
      module Migration
        module V2
          # A record in the aggregate CSV report for a migration workflow
          # @!attribute [rw] severity
          #   @return [::String]
          #     Severity of the translation record.
          # @!attribute [rw] category
          #   @return [::String]
          #     Category of the error/warning. Example: SyntaxError
          # @!attribute [rw] file_path
          #   @return [::String]
          #     The file path in which the error occurred
          # @!attribute [rw] filename
          #   @return [::String]
          #     The file name in which the error occurred
          # @!attribute [rw] source_script_line
          #   @return [::Integer]
          #     Specifies the row from the source text where the error occurred (0 based,
          #     -1 for messages without line location). Example: 2
          # @!attribute [rw] source_script_column
          #   @return [::Integer]
          #     Specifies the column from the source texts where the error occurred. (0
          #     based, -1 for messages without column location) example: 6
          # @!attribute [rw] message
          #   @return [::String]
          #     Detailed message of the record.
          # @!attribute [rw] script_context
          #   @return [::String]
          #     The script context (obfuscated) in which the error occurred
          # @!attribute [rw] action
          #   @return [::String]
          #     Category of the error/warning. Example: SyntaxError
          # @!attribute [rw] effect
          #   @return [::String]
          #     Effect of the error/warning. Example: COMPATIBILITY
          # @!attribute [rw] object_name
          #   @return [::String]
          #     Name of the affected object in the log message.
          class GcsReportLogMessage
            include ::Google::Protobuf::MessageExts
            extend ::Google::Protobuf::MessageExts::ClassMethods
          end
        end
      end
    end
  end
end
