AI-generated Key Takeaways
-
The DriveItemsSelectedActionResponseBuilder is used to create DriveItemsSelectedActionResponse objects.
-
The
build()method finalizes and returns the Drive action response object. -
The
requestFileScope(itemId)method allows the response to request file scope for a specific Drive item.
A builder for Drive objects.
Methods
| Method | Return type | Brief description |
|---|---|---|
build() | Drive | Builds the current Drive action response. |
request | Drive | Specifies that the response requests file scope for the contextually-relevant item in Drive. |
Detailed documentation
build()
Builds the current Drive action response.
Return
Drive — A validated Drive.
requestFileScope(itemId)
Specifies that the response requests file scope for the contextually-relevant item in Drive.
Parameters
| Name | Type | Description |
|---|---|---|
item | String | ID of the Drive item to request file scope for. |
Return
Drive — This object, for chaining.