[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-07-26(UTC)"],[[["\u003cp\u003e\u003ccode\u003eDriveItemsSelectedActionResponseBuilder\u003c/code\u003e helps create responses for actions taken on selected Drive items within Google Workspace add-ons.\u003c/p\u003e\n"],["\u003cp\u003eIt provides methods to build the response and request specific file access scopes, enhancing the add-on's functionality with Drive.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ebuild()\u003c/code\u003e finalizes the response, while \u003ccode\u003erequestFileScope()\u003c/code\u003e enables the add-on to request access to a specific Drive item, streamlining user interactions.\u003c/p\u003e\n"]]],["The `DriveItemsSelectedActionResponseBuilder` creates `DriveItemsSelectedActionResponse` objects. It offers two primary actions: `build()`, which finalizes and returns the validated response object, and `requestFileScope(itemId)`, which designates a specific Drive item by its ID for which file scope is being requested. The `requestFileScope` method allows chaining, returning the builder object. These are used to specify actions in context to a Drive item.\n"],null,["DriveItemsSelectedActionResponseBuilder\n\nA builder for [DriveItemsSelectedActionResponse](/apps-script/reference/card-service/drive-items-selected-action-response) objects. \n\nMethods\n\n| Method | Return type | Brief description |\n|-------------------------------------------------------|--------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------|\n| [build()](#build()) | [DriveItemsSelectedActionResponse](/apps-script/reference/card-service/drive-items-selected-action-response) | Builds the current Drive action response. |\n| [requestFileScope(itemId)](#requestFileScope(String)) | [DriveItemsSelectedActionResponseBuilder](#) | Specifies that the response requests file scope for the contextually-relevant item in Drive. |\n\nDetailed documentation \n\n`build()` \nBuilds the current Drive action response.\n\nReturn\n\n\n[DriveItemsSelectedActionResponse](/apps-script/reference/card-service/drive-items-selected-action-response) --- A validated [DriveItemsSelectedActionResponse](/apps-script/reference/card-service/drive-items-selected-action-response).\n\n*** ** * ** ***\n\n`request``File``Scope(itemId)` \nSpecifies that the response requests file scope for the contextually-relevant item in Drive.\n\nParameters\n\n| Name | Type | Description |\n|------------|----------|-------------------------------------------------|\n| `item``Id` | `String` | ID of the Drive item to request file scope for. |\n\nReturn\n\n\n[DriveItemsSelectedActionResponseBuilder](#) --- This object, for chaining."]]