Class: Google::Cloud::Bigquery::Migration::V2::TranslationReportRecord
- Inherits:
-
Object
- Object
- Google::Cloud::Bigquery::Migration::V2::TranslationReportRecord
- 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
-
#category ⇒ ::String
Category of the error/warning.
-
#message ⇒ ::String
Detailed message of the record.
-
#script_column ⇒ ::Integer
Specifies the column from the source texts where the error occurred.
-
#script_line ⇒ ::Integer
Specifies the row from the source text where the error occurred (0 based).
-
#severity ⇒ ::Google::Cloud::Bigquery::Migration::V2::TranslationReportRecord::Severity
Severity of the translation record.
Instance Attribute Details
#category ⇒ ::String
Returns 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.
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.
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.
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.
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 |