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.



1618
1619
1620
# File 'lib/google/apis/gmail_v1/classes.rb', line 1618

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)


1611
1612
1613
# File 'lib/google/apis/gmail_v1/classes.rb', line 1611

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)


1616
1617
1618
# File 'lib/google/apis/gmail_v1/classes.rb', line 1616

def signing_key_pair_id
  @signing_key_pair_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1623
1624
1625
1626
# File 'lib/google/apis/gmail_v1/classes.rb', line 1623

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