Reference documentation and code samples for the Google Workspace Add-ons V1 API class Google::Apps::Script::Type::Gmail::ComposeTrigger.
A trigger that activates when user is composing an email.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#actions
def actions() -> ::Array<::Google::Apps::Script::Type::MenuItemExtensionPoint>
Returns
- (::Array<::Google::Apps::Script::Type::MenuItemExtensionPoint>) — Defines the set of actions for compose time add-on. These are actions that user can trigger on a compose time addon.
#actions=
def actions=(value) -> ::Array<::Google::Apps::Script::Type::MenuItemExtensionPoint>
Parameter
- value (::Array<::Google::Apps::Script::Type::MenuItemExtensionPoint>) — Defines the set of actions for compose time add-on. These are actions that user can trigger on a compose time addon.
Returns
- (::Array<::Google::Apps::Script::Type::MenuItemExtensionPoint>) — Defines the set of actions for compose time add-on. These are actions that user can trigger on a compose time addon.
#draft_access
def draft_access() -> ::Google::Apps::Script::Type::Gmail::ComposeTrigger::DraftAccess
Returns
- (::Google::Apps::Script::Type::Gmail::ComposeTrigger::DraftAccess) — Define the level of data access when a compose time addon is triggered.
#draft_access=
def draft_access=(value) -> ::Google::Apps::Script::Type::Gmail::ComposeTrigger::DraftAccess
Parameter
- value (::Google::Apps::Script::Type::Gmail::ComposeTrigger::DraftAccess) — Define the level of data access when a compose time addon is triggered.
Returns
- (::Google::Apps::Script::Type::Gmail::ComposeTrigger::DraftAccess) — Define the level of data access when a compose time addon is triggered.