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.
getGcsSource
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-04 UTC."],[],[],null,["# Cloud Translation V3 Client - Class GlossaryInputConfig (2.0.3)\n\nVersion latestkeyboard_arrow_down\n\n- [2.0.3 (latest)](/php/docs/reference/cloud-translate/latest/V3.GlossaryInputConfig)\n- [2.0.2](/php/docs/reference/cloud-translate/2.0.2/V3.GlossaryInputConfig)\n- [1.21.0](/php/docs/reference/cloud-translate/1.21.0/V3.GlossaryInputConfig)\n- [1.20.2](/php/docs/reference/cloud-translate/1.20.2/V3.GlossaryInputConfig)\n- [1.19.0](/php/docs/reference/cloud-translate/1.19.0/V3.GlossaryInputConfig)\n- [1.18.1](/php/docs/reference/cloud-translate/1.18.1/V3.GlossaryInputConfig)\n- [1.17.7](/php/docs/reference/cloud-translate/1.17.7/V3.GlossaryInputConfig)\n- [1.16.0](/php/docs/reference/cloud-translate/1.16.0/V3.GlossaryInputConfig)\n- [1.15.4](/php/docs/reference/cloud-translate/1.15.4/V3.GlossaryInputConfig)\n- [1.14.3](/php/docs/reference/cloud-translate/1.14.3/V3.GlossaryInputConfig)\n- [1.13.3](/php/docs/reference/cloud-translate/1.13.3/V3.GlossaryInputConfig)\n- [1.12.12](/php/docs/reference/cloud-translate/1.12.12/V3.GlossaryInputConfig) \nReference documentation and code samples for the Cloud Translation V3 Client class GlossaryInputConfig.\n\nInput configuration for glossaries.\n\nGenerated from protobuf message `google.cloud.translation.v3.GlossaryInputConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Translate \\\\ V3\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getGcsSource\n\nRequired. Google Cloud Storage location of glossary data.\n\nFile format is determined based on the filename extension. API returns\n\\[google.rpc.Code.INVALID_ARGUMENT\\] for unsupported URI-s and file\nformats. Wildcards are not allowed. This must be a single file in one of\nthe following formats:\nFor unidirectional glossaries:\n\n- 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.\n- TMX (`.tmx`): TMX file with parallel data defining source/target term pairs. 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### hasGcsSource\n\n### setGcsSource\n\nRequired. Google Cloud Storage location of glossary data.\n\nFile format is determined based on the filename extension. API returns\n\\[google.rpc.Code.INVALID_ARGUMENT\\] for unsupported URI-s and file\nformats. Wildcards are not allowed. This must be a single file in one of\nthe following formats:\nFor unidirectional glossaries:\n\n- 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.\n- TMX (`.tmx`): TMX file with parallel data defining source/target term pairs. 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### getSource"]]