Drive
Data
Source
Spec
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 |
|---|---|---|
Drive
|
Adds a driveItemType to allowed item types list. |
Detailed documentation
add
Item
Type(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.

