Class ComposeActionResponseBuilder

Compose Action Response Builder

A builder for Compose Action Response objects.

Methods

Method Return type Brief description
Compose Action Response Builds the current compose action response and validates it.
Compose Action Response Builder Sets the draft Gmail Message created using Gmail Message.createDraftReply(body) or similar functions.

Detailed documentation

build()

Builds the current compose action response and validates it.

Return

Compose Action Response — A validated Compose Action Response .

Throws

Error — if the constructed compose action response isn't valid.


set Gmail Draft(draft)

Sets the draft Gmail Message created using Gmail Message.createDraftReply(body) or similar functions.

Parameters

Name Type Description
draft
Gmail Draft The Gmail Draft to use.

Return

Compose Action Response Builder — This object, for chaining.

Create a Mobile Website
View Site in Mobile | Classic
Share by: