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.