Class: Google::Apis::GmailV1::SignAndEncryptKeyPairs
- Inherits:
-
Object
- Object
- Google::Apis::GmailV1::SignAndEncryptKeyPairs
- 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
The configuration of a CSE identity that uses different key pairs for signing and encryption.
Instance Attribute Summary collapse
-
#encryption_key_pair_id ⇒ String
The ID of the CseKeyPair that encrypts signed outgoing mail.
-
#signing_key_pair_id ⇒ String
The ID of the CseKeyPair that signs outgoing mail.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SignAndEncryptKeyPairs
constructor
A new instance of SignAndEncryptKeyPairs.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SignAndEncryptKeyPairs
Returns a new instance of SignAndEncryptKeyPairs.
1715 1716 1717 |
# File 'lib/google/apis/gmail_v1/classes.rb', line 1715 def initialize(**args) update!(**args) end |
Instance Attribute Details
#encryption_key_pair_id ⇒ String
The ID of the CseKeyPair that encrypts signed outgoing mail.
Corresponds to the JSON property encryptionKeyPairId
1708 1709 1710 |
# File 'lib/google/apis/gmail_v1/classes.rb', line 1708 def encryption_key_pair_id @encryption_key_pair_id end |
#signing_key_pair_id ⇒ String
The ID of the CseKeyPair that signs outgoing mail.
Corresponds to the JSON property signingKeyPairId
1713 1714 1715 |
# File 'lib/google/apis/gmail_v1/classes.rb', line 1713 def signing_key_pair_id @signing_key_pair_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1720 1721 1722 1723 |
# File 'lib/google/apis/gmail_v1/classes.rb', line 1720 def update!(**args) @encryption_key_pair_id = args[:encryption_key_pair_id] if args.key?(:encryption_key_pair_id) @signing_key_pair_id = args[:signing_key_pair_id] if args.key?(:signing_key_pair_id) end |