Wenn Sie ein Enum aufrufen möchten, rufen Sie die übergeordnete Klasse, den Namen und die Eigenschaft auf. Beispiel:
SpreadsheetApp.DataSourceType.BIGQUERY.
Attribute
Attribut
Typ
Beschreibung
DATA_SOURCE_TYPE_UNSUPPORTED
Enum
Ein Datenquellentyp, der in Apps Script nicht unterstützt wird.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Benötigte Informationen nicht gefunden","missingTheInformationINeed","thumb-down"],["Zu umständlich/zu viele Schritte","tooComplicatedTooManySteps","thumb-down"],["Nicht mehr aktuell","outOfDate","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Problem mit Beispielen/Code","samplesCodeIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2024-12-03 (UTC)."],[[["`DataSourceType` is used to specify the type of data source used within Google Apps Script."],["The enum includes options for unsupported data sources, BigQuery, and Looker."],["To reference a specific data source type, use the syntax: `SpreadsheetApp.DataSourceType.[DataSourceType]`."]]],["The document defines `DataSourceType`, an enumeration of data source types used in Apps Script. It lists three properties: `DATA_SOURCE_TYPE_UNSUPPORTED` (a type not supported), `BIGQUERY` (a BigQuery data source), and `LOOKER` (a Looker data source). To use an enum, you must call it through its parent class, for example: `SpreadsheetApp.DataSourceType.BIGQUERY`. The property's `type` is `Enum`, and a short description is given for each property.\n"]]