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.



1593
1594
1595
# File 'lib/google/apis/gmail_v1/classes.rb', line 1593

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)


1586
1587
1588
# File 'lib/google/apis/gmail_v1/classes.rb', line 1586

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)


1591
1592
1593
# File 'lib/google/apis/gmail_v1/classes.rb', line 1591

def signing_key_pair_id
  @signing_key_pair_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1598
1599
1600
1601
# File 'lib/google/apis/gmail_v1/classes.rb', line 1598

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