Class DriveDataSourceSpec

DriveDataSourceSpec

Contient un ensemble d'objets DriveItemType affichés sur une même ligne.

const driveDataSourceSpec =
    CardService.newDriveDataSourceSpec()
     .addItemType(CardService.DriveItemType.DOCUMENTS)
     .addItemType(CardService.DriveItemType.FORMS);

Méthodes

MéthodeType renvoyéBrève description
addItemType(driveItemType)DriveDataSourceSpecAjoute un driveItemType à la liste des types d'éléments autorisés.

Documentation détaillée

addItemType(driveItemType)

Ajoute un driveItemType à la liste des types d'éléments autorisés.

Paramètres

NomTypeDescription
driveItemTypeDriveItemTypedriveItemType à ajouter.

Renvois

DriveDataSourceSpec : cet objet, pour le chaînage.