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

target.apidocs.com.google.api.services.gmail.Gmail.Users.Settings.html Maven / Gradle / Ivy

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






Gmail.Users.Settings (Gmail API v1-rev20240422-2.0.0)












com.google.api.services.gmail

Class Gmail.Users.Settings

  • Enclosing class:
    Gmail.Users


    public class Gmail.Users.Settings
    extends Object
    The "settings" collection of methods.
    • Constructor Detail

      • Settings

        public Settings()
    • Method Detail

      • getAutoForwarding

        public Gmail.Users.Settings.GetAutoForwarding getAutoForwarding(String userId)
                                                                 throws IOException
        Gets the auto-forwarding setting for the specified account. Create a request for the method "settings.getAutoForwarding". This request holds the parameters needed by the gmail server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        userId - User's email address. The special value "me" can be used to indicate the authenticated user. [default: me]
        Returns:
        the request
        Throws:
        IOException
      • getImap

        public Gmail.Users.Settings.GetImap getImap(String userId)
                                             throws IOException
        Gets IMAP settings. Create a request for the method "settings.getImap". This request holds the parameters needed by the gmail server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        userId - User's email address. The special value "me" can be used to indicate the authenticated user. [default: me]
        Returns:
        the request
        Throws:
        IOException
      • getLanguage

        public Gmail.Users.Settings.GetLanguage getLanguage(String userId)
                                                     throws IOException
        Gets language settings. Create a request for the method "settings.getLanguage". This request holds the parameters needed by the gmail server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        userId - User's email address. The special value "me" can be used to indicate the authenticated user. [default: me]
        Returns:
        the request
        Throws:
        IOException
      • getPop

        public Gmail.Users.Settings.GetPop getPop(String userId)
                                           throws IOException
        Gets POP settings. Create a request for the method "settings.getPop". This request holds the parameters needed by the gmail server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        userId - User's email address. The special value "me" can be used to indicate the authenticated user. [default: me]
        Returns:
        the request
        Throws:
        IOException
      • getVacation

        public Gmail.Users.Settings.GetVacation getVacation(String userId)
                                                     throws IOException
        Gets vacation responder settings. Create a request for the method "settings.getVacation". This request holds the parameters needed by the gmail server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        userId - User's email address. The special value "me" can be used to indicate the authenticated user. [default: me]
        Returns:
        the request
        Throws:
        IOException
      • updateAutoForwarding

        public Gmail.Users.Settings.UpdateAutoForwarding updateAutoForwarding(String userId,
                                                                              AutoForwarding content)
                                                                       throws IOException
        Updates the auto-forwarding setting for the specified account. A verified forwarding address must be specified when auto-forwarding is enabled. This method is only available to service account clients that have been delegated domain-wide authority. Create a request for the method "settings.updateAutoForwarding". This request holds the parameters needed by the gmail server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        userId - User's email address. The special value "me" can be used to indicate the authenticated user. [default: me]
        content - the AutoForwarding
        Returns:
        the request
        Throws:
        IOException
      • updateImap

        public Gmail.Users.Settings.UpdateImap updateImap(String userId,
                                                          ImapSettings content)
                                                   throws IOException
        Updates IMAP settings. Create a request for the method "settings.updateImap". This request holds the parameters needed by the gmail server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        userId - User's email address. The special value "me" can be used to indicate the authenticated user. [default: me]
        content - the ImapSettings
        Returns:
        the request
        Throws:
        IOException
      • updateLanguage

        public Gmail.Users.Settings.UpdateLanguage updateLanguage(String userId,
                                                                  LanguageSettings content)
                                                           throws IOException
        Updates language settings. If successful, the return object contains the `displayLanguage` that was saved for the user, which may differ from the value passed into the request. This is because the requested `displayLanguage` may not be directly supported by Gmail but have a close variant that is, and so the variant may be chosen and saved instead. Create a request for the method "settings.updateLanguage". This request holds the parameters needed by the gmail server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        userId - User's email address. The special value "me" can be used to indicate the authenticated user. [default: me]
        content - the LanguageSettings
        Returns:
        the request
        Throws:
        IOException
      • updatePop

        public Gmail.Users.Settings.UpdatePop updatePop(String userId,
                                                        PopSettings content)
                                                 throws IOException
        Updates POP settings. Create a request for the method "settings.updatePop". This request holds the parameters needed by the gmail server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        userId - User's email address. The special value "me" can be used to indicate the authenticated user. [default: me]
        content - the PopSettings
        Returns:
        the request
        Throws:
        IOException
      • updateVacation

        public Gmail.Users.Settings.UpdateVacation updateVacation(String userId,
                                                                  VacationSettings content)
                                                           throws IOException
        Updates vacation responder settings. Create a request for the method "settings.updateVacation". This request holds the parameters needed by the gmail server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.
        Parameters:
        userId - User's email address. The special value "me" can be used to indicate the authenticated user. [default: me]
        content - the VacationSettings
        Returns:
        the request
        Throws:
        IOException
      • cse

        public Gmail.Users.Settings.Cse cse()
        An accessor for creating requests from the Cse collection.

        The typical use is:

            Gmail gmail = new Gmail(...);
            Gmail.Cse.List request = gmail.cse().list(parameters ...)
         
        Returns:
        the resource collection
      • delegates

        public Gmail.Users.Settings.Delegates delegates()
        An accessor for creating requests from the Delegates collection.

        The typical use is:

            Gmail gmail = new Gmail(...);
            Gmail.Delegates.List request = gmail.delegates().list(parameters ...)
         
        Returns:
        the resource collection
      • filters

        public Gmail.Users.Settings.Filters filters()
        An accessor for creating requests from the Filters collection.

        The typical use is:

            Gmail gmail = new Gmail(...);
            Gmail.Filters.List request = gmail.filters().list(parameters ...)
         
        Returns:
        the resource collection
      • forwardingAddresses

        public Gmail.Users.Settings.ForwardingAddresses forwardingAddresses()
        An accessor for creating requests from the ForwardingAddresses collection.

        The typical use is:

            Gmail gmail = new Gmail(...);
            Gmail.ForwardingAddresses.List request = gmail.forwardingAddresses().list(parameters ...)
         
        Returns:
        the resource collection
      • sendAs

        public Gmail.Users.Settings.SendAs sendAs()
        An accessor for creating requests from the SendAs collection.

        The typical use is:

            Gmail gmail = new Gmail(...);
            Gmail.SendAs.List request = gmail.sendAs().list(parameters ...)
         
        Returns:
        the resource collection

Copyright © 2011–2024 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy