Class: Google::Apis::VaultV1::MailOptions

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

Instance Method Summary collapse

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_optionString

Specifies whether the results should include encrypted content, unencrypted content, or both. Defaults to including both. Corresponds to the JSON property clientSideEncryptedOption

Returns:

  • (String)


1440
1441
1442
# File 'lib/google/apis/vault_v1/classes.rb', line 1440

def client_side_encrypted_option
  @client_side_encrypted_option
end

#exclude_draftsBoolean Also known as: exclude_drafts?

Set to true to exclude drafts. Corresponds to the JSON property excludeDrafts

Returns:

  • (Boolean)


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