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

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

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






CseIdentity (Gmail API v1-rev20240422-2.0.0)












com.google.api.services.gmail.model

Class CseIdentity

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


    public final class CseIdentity
    extends com.google.api.client.json.GenericJson
    The client-side encryption (CSE) configuration for the email address of an authenticated user. Gmail uses CSE configurations to save drafts of client-side encrypted email messages, and to sign and send encrypted email messages.

    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

      • CseIdentity

        public CseIdentity()
    • Method Detail

      • getEmailAddress

        public String getEmailAddress()
        The email address for the sending identity. The email address must be the primary email address of the authenticated user.
        Returns:
        value or null for none
      • setEmailAddress

        public CseIdentity setEmailAddress(String emailAddress)
        The email address for the sending identity. The email address must be the primary email address of the authenticated user.
        Parameters:
        emailAddress - emailAddress or null for none
      • getPrimaryKeyPairId

        public String getPrimaryKeyPairId()
        If a key pair is associated, the ID of the key pair, CseKeyPair.
        Returns:
        value or null for none
      • setPrimaryKeyPairId

        public CseIdentity setPrimaryKeyPairId(String primaryKeyPairId)
        If a key pair is associated, the ID of the key pair, CseKeyPair.
        Parameters:
        primaryKeyPairId - primaryKeyPairId or null for none
      • getSignAndEncryptKeyPairs

        public SignAndEncryptKeyPairs getSignAndEncryptKeyPairs()
        The configuration of a CSE identity that uses different key pairs for signing and encryption.
        Returns:
        value or null for none
      • setSignAndEncryptKeyPairs

        public CseIdentity setSignAndEncryptKeyPairs(SignAndEncryptKeyPairs signAndEncryptKeyPairs)
        The configuration of a CSE identity that uses different key pairs for signing and encryption.
        Parameters:
        signAndEncryptKeyPairs - signAndEncryptKeyPairs or null for none
      • set

        public CseIdentity set(String fieldName,
                               Object value)
        Overrides:
        set in class com.google.api.client.json.GenericJson
      • clone

        public CseIdentity 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