# Class TranslateQueryResponse (0.15.0)

0.15.0 (latest) 0.14.0 0.13.0 0.12.0 0.11.15 0.10.0 0.9.1 0.8.0 0.7.2 0.6.0 0.5.0 0.4.3 0.3.1 0.2.1 0.1.0

    TranslateQueryResponse(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The response of translating a SQL query to Standard SQL.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `translation_job` | `str` Output only. Immutable. The unique identifier for the SQL translation job. Example: `projects/123/locations/us/translation/1234` |
| `translated_query` | `str` The translated result. This will be empty if the translation fails. |
| `errors` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/bigquerymigration/latest/google.cloud.bigquery_migration_v2alpha.types.SqlTranslationError]` The list of errors encountered during the translation, if present. |
| `warnings` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/bigquerymigration/latest/google.cloud.bigquery_migration_v2alpha.types.SqlTranslationWarning]` The list of warnings encountered during the translation, if present, indicates non-semantically correct translation. |