Holds a set of Drive objects that are displayed in a row.
const driveDataSourceSpec = CardService.newDriveDataSourceSpec() .addItemType(CardService.DriveItemType.DOCUMENTS) .addItemType(CardService.DriveItemType.FORMS);
Methods
| Method | Return type | Brief description |
|---|---|---|
add | Drive | Adds a driveItemType to allowed item types list. |
Detailed documentation
addItemType(driveItemType)
Adds a driveItemType to allowed item types list.
Parameters
| Name | Type | Description |
|---|---|---|
drive | Drive | The driveItemType to add. |
Return
Drive — This object, for chaining.