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

target.apidocs.com.google.api.services.gmail.model.LanguageSettings.html Maven / Gradle / Ivy

There is a newer version: v1-rev20240520-2.0.0
Show newest version






LanguageSettings (Gmail API v1-rev20240422-2.0.0)












com.google.api.services.gmail.model

Class LanguageSettings

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


    public final class LanguageSettings
    extends com.google.api.client.json.GenericJson
    Language settings for an account. These settings correspond to the "Language settings" feature in the web interface.

    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 Gmail API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json

    Author:
    Google, Inc.
    • Constructor Detail

      • LanguageSettings

        public LanguageSettings()
    • Method Detail

      • getDisplayLanguage

        public String getDisplayLanguage()
        The language to display Gmail in, formatted as an RFC 3066 Language Tag (for example `en-GB`, `fr` or `ja` for British English, French, or Japanese respectively). The set of languages supported by Gmail evolves over time, so please refer to the "Language" dropdown in the Gmail settings for all available options, as described in the language settings help article. A table of sample values is also provided in the Managing Language Settings guide Not all Gmail clients can display the same set of languages. In the case that a user's display language is not available for use on a particular client, said client automatically chooses to display in the closest supported variant (or a reasonable default).
        Returns:
        value or null for none
      • setDisplayLanguage

        public LanguageSettings setDisplayLanguage(String displayLanguage)
        The language to display Gmail in, formatted as an RFC 3066 Language Tag (for example `en-GB`, `fr` or `ja` for British English, French, or Japanese respectively). The set of languages supported by Gmail evolves over time, so please refer to the "Language" dropdown in the Gmail settings for all available options, as described in the language settings help article. A table of sample values is also provided in the Managing Language Settings guide Not all Gmail clients can display the same set of languages. In the case that a user's display language is not available for use on a particular client, said client automatically chooses to display in the closest supported variant (or a reasonable default).
        Parameters:
        displayLanguage - displayLanguage or null for none
      • clone

        public LanguageSettings clone()
        Overrides:
        clone in class com.google.api.client.json.GenericJson

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy