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

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

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






Gmail.Users.Settings.SendAs.SmimeInfo (Gmail API v1-rev20230925-2.0.0)












com.google.api.services.gmail

Class Gmail.Users.Settings.SendAs.SmimeInfo

  • java.lang.Object
    • com.google.api.services.gmail.Gmail.Users.Settings.SendAs.SmimeInfo
    • Constructor Detail

      • SmimeInfo

        public SmimeInfo()
    • Method Detail

      • delete

        public Gmail.Users.Settings.SendAs.SmimeInfo.Delete delete(String userId,
                                                                   String sendAsEmail,
                                                                   String id)
                                                            throws IOException
        Deletes the specified S/MIME config for the specified send-as alias. Create a request for the method "smimeInfo.delete". 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 - The user's email address. The special value `me` can be used to indicate the authenticated user. [default: me]
        sendAsEmail - The email address that appears in the "From:" header for mail sent using this alias.
        id - The immutable ID for the SmimeInfo.
        Returns:
        the request
        Throws:
        IOException
      • get

        public Gmail.Users.Settings.SendAs.SmimeInfo.Get get(String userId,
                                                             String sendAsEmail,
                                                             String id)
                                                      throws IOException
        Gets the specified S/MIME config for the specified send-as alias. Create a request for the method "smimeInfo.get". 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 - The user's email address. The special value `me` can be used to indicate the authenticated user. [default: me]
        sendAsEmail - The email address that appears in the "From:" header for mail sent using this alias.
        id - The immutable ID for the SmimeInfo.
        Returns:
        the request
        Throws:
        IOException
      • insert

        public Gmail.Users.Settings.SendAs.SmimeInfo.Insert insert(String userId,
                                                                   String sendAsEmail,
                                                                   SmimeInfo content)
                                                            throws IOException
        Insert (upload) the given S/MIME config for the specified send-as alias. Note that pkcs12 format is required for the key. Create a request for the method "smimeInfo.insert". 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 - The user's email address. The special value `me` can be used to indicate the authenticated user. [default: me]
        sendAsEmail - The email address that appears in the "From:" header for mail sent using this alias.
        content - the SmimeInfo
        Returns:
        the request
        Throws:
        IOException
      • list

        public Gmail.Users.Settings.SendAs.SmimeInfo.List list(String userId,
                                                               String sendAsEmail)
                                                        throws IOException
        Lists S/MIME configs for the specified send-as alias. Create a request for the method "smimeInfo.list". 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 - The user's email address. The special value `me` can be used to indicate the authenticated user. [default: me]
        sendAsEmail - The email address that appears in the "From:" header for mail sent using this alias.
        Returns:
        the request
        Throws:
        IOException
      • setDefault

        public Gmail.Users.Settings.SendAs.SmimeInfo.SetDefault setDefault(String userId,
                                                                           String sendAsEmail,
                                                                           String id)
                                                                    throws IOException
        Sets the default S/MIME config for the specified send-as alias. Create a request for the method "smimeInfo.setDefault". 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 - The user's email address. The special value `me` can be used to indicate the authenticated user. [default: me]
        sendAsEmail - The email address that appears in the "From:" header for mail sent using this alias.
        id - The immutable ID for the SmimeInfo.
        Returns:
        the request
        Throws:
        IOException

Copyright © 2011–2023 Google. All rights reserved.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy