Method | Description | |
---|---|---|
Build ( ) : |
Returns the Attachment.
|
|
CreateAttachmentBuilder ( string url, AttachmentType attachmentType ) : System |
Sets the required attributes for creating an Attachment.
|
|
SetAttachmentSubType ( AttachmentSubType attachmentSubType ) : CreateAttachmentBuilder |
Attachment sub type, only for GOOGLE_DRIVE type attachments; one of (DOCUMENT, SPREADSHEET, PRESENTATION, PDF, DRAWING)
|
|
SetDescription ( string description ) : CreateAttachmentBuilder |
Applicable when attaching to sheet or row only
|
|
SetName ( string name ) : CreateAttachmentBuilder |
Attachment name
|
|
SetUrl ( string url ) : CreateAttachmentBuilder |
Attachment temporary URL (files only)
|
public CreateAttachmentBuilder ( string url, AttachmentType attachmentType ) : System | ||
url | string | Attachment temporary URL (files only) |
attachmentType | AttachmentType | Attachment type (one of FILE, GOOGLE_DRIVE, /// LINK, BOX_COM, DROPBOX, or EVERNOTE) |
return | System |
public SetAttachmentSubType ( AttachmentSubType attachmentSubType ) : CreateAttachmentBuilder | ||
attachmentSubType | AttachmentSubType | the attachmentSubType |
return | CreateAttachmentBuilder |
public SetDescription ( string description ) : CreateAttachmentBuilder | ||
description | string | the description |
return | CreateAttachmentBuilder |
public SetName ( string name ) : CreateAttachmentBuilder | ||
name | string | Attachment name |
return | CreateAttachmentBuilder |
public SetUrl ( string url ) : CreateAttachmentBuilder | ||
url | string | the url |
return | CreateAttachmentBuilder |