سازنده برای اشیاء Editor File Scope Action Response .
روش ها
| روش | نوع برگشت | شرح مختصر |
|---|---|---|
build() | Editor File Scope Action Response | پاسخ فعلی ویرایشگر را ایجاد می کند. |
request File Scope For Active Document() | Editor File Scope Action Response Builder | محدوده drive.file را برای سند ویرایشگر فعال فعلی درخواست می کند. |
مستندات دقیق
build()
پاسخ فعلی ویرایشگر را ایجاد می کند.
بازگشت
Editor File Scope Action Response — Editor File Scope Action Response معتبر.
request File Scope For Active Document()
محدوده drive.file را برای سند ویرایشگر فعال فعلی درخواست می کند.
// Display a permissions dialog to the user, requesting `drive.file` scope for // the current document on behalf of this add-on. CardService.newEditorFileScopeActionResponseBuilder() .requestFileScopeForActiveDocument() .build();
توجه: برای فراخوانی این روش، باید محدوده drive.file را به مانیفست افزونه اضافه کنید.
بازگشت
Editor File Scope Action Response Builder - این شیء برای زنجیره زدن.