Class TranslateQueryRequest (0.11.7)

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

The request of translating a SQL query to Standard SQL.

Attributes

NameDescription
parent str
Required. The name of the project to which this translation request belongs. Example: projects/foo/locations/bar
source_dialect google.cloud.bigquery_migration_v2alpha.types.TranslateQueryRequest.SqlTranslationSourceDialect
Required. The source SQL dialect of queries.
query str
Required. The query to be translated.

Classes

SqlTranslationSourceDialect

SqlTranslationSourceDialect(value)

Supported SQL translation source dialects.

Values: SQL_TRANSLATION_SOURCE_DIALECT_UNSPECIFIED (0): SqlTranslationSourceDialect not specified. TERADATA (1): Teradata SQL.