Google Apps Script
  • Google Apps Script
Página inicial Guias Referência Amostras Suporte Add-ons Apps Script API
Google Apps Script
  • Google Apps Script
  • Página inicial
  • Guias
  • Referência
  • Amostras
  • Suporte
  • Add-ons
  • Apps Script API
  • Overview
  • G Suite Services
    • Calendar
      • Visão geral
      • CalendarApp
      • Classes
      • Calendar
      • CalendarEvent
      • CalendarEventSeries
      • EventGuest
      • EventRecurrence
      • RecurrenceRule
      • Enums
      • Color
      • EventColor
      • GuestStatus
      • Visibility
    • Contacts
      • Visão geral
      • ContactsApp
      • Classes
      • AddressField
      • CompanyField
      • Contact
      • ContactGroup
      • CustomField
      • DateField
      • EmailField
      • IMField
      • PhoneField
      • UrlField
      • Enums
      • ExtendedField
      • Field
      • Gender
      • Priority
      • Sensitivity
    • Data Studio
      • Visão geral
      • DataStudioApp
      • Classes
      • BigQueryConfig
      • Checkbox
      • CommunityConnector
      • Config
      • DebugError
      • Field
      • Fields
      • GetAuthTypeResponse
      • Info
      • OptionBuilder
      • SelectMultiple
      • SelectSingle
      • TextArea
      • TextInput
      • UserError
      • Enums
      • AggregationType
      • AuthType
      • BigQueryParameterType
      • FieldType
    • Document
      • Visão geral
      • DocumentApp
      • Classes
      • Body
      • Bookmark
      • ContainerElement
      • Document
      • Equation
      • EquationFunction
      • EquationFunctionArgumentSeparator
      • EquationSymbol
      • FooterSection
      • Footnote
      • FootnoteSection
      • HeaderSection
      • HorizontalRule
      • InlineDrawing
      • InlineImage
      • ListItem
      • NamedRange
      • PageBreak
      • Paragraph
      • Position
      • PositionedImage
      • Range
      • RangeBuilder
      • RangeElement
      • Table
      • TableCell
      • TableOfContents
      • TableRow
      • Text
      • UnsupportedElement
      • Interfaces
      • Element
      • Enums
      • Attribute
      • ElementType
      • FontFamily
      • GlyphType
      • HorizontalAlignment
      • ParagraphHeading
      • PositionedLayout
      • TextAlignment
      • VerticalAlignment
    • Domain
      • Migrate from Domain Service
    • Drive
      • Visão geral
      • DriveApp
      • Classes
      • File
      • FileIterator
      • Folder
      • FolderIterator
      • User
      • Enums
      • Access
      • Permission
    • Forms
      • Visão geral
      • FormApp
      • Classes
      • CheckboxGridItem
      • CheckboxGridValidation
      • CheckboxGridValidationBuilder
      • CheckboxItem
      • CheckboxValidation
      • CheckboxValidationBuilder
      • Choice
      • DateItem
      • DateTimeItem
      • DurationItem
      • Form
      • FormResponse
      • GridItem
      • GridValidation
      • GridValidationBuilder
      • ImageItem
      • ItemResponse
      • ListItem
      • MultipleChoiceItem
      • PageBreakItem
      • ParagraphTextItem
      • ParagraphTextValidation
      • ParagraphTextValidationBuilder
      • QuizFeedback
      • QuizFeedbackBuilder
      • ScaleItem
      • SectionHeaderItem
      • TextItem
      • TextValidation
      • TextValidationBuilder
      • TimeItem
      • VideoItem
      • Interfaces
      • Item
      • Enums
      • Alignment
      • DestinationType
      • FeedbackType
      • ItemType
      • PageNavigationType
    • Gmail
      • Visão geral
      • GmailApp
      • Classes
      • GmailAttachment
      • GmailDraft
      • GmailLabel
      • GmailMessage
      • GmailThread
    • Groups
      • Visão geral
      • GroupsApp
      • Classes
      • Group
      • Enums
      • Role
    • Language
      • Visão geral
      • LanguageApp
    • Maps
      • Visão geral
      • Maps
      • Classes
      • DirectionFinder
      • DirectionFinderEnums
      • ElevationSampler
      • Geocoder
      • StaticMap
      • StaticMapEnums
      • Enums
      • Avoid
      • Color
      • Format
      • MarkerSize
      • Mode
      • Type
    • Sites
      • Visão geral
      • SitesApp
      • Classes
      • Attachment
      • Column
      • Comment
      • ListItem
      • Page
      • Site
      • Enums
      • AttachmentType
      • PageType
    • Slides
      • Visão geral
      • SlidesApp
      • Classes
      • AffineTransform
      • AffineTransformBuilder
      • AutoText
      • Border
      • Color
      • ColorScheme
      • ConnectionSite
      • Fill
      • Group
      • Image
      • Layout
      • Line
      • LineFill
      • Link
      • List
      • ListStyle
      • Master
      • NotesMaster
      • NotesPage
      • Page
      • PageBackground
      • PageElement
      • PageElementRange
      • PageRange
      • Paragraph
      • ParagraphStyle
      • PictureFill
      • Point
      • Presentation
      • Selection
      • Shape
      • SheetsChart
      • Slide
      • SolidFill
      • Table
      • TableCell
      • TableCellRange
      • TableColumn
      • TableRow
      • TextRange
      • TextStyle
      • ThemeColor
      • Video
      • WordArt
      • Enums
      • AlignmentPosition
      • ArrowStyle
      • AutoTextType
      • CellMergeState
      • ContentAlignment
      • DashStyle
      • FillType
      • LineCategory
      • LineFillType
      • LineType
      • LinkType
      • ListPreset
      • PageBackgroundType
      • PageElementType
      • PageType
      • ParagraphAlignment
      • PlaceholderType
      • PredefinedLayout
      • SelectionType
      • ShapeType
      • SheetsChartEmbedType
      • SlideLinkingMode
      • SlidePosition
      • SpacingMode
      • TextBaselineOffset
      • TextDirection
      • ThemeColorType
      • VideoSourceType
    • Spreadsheet
      • Visão geral
      • SpreadsheetApp
      • Classes
      • Banding
      • BigQueryDataSourceSpec
      • BigQueryDataSourceSpecBuilder
      • BooleanCondition
      • ConditionalFormatRule
      • ConditionalFormatRuleBuilder
      • ContainerInfo
      • DataExecutionStatus
      • DataSource
      • DataSourceParameter
      • DataSourceSpec
      • DataSourceSpecBuilder
      • DataSourceTable
      • DataValidation
      • DataValidationBuilder
      • DeveloperMetadata
      • DeveloperMetadataFinder
      • DeveloperMetadataLocation
      • EmbeddedAreaChartBuilder
      • EmbeddedBarChartBuilder
      • EmbeddedChart
      • EmbeddedChartBuilder
      • EmbeddedColumnChartBuilder
      • EmbeddedComboChartBuilder
      • EmbeddedHistogramChartBuilder
      • EmbeddedLineChartBuilder
      • EmbeddedPieChartBuilder
      • EmbeddedScatterChartBuilder
      • EmbeddedTableChartBuilder
      • Filter
      • FilterCriteria
      • FilterCriteriaBuilder
      • GradientCondition
      • Group
      • NamedRange
      • OverGridImage
      • PageProtection
      • PivotFilter
      • PivotGroup
      • PivotTable
      • PivotValue
      • Protection
      • Range
      • RangeList
      • RichTextValue
      • RichTextValueBuilder
      • Selection
      • Sheet
      • Slicer
      • Spreadsheet
      • TextFinder
      • TextRotation
      • TextStyle
      • TextStyleBuilder
      • Enums
      • AutoFillSeries
      • BandingTheme
      • BooleanCriteria
      • BorderStyle
      • CopyPasteType
      • DataExecutionErrorCode
      • DataExecutionState
      • DataSourceParameterType
      • DataSourceType
      • DataValidationCriteria
      • DeveloperMetadataLocationType
      • DeveloperMetadataVisibility
      • Dimension
      • Direction
      • GroupControlTogglePosition
      • InterpolationType
      • PivotTableSummarizeFunction
      • PivotValueDisplayType
      • ProtectionType
      • RecalculationInterval
      • RelativeDate
      • SheetType
      • TextDirection
      • TextToColumnsDelimiter
      • WrapStrategy
  • Advanced Google Services
    • How to Enable Advanced Services
    • Admin SDK
      • Directory
      • Enterprise License Manager
      • Groups Migration
      • Groups Settings
      • G Suite Reseller
      • Reports
    • AdSense
    • Analytics
    • BigQuery
    • Calendar
    • Classroom
    • Docs
    • DoubleClick Campaigns
    • Drive
      • Drive
      • Drive Activity
    • Fusion Tables
    • Gmail
    • Google+
      • Google+
      • Google+ Domains
    • Mirror
    • People
    • Prediction
    • Sheets
    • Shopping Content
    • Slides
    • Tasks
    • Tag Manager
    • URL Shortener
    • YouTube
      • YouTube Data
      • YouTube Analytics
      • YouTube Content ID
  • Script Services
    • Base
      • Visão geral
      • Browser
      • Logger
      • MimeType
      • Session
      • console
      • Classes
      • Blob
      • Menu
      • PromptResponse
      • RgbColor
      • Ui
      • User
      • Interfaces
      • BlobSource
      • Enums
      • Button
      • ButtonSet
      • ColorType
      • Month
      • Weekday
    • Cache
      • Visão geral
      • CacheService
      • Classes
      • Cache
    • Card
      • Visão geral
      • CardService
      • Classes
      • Action
      • ActionResponse
      • ActionResponseBuilder
      • AuthorizationAction
      • AuthorizationException
      • Button
      • ButtonSet
      • Card
      • CardAction
      • CardBuilder
      • CardHeader
      • CardSection
      • ComposeActionResponse
      • ComposeActionResponseBuilder
      • Image
      • ImageButton
      • KeyValue
      • Navigation
      • Notification
      • OpenLink
      • SelectionInput
      • Suggestions
      • SuggestionsResponse
      • SuggestionsResponseBuilder
      • Switch
      • TextButton
      • TextInput
      • TextParagraph
      • UniversalActionResponse
      • UniversalActionResponseBuilder
      • UpdateDraftActionResponse
      • UpdateDraftActionResponseBuilder
      • UpdateDraftBodyAction
      • Widget
      • Enums
      • ComposedEmailType
      • ContentType
      • Icon
      • ImageStyle
      • LoadIndicator
      • OnClose
      • OpenAs
      • SelectionInputType
      • TextButtonStyle
      • UpdateDraftBodyType
    • Charts
      • Visão geral
      • Charts
      • Classes
      • AreaChartBuilder
      • BarChartBuilder
      • Chart
      • ChartOptions
      • ColumnChartBuilder
      • DataTable
      • DataTableBuilder
      • DataViewDefinition
      • DataViewDefinitionBuilder
      • LineChartBuilder
      • NumberRangeFilterBuilder
      • PieChartBuilder
      • ScatterChartBuilder
      • StringFilterBuilder
      • TableChartBuilder
      • TextStyle
      • TextStyleBuilder
      • Interfaces
      • DataTableSource
      • Enums
      • ChartHiddenDimensionStrategy
      • ChartMergeStrategy
      • ChartType
      • ColumnType
      • CurveStyle
      • MatchType
      • Orientation
      • PickerValuesLayout
      • PointStyle
      • Position
    • Content
      • Visão geral
      • ContentService
      • Classes
      • TextOutput
      • Enums
      • MimeType
    • HTML
      • Visão geral
      • google.script.history (client-side)
      • google.script.host (client-side)
      • google.script.run (client-side)
      • google.script.url (client-side)
      • HtmlService
      • Classes
      • HtmlOutput
      • HtmlOutputMetaTag
      • HtmlTemplate
      • Enums
      • SandboxMode
      • XFrameOptionsMode
    • JDBC
      • Visão geral
      • Jdbc
      • Classes
      • JdbcArray
      • JdbcBlob
      • JdbcCallableStatement
      • JdbcClob
      • JdbcConnection
      • JdbcDatabaseMetaData
      • JdbcDate
      • JdbcParameterMetaData
      • JdbcPreparedStatement
      • JdbcRef
      • JdbcResultSet
      • JdbcResultSetMetaData
      • JdbcRowId
      • JdbcSQLXML
      • JdbcSavepoint
      • JdbcStatement
      • JdbcStruct
      • JdbcTime
      • JdbcTimestamp
    • Lock
      • Visão geral
      • LockService
      • Classes
      • Lock
    • Mail
      • Visão geral
      • MailApp
    • Optimization
      • Visão geral
      • LinearOptimizationService
      • Classes
      • LinearOptimizationConstraint
      • LinearOptimizationEngine
      • LinearOptimizationSolution
      • Enums
      • Status
      • VariableType
    • Properties
      • Visão geral
      • PropertiesService
      • ScriptProperties
      • UserProperties
      • Classes
      • Properties
    • Script
      • Visão geral
      • ScriptApp
      • Classes
      • AuthorizationInfo
      • CalendarTriggerBuilder
      • ClockTriggerBuilder
      • DocumentTriggerBuilder
      • FormTriggerBuilder
      • Service
      • SpreadsheetTriggerBuilder
      • StateTokenBuilder
      • Trigger
      • TriggerBuilder
      • Enums
      • AuthMode
      • AuthorizationStatus
      • EventType
      • InstallationSource
      • TriggerSource
    • URL Fetch
      • Visão geral
      • UrlFetchApp
      • Classes
      • HTTPResponse
      • OAuthConfig Migration
    • Utilities
      • Visão geral
      • Utilities
      • Enums
      • Charset
      • DigestAlgorithm
      • MacAlgorithm
      • RsaAlgorithm
    • XML
      • Visão geral
      • XmlService
      • Classes
      • Attribute
      • Cdata
      • Comment
      • DocType
      • Document
      • Element
      • EntityRef
      • Format
      • Namespace
      • ProcessingInstruction
      • Text
      • Interfaces
      • Content
      • Enums
      • ContentType
  • Página inicial
  • Produtos
  • G Suite Developer
  • Apps Script
  • Referência

Enum AttachmentType

AttachmentType

A typesafe enum for sites attachment type.

A rebuilt version of Sites was launched on November 22, 2016. Apps Script cannot currently access or modify Sites made with this version, but script can still access classic Sites.

Properties

PropertyTypeDescription
WEBEnum
HOSTEDEnum

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

  • Blog Blog
    The latest news on the G Suite Developers blog
  • GitHub GitHub
    Fork our samples and try them yourself
  • Issue Tracker Issue Tracker
    Something wrong? Send us a bug report!
  • Stack Overflow Stack Overflow
    Ask a question under the google-apps-script tag
  • Videos Videos
    Check out the Apps Script videos on YouTube
  • Tools

    • Script Editor
    • Apps Script Dashboard
  • Connect

    • @gsuitedevs on Twitter
  • Product Info

    • Terms of Service
Google Developers
  • Android
  • Chrome
  • Firebase
  • Google Cloud Platform
  • Todos os produtos
  • Termos de Serviço
  • Privacidade
  • Inscrever-se para receber a newsletter do Google Developers Inscrever-se