pub struct CseIdentity {
pub email_address: Option<String>,
pub primary_key_pair_id: Option<String>,
pub sign_and_encrypt_key_pairs: Option<SignAndEncryptKeyPairs>,
}Expand description
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. For administrators managing identities and keypairs for users in their organization, requests require authorization with a service account that has domain-wide delegation authority to impersonate users with the https://www.googleapis.com/auth/gmail.settings.basic scope. For users managing their own identities and keypairs, requests require hardware key encryption turned on and configured.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- settings cse identities create users (request|response)
- settings cse identities get users (response)
- settings cse identities patch users (request|response)
Fields§
§email_address: Option<String>The email address for the sending identity. The email address must be the primary email address of the authenticated user.
primary_key_pair_id: Option<String>If a key pair is associated, the ID of the key pair, CseKeyPair.
sign_and_encrypt_key_pairs: Option<SignAndEncryptKeyPairs>The configuration of a CSE identity that uses different key pairs for signing and encryption.
Trait Implementations§
Source§impl Clone for CseIdentity
impl Clone for CseIdentity
Source§fn clone(&self) -> CseIdentity
fn clone(&self) -> CseIdentity
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more