Class EditorFileScopeActionResponse
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
ویرایشگر فایل Scope Action Response تغییراتی را در یک ویرایشگر، مانند Google Docs، Sheets یا Slides در واکنش به اقدامی که در UI انجام میشود، ایجاد میکند. به عنوان مثال یک درخواست برای محدوده drive.file
برای سند فعال فعلی.
روش ها
روش | نوع برگشت | شرح مختصر |
---|
print Json() | String | نمایش JSON این شی را چاپ می کند. |
مستندات دقیق
print Json()
نمایش JSON این شی را چاپ می کند. این فقط برای رفع اشکال است.
بازگشت
String
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003e\u003ccode\u003eEditorFileScopeActionResponse\u003c/code\u003e facilitates changes to Google Editors (Docs, Sheets, Slides) based on user actions, like requesting file access.\u003c/p\u003e\n"],["\u003cp\u003eIt includes a \u003ccode\u003eprintJson()\u003c/code\u003e method, primarily for debugging, that returns a JSON string representation of the object.\u003c/p\u003e\n"]]],[],null,["# Class EditorFileScopeActionResponse\n\nEditorFileScopeActionResponse\n\nMakes changes to an Editor, such as Google Docs, Sheets, or Slides in reaction to an action taken\nin the UI. For example a request for `drive.file` scope for the current active\ndocument. \n\n### Methods\n\n| Method | Return type | Brief description |\n|-----------------------------|-------------|------------------------------------------------|\n| [printJson()](#printJson()) | `String` | Prints the JSON representation of this object. |\n\nDetailed documentation\n----------------------\n\n### `print``Json()`\n\nPrints the JSON representation of this object. This is for debugging only.\n\n#### Return\n\n\n`String`"]]