Class ComposeActionResponseBuilder

ComposeActionResponseBuilder

A builder for ComposeActionResponse objects.

Methods

MethodReturn typeBrief description
build()ComposeActionResponseBuilds the current compose action response and validates it.
setGmailDraft(draft)ComposeActionResponseBuilderSets the draft GmailMessage created using GmailMessage.createDraftReply(body) or similar functions.

Detailed documentation

build()

Builds the current compose action response and validates it.

Return

ComposeActionResponse — A validated ComposeActionResponse.

Throws

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


setGmailDraft(draft)

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

Parameters

NameTypeDescription
draftGmailDraftThe GmailDraft to use.

Return

ComposeActionResponseBuilder — This object, for chaining.

다음에 대한 의견 보내기...

도움이 필요하시나요? 지원 페이지를 방문하세요.