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.



1328
1329
1330
# File 'lib/google/apis/vault_v1/classes.rb', line 1328

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

Instance Attribute Details

#exclude_draftsBoolean Also known as: exclude_drafts?

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

Returns:

  • (Boolean)


1325
1326
1327
# File 'lib/google/apis/vault_v1/classes.rb', line 1325

def exclude_drafts
  @exclude_drafts
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1333
1334
1335
# File 'lib/google/apis/vault_v1/classes.rb', line 1333

def update!(**args)
  @exclude_drafts = args[:exclude_drafts] if args.key?(:exclude_drafts)
end