Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Изменено форматирование.

...

Get a list of files Version 1 (Net)

Группа действий: Сервисы Google 

Описание

Action group: Google services

...

Description

This action is designed to retrieve a list of files from Данное действие предназначено для получения списка файлов из  Google Drive. 

...

Action icon

Image AddedImage Removed

Параметры

Входные параметры  

Контекст                        Контекст сеанса работы с Google Drive

Выходные параметры

Массив параметров файлов Массив параметров файлов.

Настройки

Settings of parameters

PropertyDescriptionTypeFilling exampleMandatory field
Parameters
ContextThe context of the Google Drive sessionRobin.GoogleDriv e
Yes
Results

Свойство

Англ. наименование

Описание

Тип

Пример заполнения

Обязательность заполнения поля

Параметры

Контекст

Context

Контекст сеанса работы с Google Drive

Robin.GoogleDrive

Да

РезультатыМассив параметров файлов
Array of file parameters

Массив параметров файлов. Параметры записаны в словарь строк.

Доступные параметры: имя файла «name», идентификатор файла «id», MIME-тип документа «mimeType», расширение файла
AAn array of file parameters. Parameters are written in a string dictionary. Available parameters: file name «name», file ID «id», document MIME type «mimeType», file extension «fileExtension»Robin.Collection

Особые условия использования

Отсутствуют.

Пример использования 

Задача

Необходимо настроить подключение к Google Drive и получить список файлов.  

Решение



Special conditions of use

None.

Example of use

Task

You need to set up a connection to Google Drive and get a list of files.  

Solution

Use the Воспользоваться действием "Connect to Google Drive", "Get a list of files" action

Реализация

Implementation

  1. Move actions to the workspaceПеретащить на рабочее пространство действия:


  2. Заполнить параметр "Путь к файлу" действия "Подключиться к Fill in the "File path" parameter of the "Connect to Google Drive"  (подробнее о файле в ИНСТРУКЦИЯ ПО НАСТРОЙКЕ ПОДКЛЮЧЕНИЯ к action (more about the file in the Instructions for setting up a connection to Google Sheets/Docs/Drive):
    Image Removed
    Заполнить параметры действия "Получить список файлов".
    Image Removed
    В поле "Контекст" указать контекст подключения к Google Drive. 
    В поле "Массив параметров файлов" указать переменную типа "коллекция". 
  3. Нажать на кнопку "Старт" в верхней панели действий. 

Результат

Подключение к Google Drive выполнено успешно. Список файлов из Google Drive получен. 

Image Removed

  1. Image Added

  2. Fill in the parameters of the "Get a list of files" action.
    Image Added

  3. Click on the "Start" button in the top panel. 

Result

Connection to Google Drive is successful. A list of files from Google Drive has been retrieved. 

Image AddedImage Removed