Class EditorFileScopeActionResponse
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
EdytorPlikZakresDziałanieOdpowiedź
wprowadza zmiany w edytorze, takim jak Dokumenty, Arkusze czy Prezentacje Google, w odpowiedzi na działanie podjęte w interfejsie; Na przykład prośba o zakres drive.file
dla bieżącego aktywnego dokumentu.
Metody
Metoda | Zwracany typ | Krótki opis |
printJson() | String | Wypisuje reprezentację obiektu w formacie JSON. |
Szczegółowa dokumentacja
printJson()
Wypisuje reprezentację obiektu w formacie JSON. Jest to tylko funkcja debugowania.
Powrót
String
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-26 UTC."],[[["\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`"]]