Required. Google Cloud Storage location of glossary data.
File format is determined based on the filename extension. API returns
[google.rpc.Code.INVALID_ARGUMENT] for unsupported URI-s and file
formats. Wildcards are not allowed. This must be a single file in one of
the following formats:
For unidirectional glossaries:
TSV/CSV (.tsv/.csv): Two column file, tab- or comma-separated.
The first column is source text. The second column is target text.
No headers in this file. The first row contains data and not column
names.
TMX (.tmx): TMX file with parallel data defining source/target term
pairs.
For equivalent term sets glossaries:
CSV (.csv): Multi-column CSV file defining equivalent glossary terms
in multiple languages. See documentation for more information -
glossaries.
Required. Google Cloud Storage location of glossary data.
File format is determined based on the filename extension. API returns
[google.rpc.Code.INVALID_ARGUMENT] for unsupported URI-s and file
formats. Wildcards are not allowed. This must be a single file in one of
the following formats:
For unidirectional glossaries:
TSV/CSV (.tsv/.csv): Two column file, tab- or comma-separated.
The first column is source text. The second column is target text.
No headers in this file. The first row contains data and not column
names.
TMX (.tmx): TMX file with parallel data defining source/target term
pairs.
For equivalent term sets glossaries:
CSV (.csv): Multi-column CSV file defining equivalent glossary terms
in multiple languages. See documentation for more information -
glossaries.
Required. Google Cloud Storage location of glossary data.
File format is determined based on the filename extension. API returns
[google.rpc.Code.INVALID_ARGUMENT] for unsupported URI-s and file
formats. Wildcards are not allowed. This must be a single file in one of
the following formats:
For unidirectional glossaries:
TSV/CSV (.tsv/.csv): Two column file, tab- or comma-separated.
The first column is source text. The second column is target text.
No headers in this file. The first row contains data and not column
names.
TMX (.tmx): TMX file with parallel data defining source/target term
pairs.
For equivalent term sets glossaries:
CSV (.csv): Multi-column CSV file defining equivalent glossary terms
in multiple languages. See documentation for more information -
glossaries.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Cloud Translation V3 API - Class Google::Cloud::Translate::V3::GlossaryInputConfig (v1.5.2)\n\nVersion latestkeyboard_arrow_down\n\n- [1.5.2 (latest)](/ruby/docs/reference/google-cloud-translate-v3/latest/Google-Cloud-Translate-V3-GlossaryInputConfig)\n- [1.5.1](/ruby/docs/reference/google-cloud-translate-v3/1.5.1/Google-Cloud-Translate-V3-GlossaryInputConfig)\n- [1.4.1](/ruby/docs/reference/google-cloud-translate-v3/1.4.1/Google-Cloud-Translate-V3-GlossaryInputConfig)\n- [1.3.0](/ruby/docs/reference/google-cloud-translate-v3/1.3.0/Google-Cloud-Translate-V3-GlossaryInputConfig)\n- [1.2.0](/ruby/docs/reference/google-cloud-translate-v3/1.2.0/Google-Cloud-Translate-V3-GlossaryInputConfig)\n- [1.1.1](/ruby/docs/reference/google-cloud-translate-v3/1.1.1/Google-Cloud-Translate-V3-GlossaryInputConfig)\n- [1.0.0](/ruby/docs/reference/google-cloud-translate-v3/1.0.0/Google-Cloud-Translate-V3-GlossaryInputConfig)\n- [0.12.0](/ruby/docs/reference/google-cloud-translate-v3/0.12.0/Google-Cloud-Translate-V3-GlossaryInputConfig)\n- [0.11.2](/ruby/docs/reference/google-cloud-translate-v3/0.11.2/Google-Cloud-Translate-V3-GlossaryInputConfig)\n- [0.10.0](/ruby/docs/reference/google-cloud-translate-v3/0.10.0/Google-Cloud-Translate-V3-GlossaryInputConfig)\n- [0.9.0](/ruby/docs/reference/google-cloud-translate-v3/0.9.0/Google-Cloud-Translate-V3-GlossaryInputConfig)\n- [0.8.0](/ruby/docs/reference/google-cloud-translate-v3/0.8.0/Google-Cloud-Translate-V3-GlossaryInputConfig)\n- [0.7.3](/ruby/docs/reference/google-cloud-translate-v3/0.7.3/Google-Cloud-Translate-V3-GlossaryInputConfig)\n- [0.6.0](/ruby/docs/reference/google-cloud-translate-v3/0.6.0/Google-Cloud-Translate-V3-GlossaryInputConfig)\n- [0.5.2](/ruby/docs/reference/google-cloud-translate-v3/0.5.2/Google-Cloud-Translate-V3-GlossaryInputConfig)\n- [0.4.2](/ruby/docs/reference/google-cloud-translate-v3/0.4.2/Google-Cloud-Translate-V3-GlossaryInputConfig) \nReference documentation and code samples for the Cloud Translation V3 API class Google::Cloud::Translate::V3::GlossaryInputConfig.\n\nInput configuration for glossaries. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #gcs_source\n\n def gcs_source() -\u003e ::Google::Cloud::Translate::V3::GcsSource\n\n**Returns**\n\n- ([::Google::Cloud::Translate::V3::GcsSource](./Google-Cloud-Translate-V3-GcsSource)) ---\n\n Required. Google Cloud Storage location of glossary data.\n File format is determined based on the filename extension. API returns\n \\[google.rpc.Code.INVALID_ARGUMENT\\] for unsupported URI-s and file\n formats. Wildcards are not allowed. This must be a single file in one of\n the following formats:\n\n For unidirectional glossaries:\n - TSV/CSV (`.tsv`/`.csv`): Two column file, tab- or comma-separated.\n The first column is source text. The second column is target text.\n No headers in this file. The first row contains data and not column\n names.\n\n - TMX (`.tmx`): TMX file with parallel data defining source/target term\n pairs.\n\n For equivalent term sets glossaries:\n - CSV (`.csv`): Multi-column CSV file defining equivalent glossary terms in multiple languages. See documentation for more information - [glossaries](https://cloud.google.com/translate/docs/advanced/glossary).\n\n### #gcs_source=\n\n def gcs_source=(value) -\u003e ::Google::Cloud::Translate::V3::GcsSource\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Translate::V3::GcsSource](./Google-Cloud-Translate-V3-GcsSource)) ---\n\n Required. Google Cloud Storage location of glossary data.\n File format is determined based on the filename extension. API returns\n \\[google.rpc.Code.INVALID_ARGUMENT\\] for unsupported URI-s and file\n formats. Wildcards are not allowed. This must be a single file in one of\n the following formats:\n\n For unidirectional glossaries:\n - TSV/CSV (`.tsv`/`.csv`): Two column file, tab- or comma-separated.\n The first column is source text. The second column is target text.\n No headers in this file. The first row contains data and not column\n names.\n\n - TMX (`.tmx`): TMX file with parallel data defining source/target term\n pairs.\n\n For equivalent term sets glossaries:\n- CSV (`.csv`): Multi-column CSV file defining equivalent glossary terms in multiple languages. See documentation for more information - [glossaries](https://cloud.google.com/translate/docs/advanced/glossary). \n**Returns**\n\n- ([::Google::Cloud::Translate::V3::GcsSource](./Google-Cloud-Translate-V3-GcsSource)) ---\n\n Required. Google Cloud Storage location of glossary data.\n File format is determined based on the filename extension. API returns\n \\[google.rpc.Code.INVALID_ARGUMENT\\] for unsupported URI-s and file\n formats. Wildcards are not allowed. This must be a single file in one of\n the following formats:\n\n For unidirectional glossaries:\n - TSV/CSV (`.tsv`/`.csv`): Two column file, tab- or comma-separated.\n The first column is source text. The second column is target text.\n No headers in this file. The first row contains data and not column\n names.\n\n - TMX (`.tmx`): TMX file with parallel data defining source/target term\n pairs.\n\n For equivalent term sets glossaries:\n - CSV (`.csv`): Multi-column CSV file defining equivalent glossary terms in multiple languages. See documentation for more information - [glossaries](https://cloud.google.com/translate/docs/advanced/glossary)."]]