Class: Google::Cloud::Bigquery::Migration::V2::SuggestionStep

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

Overview

Suggestion step to skip.

Defined Under Namespace

Modules: RewriteTarget, SuggestionType

Instance Attribute Summary collapse

Instance Attribute Details

#rewrite_target::Google::Cloud::Bigquery::Migration::V2::SuggestionStep::RewriteTarget

Returns The rewrite target.



71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# File 'proto_docs/google/cloud/bigquery/migration/v2/translation_details.rb', line 71

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

  # Suggestion type.
  module SuggestionType
    # Suggestion type unspecified.
    SUGGESTION_TYPE_UNSPECIFIED = 0

    # Query customization.
    QUERY_CUSTOMIZATION = 1

    # Translation explanation.
    TRANSLATION_EXPLANATION = 2
  end

  # The target to apply the suggestion to.
  module RewriteTarget
    # Rewrite target unspecified.
    REWRITE_TARGET_UNSPECIFIED = 0

    # Source SQL.
    SOURCE_SQL = 1

    # Target SQL.
    TARGET_SQL = 2
  end
end

#suggestion_type::Google::Cloud::Bigquery::Migration::V2::SuggestionStep::SuggestionType

Returns The type of suggestion.



71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
# File 'proto_docs/google/cloud/bigquery/migration/v2/translation_details.rb', line 71

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

  # Suggestion type.
  module SuggestionType
    # Suggestion type unspecified.
    SUGGESTION_TYPE_UNSPECIFIED = 0

    # Query customization.
    QUERY_CUSTOMIZATION = 1

    # Translation explanation.
    TRANSLATION_EXPLANATION = 2
  end

  # The target to apply the suggestion to.
  module RewriteTarget
    # Rewrite target unspecified.
    REWRITE_TARGET_UNSPECIFIED = 0

    # Source SQL.
    SOURCE_SQL = 1

    # Target SQL.
    TARGET_SQL = 2
  end
end