Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Returns the developer metadata with the specified ID. The caller must specify the spreadsheet ID and the developer metadata's unique metadataId.
See: Google Sheets API Reference for sheets.spreadsheets.developerMetadata.get
.
Synopsis
- type SpreadsheetsDeveloperMetadataGetResource = "v4" :> ("spreadsheets" :> (Capture "spreadsheetId" Text :> ("developerMetadata" :> (Capture "metadataId" (Textual Int32) :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] DeveloperMetadata))))))))))
- spreadsheetsDeveloperMetadataGet :: Int32 -> Text -> SpreadsheetsDeveloperMetadataGet
- data SpreadsheetsDeveloperMetadataGet
- sdmgXgafv :: Lens' SpreadsheetsDeveloperMetadataGet (Maybe Xgafv)
- sdmgUploadProtocol :: Lens' SpreadsheetsDeveloperMetadataGet (Maybe Text)
- sdmgMetadataId :: Lens' SpreadsheetsDeveloperMetadataGet Int32
- sdmgAccessToken :: Lens' SpreadsheetsDeveloperMetadataGet (Maybe Text)
- sdmgSpreadsheetId :: Lens' SpreadsheetsDeveloperMetadataGet Text
- sdmgUploadType :: Lens' SpreadsheetsDeveloperMetadataGet (Maybe Text)
- sdmgCallback :: Lens' SpreadsheetsDeveloperMetadataGet (Maybe Text)
REST Resource
type SpreadsheetsDeveloperMetadataGetResource = "v4" :> ("spreadsheets" :> (Capture "spreadsheetId" Text :> ("developerMetadata" :> (Capture "metadataId" (Textual Int32) :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] DeveloperMetadata)))))))))) Source #
A resource alias for sheets.spreadsheets.developerMetadata.get
method which the
SpreadsheetsDeveloperMetadataGet
request conforms to.
Creating a Request
spreadsheetsDeveloperMetadataGet Source #
Creates a value of SpreadsheetsDeveloperMetadataGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SpreadsheetsDeveloperMetadataGet Source #
Returns the developer metadata with the specified ID. The caller must specify the spreadsheet ID and the developer metadata's unique metadataId.
See: spreadsheetsDeveloperMetadataGet
smart constructor.
Instances
Request Lenses
sdmgUploadProtocol :: Lens' SpreadsheetsDeveloperMetadataGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
sdmgMetadataId :: Lens' SpreadsheetsDeveloperMetadataGet Int32 Source #
The ID of the developer metadata to retrieve.
sdmgAccessToken :: Lens' SpreadsheetsDeveloperMetadataGet (Maybe Text) Source #
OAuth access token.
sdmgSpreadsheetId :: Lens' SpreadsheetsDeveloperMetadataGet Text Source #
The ID of the spreadsheet to retrieve metadata from.
sdmgUploadType :: Lens' SpreadsheetsDeveloperMetadataGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").