Class: Google::Apis::VaultV1::MailOptions
- Inherits:
-
Object
- Object
- Google::Apis::VaultV1::MailOptions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/vault_v1/classes.rb,
lib/google/apis/vault_v1/representations.rb,
lib/google/apis/vault_v1/representations.rb
Overview
Additional options for Gmail search
Instance Attribute Summary collapse
-
#client_side_encrypted_option ⇒ String
Specifies whether the results should include encrypted content, unencrypted content, or both.
-
#exclude_drafts ⇒ Boolean
(also: #exclude_drafts?)
Set to true to exclude drafts.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MailOptions
constructor
A new instance of MailOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ MailOptions
Returns a new instance of MailOptions.
1448 1449 1450 |
# File 'lib/google/apis/vault_v1/classes.rb', line 1448 def initialize(**args) update!(**args) end |
Instance Attribute Details
#client_side_encrypted_option ⇒ String
Specifies whether the results should include encrypted content, unencrypted
content, or both. Defaults to including both.
Corresponds to the JSON property clientSideEncryptedOption
1440 1441 1442 |
# File 'lib/google/apis/vault_v1/classes.rb', line 1440 def client_side_encrypted_option @client_side_encrypted_option end |
#exclude_drafts ⇒ Boolean Also known as: exclude_drafts?
Set to true to exclude drafts.
Corresponds to the JSON property excludeDrafts
1445 1446 1447 |
# File 'lib/google/apis/vault_v1/classes.rb', line 1445 def exclude_drafts @exclude_drafts end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1453 1454 1455 1456 |
# File 'lib/google/apis/vault_v1/classes.rb', line 1453 def update!(**args) @client_side_encrypted_option = args[:client_side_encrypted_option] if args.key?(:client_side_encrypted_option) @exclude_drafts = args[:exclude_drafts] if args.key?(:exclude_drafts) end |