All Downloads are FREE. Search and download functionalities are using the official Maven repository.

target.apidocs.com.google.api.services.translate.v3beta1.model.TranslateTextGlossaryConfig.html Maven / Gradle / Ivy







TranslateTextGlossaryConfig (Cloud Translation API v3beta1-rev20230210-2.0.0)












com.google.api.services.translate.v3beta1.model

Class TranslateTextGlossaryConfig

  • All Implemented Interfaces:
    Cloneable, Map<String,Object>


    public final class TranslateTextGlossaryConfig
    extends com.google.api.client.json.GenericJson
    Configures which glossary should be used for a specific target language, and defines options for applying that glossary.

    This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud Translation API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json

    Author:
    Google, Inc.
    • Constructor Detail

      • TranslateTextGlossaryConfig

        public TranslateTextGlossaryConfig()
    • Method Detail

      • getGlossary

        public String getGlossary()
        Required. Specifies the glossary used for this translation. Use this format: projects/locations/glossaries
        Returns:
        value or null for none
      • setGlossary

        public TranslateTextGlossaryConfig setGlossary(String glossary)
        Required. Specifies the glossary used for this translation. Use this format: projects/locations/glossaries
        Parameters:
        glossary - glossary or null for none
      • getIgnoreCase

        public Boolean getIgnoreCase()
        Optional. Indicates match is case-insensitive. Default value is false if missing.
        Returns:
        value or null for none
      • setIgnoreCase

        public TranslateTextGlossaryConfig setIgnoreCase(Boolean ignoreCase)
        Optional. Indicates match is case-insensitive. Default value is false if missing.
        Parameters:
        ignoreCase - ignoreCase or null for none

Copyright © 2011–2023 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy