# Cloud Translation V3 API - Class Google::Cloud::Translate::V3::GlossaryInputConfig (v1.10.0)

1.10.0 (latest) 1.9.0 1.8.0 1.7.1 1.6.0 1.5.2 1.4.1 1.3.0 1.2.0 1.1.1 1.0.0 0.12.0 0.11.2 0.10.0 0.9.0 0.8.0 0.7.3 0.6.0 0.5.2 0.4.2 Reference documentation and code samples for the Cloud Translation V3 API class Google::Cloud::Translate::V3::GlossaryInputConfig.

Input configuration for glossaries.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #gcs_source

    def gcs_source() -> ::Google::Cloud::Translate::V3::GcsSource

**Returns**

- ([::Google::Cloud::Translate::V3::GcsSource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-translate-v3/latest/Google-Cloud-Translate-V3-GcsSource)) ---

  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](https://cloud.google.com/translate/docs/advanced/glossary).

### #gcs_source=

    def gcs_source=(value) -> ::Google::Cloud::Translate::V3::GcsSource

**Parameter**

- **value** ([::Google::Cloud::Translate::V3::GcsSource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-translate-v3/latest/Google-Cloud-Translate-V3-GcsSource)) ---

  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](https://cloud.google.com/translate/docs/advanced/glossary).
**Returns**

- ([::Google::Cloud::Translate::V3::GcsSource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-translate-v3/latest/Google-Cloud-Translate-V3-GcsSource)) ---

  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](https://cloud.google.com/translate/docs/advanced/glossary).