Class: Google::Apis::GmailV1::CseIdentity
- Inherits:
-
Object
- Object
- Google::Apis::GmailV1::CseIdentity
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gmail_v1/classes.rb,
lib/google/apis/gmail_v1/representations.rb,
lib/google/apis/gmail_v1/representations.rb
Overview
Beta. 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.
Instance Attribute Summary collapse
-
#email_address ⇒ String
The email address for the sending identity.
-
#primary_key_pair_id ⇒ String
If a key pair is associated, the identifier of the key pair, CseKeyPair.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CseIdentity
constructor
A new instance of CseIdentity.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CseIdentity
Returns a new instance of CseIdentity.
126 127 128 |
# File 'lib/google/apis/gmail_v1/classes.rb', line 126 def initialize(**args) update!(**args) end |
Instance Attribute Details
#email_address ⇒ String
The email address for the sending identity. The email address must be the
primary email address of the authenticated user.
Corresponds to the JSON property emailAddress
119 120 121 |
# File 'lib/google/apis/gmail_v1/classes.rb', line 119 def email_address @email_address end |
#primary_key_pair_id ⇒ String
If a key pair is associated, the identifier of the key pair, CseKeyPair.
Corresponds to the JSON property primaryKeyPairId
124 125 126 |
# File 'lib/google/apis/gmail_v1/classes.rb', line 124 def primary_key_pair_id @primary_key_pair_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
131 132 133 134 |
# File 'lib/google/apis/gmail_v1/classes.rb', line 131 def update!(**args) @email_address = args[:email_address] if args.key?(:email_address) @primary_key_pair_id = args[:primary_key_pair_id] if args.key?(:primary_key_pair_id) end |