Class: Google::Apis::GmailV1::SignAndEncryptKeyPairs

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SignAndEncryptKeyPairs

Returns a new instance of SignAndEncryptKeyPairs.



1756
1757
1758
# File 'lib/google/apis/gmail_v1/classes.rb', line 1756

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#encryption_key_pair_idString

The ID of the CseKeyPair that encrypts signed outgoing mail. Corresponds to the JSON property encryptionKeyPairId

Returns:

  • (String)


1749
1750
1751
# File 'lib/google/apis/gmail_v1/classes.rb', line 1749

def encryption_key_pair_id
  @encryption_key_pair_id
end

#signing_key_pair_idString

The ID of the CseKeyPair that signs outgoing mail. Corresponds to the JSON property signingKeyPairId

Returns:

  • (String)


1754
1755
1756
# File 'lib/google/apis/gmail_v1/classes.rb', line 1754

def signing_key_pair_id
  @signing_key_pair_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1761
1762
1763
1764
# File 'lib/google/apis/gmail_v1/classes.rb', line 1761

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