Class: Google::Cloud::Bigquery::Migration::V2::TranslationReportRecord

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/bigquery/migration/v2/translation_suggestion.rb

Overview

Details about a record.

Defined Under Namespace

Modules: Severity

Instance Attribute Summary collapse

Instance Attribute Details

#category::String

Returns Category of the error/warning. Example: SyntaxError.

Returns:

  • (::String)

    Category of the error/warning. Example: SyntaxError



43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# File 'proto_docs/google/cloud/bigquery/migration/v2/translation_suggestion.rb', line 43

class TranslationReportRecord
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The severity type of the record.
  module Severity
    # SeverityType not specified.
    SEVERITY_UNSPECIFIED = 0

    # INFO type.
    INFO = 1

    # WARNING type. The translated query may still provide useful information
    # if all the report records are WARNING.
    WARNING = 2

    # ERROR type. Translation failed.
    ERROR = 3
  end
end

#message::String

Returns Detailed message of the record.

Returns:

  • (::String)

    Detailed message of the record.



43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# File 'proto_docs/google/cloud/bigquery/migration/v2/translation_suggestion.rb', line 43

class TranslationReportRecord
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The severity type of the record.
  module Severity
    # SeverityType not specified.
    SEVERITY_UNSPECIFIED = 0

    # INFO type.
    INFO = 1

    # WARNING type. The translated query may still provide useful information
    # if all the report records are WARNING.
    WARNING = 2

    # ERROR type. Translation failed.
    ERROR = 3
  end
end

#script_column::Integer

Returns Specifies the column from the source texts where the error occurred. (0 based) example: 6.

Returns:

  • (::Integer)

    Specifies the column from the source texts where the error occurred. (0 based) example: 6



43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# File 'proto_docs/google/cloud/bigquery/migration/v2/translation_suggestion.rb', line 43

class TranslationReportRecord
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The severity type of the record.
  module Severity
    # SeverityType not specified.
    SEVERITY_UNSPECIFIED = 0

    # INFO type.
    INFO = 1

    # WARNING type. The translated query may still provide useful information
    # if all the report records are WARNING.
    WARNING = 2

    # ERROR type. Translation failed.
    ERROR = 3
  end
end

#script_line::Integer

Returns Specifies the row from the source text where the error occurred (0 based). Example: 2.

Returns:

  • (::Integer)

    Specifies the row from the source text where the error occurred (0 based). Example: 2



43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# File 'proto_docs/google/cloud/bigquery/migration/v2/translation_suggestion.rb', line 43

class TranslationReportRecord
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The severity type of the record.
  module Severity
    # SeverityType not specified.
    SEVERITY_UNSPECIFIED = 0

    # INFO type.
    INFO = 1

    # WARNING type. The translated query may still provide useful information
    # if all the report records are WARNING.
    WARNING = 2

    # ERROR type. Translation failed.
    ERROR = 3
  end
end

#severity::Google::Cloud::Bigquery::Migration::V2::TranslationReportRecord::Severity

Returns Severity of the translation record.

Returns:



43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# File 'proto_docs/google/cloud/bigquery/migration/v2/translation_suggestion.rb', line 43

class TranslationReportRecord
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The severity type of the record.
  module Severity
    # SeverityType not specified.
    SEVERITY_UNSPECIFIED = 0

    # INFO type.
    INFO = 1

    # WARNING type. The translated query may still provide useful information
    # if all the report records are WARNING.
    WARNING = 2

    # ERROR type. Translation failed.
    ERROR = 3
  end
end