on develop help sign in
Regenerating all services
commit97884f6556bcf1c2e143c8bd9dde24912bd17d6e authorBrendan Hay <brendan.g.hay@gmail.com> dateFri 23 Oct 2015, 18:58 (11 years ago) parentb968f43
56 files changed+231−204
gogol-adexchange-seller/gen/Network/Google/Resource/AdExchangeSeller/Accounts/Reports/Generate.hs+5−3 gogol-admin-emailmigration/gen/Network/Google/Resource/EmailMigration/Mail/Insert.hs+3−3 gogol-adsense/gen/Network/Google/Resource/AdSense/Accounts/Reports/Generate.hs+5−3 gogol-adsense/gen/Network/Google/Resource/AdSense/Reports/Generate.hs+4−4 gogol-analytics/gen/Network/Google/Resource/Analytics/Management/Uploads/UploadData.hs+4−4 gogol-android-publisher/gen/Network/Google/Resource/AndroidPublisher/Edits/APKs/Upload.hs+4−4 gogol-android-publisher/gen/Network/Google/Resource/AndroidPublisher/Edits/ExpansionFiles/Upload.hs+3−4 gogol-android-publisher/gen/Network/Google/Resource/AndroidPublisher/Edits/Images/Upload.hs+5−5 gogol-bigquery/gen/Network/Google/Resource/BigQuery/Jobs/Insert.hs+3−3 gogol-books/gen/Network/Google/Books/Types/Sum.hs+3−3 gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/CreativeAssets/Insert.hs+5−4 gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Files/Get.hs+3−3 gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Reports/Files/Get.hs+4−4 gogol-doubleclick-search/gen/Network/Google/Resource/DoubleClickSearch/Reports/GetFile.hs+3−3 gogol-drive/gen/Network/Google/Resource/Drive/Files/Get.hs+3−3 gogol-drive/gen/Network/Google/Resource/Drive/Files/Insert.hs+4−3 gogol-drive/gen/Network/Google/Resource/Drive/Files/Update.hs+4−3 gogol-drive/gen/Network/Google/Resource/Drive/Files/Watch.hs+4−3 gogol-drive/gen/Network/Google/Resource/Drive/Realtime/Get.hs+4−3 gogol-drive/gen/Network/Google/Resource/Drive/Realtime/Update.hs+4−4 gogol-freebasesearch/gen/Network/Google/Method/Freebase/Search.hs+3−3 gogol-fusiontables/gen/Network/Google/Resource/FusionTables/Query/SQL.hs+3−3 gogol-fusiontables/gen/Network/Google/Resource/FusionTables/Query/SQLGet.hs+4−3 gogol-fusiontables/gen/Network/Google/Resource/FusionTables/Table/ImportRows.hs+4−4 gogol-fusiontables/gen/Network/Google/Resource/FusionTables/Table/ImportTable.hs+3−4 gogol-fusiontables/gen/Network/Google/Resource/FusionTables/Table/ReplaceRows.hs+3−4 gogol-games-configuration/gen/Network/Google/Resource/GamesConfiguration/ImageConfigurations/Upload.hs+3−4 gogol-gmail/gen/Network/Google/Resource/Gmail/Users/Drafts/Create.hs+5−4 gogol-gmail/gen/Network/Google/Resource/Gmail/Users/Drafts/Send.hs+4−3 gogol-gmail/gen/Network/Google/Resource/Gmail/Users/Drafts/Update.hs+5−4 gogol-gmail/gen/Network/Google/Resource/Gmail/Users/Messages/Import.hs+5−4 gogol-gmail/gen/Network/Google/Resource/Gmail/Users/Messages/Insert.hs+5−4 gogol-gmail/gen/Network/Google/Resource/Gmail/Users/Messages/Send.hs+5−4 gogol-groups-migration/gen/Network/Google/Resource/GroupsMigration/Archive/Insert.hs+5−6 gogol-maps-engine/gen/Network/Google/Resource/MapsEngine/Projects/Icons/Create.hs+5−4 gogol-maps-engine/gen/Network/Google/Resource/MapsEngine/Projects/Icons/Get.hs+4−4 gogol-maps-engine/gen/Network/Google/Resource/MapsEngine/Rasters/Files/Insert.hs+5−5 gogol-maps-engine/gen/Network/Google/Resource/MapsEngine/Tables/Files/Insert.hs+5−5 gogol-mirror/gen/Network/Google/Resource/Mirror/Timeline/Attachments/Get.hs+5−3 gogol-mirror/gen/Network/Google/Resource/Mirror/Timeline/Attachments/Insert.hs+4−6 gogol-mirror/gen/Network/Google/Resource/Mirror/Timeline/Insert.hs+4−3 gogol-mirror/gen/Network/Google/Resource/Mirror/Timeline/Update.hs+4−3 gogol-plus-domains/gen/Network/Google/Resource/PlusDomains/Media/Insert.hs+4−3 gogol-storage/gen/Network/Google/Resource/Storage/Objects/Compose.hs+3−3 gogol-storage/gen/Network/Google/Resource/Storage/Objects/Copy.hs+4−3 gogol-storage/gen/Network/Google/Resource/Storage/Objects/Get.hs+4−3 gogol-storage/gen/Network/Google/Resource/Storage/Objects/Insert.hs+8−6 gogol-storage/gen/Network/Google/Resource/Storage/Objects/Update.hs+4−3 gogol-youtube-reporting/gen/Network/Google/Resource/YouTubeReporting/Media/Download.hs+4−3 gogol-youtube/gen/Network/Google/Resource/YouTube/Captions/Download.hs+4−4 gogol-youtube/gen/Network/Google/Resource/YouTube/Captions/Insert.hs+4−3 gogol-youtube/gen/Network/Google/Resource/YouTube/Captions/Update.hs+4−3 gogol-youtube/gen/Network/Google/Resource/YouTube/ChannelBanners/Insert.hs+5−4 gogol-youtube/gen/Network/Google/Resource/YouTube/Thumbnails/Set.hs+5−4 gogol-youtube/gen/Network/Google/Resource/YouTube/Videos/Insert.hs+4−3 gogol-youtube/gen/Network/Google/Resource/YouTube/Watermarks/Set.hs+4−3
gogol-adexchange-seller/gen/Network/Google/Resource/AdExchangeSeller/Accounts/Reports/Generate.hs+5−3
@@ -229,9 +229,11 @@ instance GoogleRequest AccountsReportsGenerate where
229229 mempty
230230
231231instance GoogleRequest
232− (Download AccountsReportsGenerate) where
233− type Rs (Download AccountsReportsGenerate) = Stream
234− requestClient (Download AccountsReportsGenerate{..})
232+ (MediaDownload AccountsReportsGenerate) where
233+ type Rs (MediaDownload AccountsReportsGenerate) =
234+ Stream
235+ requestClient
236+ (MediaDownload AccountsReportsGenerate{..})
235237 = go _argAccountId (Just _argStartDate)
236238 (Just _argEndDate)
237239 (_argDimension ^. _Default)
gogol-admin-emailmigration/gen/Network/Google/Resource/EmailMigration/Mail/Insert.hs+3−3
@@ -106,9 +106,9 @@ instance GoogleRequest MailInsert where
106106 = buildClient (Proxy :: Proxy MailInsertResource)
107107 mempty
108108
109−instance GoogleRequest (Upload MailInsert) where
110− type Rs (Upload MailInsert) = ()
111− requestClient (Upload MailInsert{..} body)
109+instance GoogleRequest (MediaUpload MailInsert) where
110+ type Rs (MediaUpload MailInsert) = ()
111+ requestClient (MediaUpload MailInsert{..} body)
112112 = go _miUserKey (Just AltJSON) (Just AltMedia)
113113 _miPayload
114114 body
gogol-adsense/gen/Network/Google/Resource/AdSense/Accounts/Reports/Generate.hs+5−3
@@ -261,9 +261,11 @@ instance GoogleRequest AccountsReportsGenerate where
261261 mempty
262262
263263instance GoogleRequest
264− (Download AccountsReportsGenerate) where
265− type Rs (Download AccountsReportsGenerate) = Stream
266− requestClient (Download AccountsReportsGenerate{..})
264+ (MediaDownload AccountsReportsGenerate) where
265+ type Rs (MediaDownload AccountsReportsGenerate) =
266+ Stream
267+ requestClient
268+ (MediaDownload AccountsReportsGenerate{..})
267269 = go _argAccountId (Just _argStartDate)
268270 (Just _argEndDate)
269271 (_argDimension ^. _Default)
gogol-adsense/gen/Network/Google/Resource/AdSense/Reports/Generate.hs+4−4
@@ -255,10 +255,10 @@ instance GoogleRequest ReportsGenerate where
255255 (Proxy :: Proxy ReportsGenerateResource)
256256 mempty
257257
258−instance GoogleRequest (Download ReportsGenerate)
259− where
260− type Rs (Download ReportsGenerate) = Stream
261− requestClient (Download ReportsGenerate{..})
258+instance GoogleRequest
259+ (MediaDownload ReportsGenerate) where
260+ type Rs (MediaDownload ReportsGenerate) = Stream
261+ requestClient (MediaDownload ReportsGenerate{..})
262262 = go (Just _rgStartDate) (Just _rgEndDate)
263263 (_rgDimension ^. _Default)
264264 _rgLocale
gogol-analytics/gen/Network/Google/Resource/Analytics/Management/Uploads/UploadData.hs+4−4
@@ -134,15 +134,15 @@ instance GoogleRequest ManagementUploadsUploadData
134134 mempty
135135
136136instance GoogleRequest
137− (Upload ManagementUploadsUploadData) where
138− type Rs (Upload ManagementUploadsUploadData) = Upload
137+ (MediaUpload ManagementUploadsUploadData) where
138+ type Rs (MediaUpload ManagementUploadsUploadData) =
139+ Upload
139140 requestClient
140− (Upload ManagementUploadsUploadData{..} body)
141+ (MediaUpload ManagementUploadsUploadData{..} body)
141142 = go _muudAccountId _muudWebPropertyId
142143 _muudCustomDataSourceId
143144 (Just AltJSON)
144145 (Just AltMedia)
145− _muudPayload
146146 body
147147 analyticsService
148148 where _ :<|> go
gogol-android-publisher/gen/Network/Google/Resource/AndroidPublisher/Edits/APKs/Upload.hs+4−4
@@ -109,12 +109,12 @@ instance GoogleRequest EditsAPKsUpload where
109109 (Proxy :: Proxy EditsAPKsUploadResource)
110110 mempty
111111
112−instance GoogleRequest (Upload EditsAPKsUpload) where
113− type Rs (Upload EditsAPKsUpload) = APK
114− requestClient (Upload EditsAPKsUpload{..} body)
112+instance GoogleRequest (MediaUpload EditsAPKsUpload)
113+ where
114+ type Rs (MediaUpload EditsAPKsUpload) = APK
115+ requestClient (MediaUpload EditsAPKsUpload{..} body)
115116 = go _eapkuPackageName _eapkuEditId (Just AltJSON)
116117 (Just AltMedia)
117− _eapkuPayload
118118 body
119119 androidPublisherService
120120 where _ :<|> go
gogol-android-publisher/gen/Network/Google/Resource/AndroidPublisher/Edits/ExpansionFiles/Upload.hs+3−4
@@ -150,16 +150,15 @@ instance GoogleRequest EditsExpansionFilesUpload
150150 mempty
151151
152152instance GoogleRequest
153− (Upload EditsExpansionFilesUpload) where
154− type Rs (Upload EditsExpansionFilesUpload) =
153+ (MediaUpload EditsExpansionFilesUpload) where
154+ type Rs (MediaUpload EditsExpansionFilesUpload) =
155155 ExpansionFilesUploadResponse
156156 requestClient
157− (Upload EditsExpansionFilesUpload{..} body)
157+ (MediaUpload EditsExpansionFilesUpload{..} body)
158158 = go _ePackageName _eEditId _eAPKVersionCode
159159 _eExpansionFileType
160160 (Just AltJSON)
161161 (Just AltMedia)
162− _ePayload
163162 body
164163 androidPublisherService
165164 where _ :<|> go
gogol-android-publisher/gen/Network/Google/Resource/AndroidPublisher/Edits/Images/Upload.hs+5−5
@@ -144,16 +144,16 @@ instance GoogleRequest EditsImagesUpload where
144144 (Proxy :: Proxy EditsImagesUploadResource)
145145 mempty
146146
147−instance GoogleRequest (Upload EditsImagesUpload)
148− where
149− type Rs (Upload EditsImagesUpload) =
147+instance GoogleRequest
148+ (MediaUpload EditsImagesUpload) where
149+ type Rs (MediaUpload EditsImagesUpload) =
150150 ImagesUploadResponse
151− requestClient (Upload EditsImagesUpload{..} body)
151+ requestClient
152+ (MediaUpload EditsImagesUpload{..} body)
152153 = go _eiuPackageName _eiuEditId _eiuLanguage
153154 _eiuImageType
154155 (Just AltJSON)
155156 (Just AltMedia)
156− _eiuPayload
157157 body
158158 androidPublisherService
159159 where _ :<|> go
gogol-bigquery/gen/Network/Google/Resource/BigQuery/Jobs/Insert.hs+3−3
@@ -106,9 +106,9 @@ instance GoogleRequest JobsInsert where
106106 = buildClient (Proxy :: Proxy JobsInsertResource)
107107 mempty
108108
109−instance GoogleRequest (Upload JobsInsert) where
110− type Rs (Upload JobsInsert) = Job
111− requestClient (Upload JobsInsert{..} body)
109+instance GoogleRequest (MediaUpload JobsInsert) where
110+ type Rs (MediaUpload JobsInsert) = Job
111+ requestClient (MediaUpload JobsInsert{..} body)
112112 = go _jiProjectId (Just AltJSON) (Just AltMedia)
113113 _jiPayload
114114 body
gogol-books/gen/Network/Google/Books/Types/Sum.hs+3−3
@@ -662,7 +662,7 @@ data MyConfigRequestAccessLicenseTypes
662662 | Concurrent
663663 -- ^ @CONCURRENT@
664664 -- Concurrent access license.
665− | Download'
665+ | Download
666666 -- ^ @DOWNLOAD@
667667 -- Offline download access license.
668668 deriving (Eq,Ord,Enum,Read,Show,Data,Typeable,Generic)
@@ -673,14 +673,14 @@ instance FromText MyConfigRequestAccessLicenseTypes where
673673 fromText = \case
674674 "BOTH" -> Just Both
675675 "CONCURRENT" -> Just Concurrent
676− "DOWNLOAD" -> Just Download'
676+ "DOWNLOAD" -> Just Download
677677 _ -> Nothing
678678
679679instance ToText MyConfigRequestAccessLicenseTypes where
680680 toText = \case
681681 Both -> "BOTH"
682682 Concurrent -> "CONCURRENT"
683− Download' -> "DOWNLOAD"
683+ Download -> "DOWNLOAD"
684684
685685instance FromJSON MyConfigRequestAccessLicenseTypes where
686686 parseJSON = parseJSONText "MyConfigRequestAccessLicenseTypes"
gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/CreativeAssets/Insert.hs+5−4
@@ -126,11 +126,12 @@ instance GoogleRequest CreativeAssetsInsert where
126126 (Proxy :: Proxy CreativeAssetsInsertResource)
127127 mempty
128128
129−instance GoogleRequest (Upload CreativeAssetsInsert)
130− where
131− type Rs (Upload CreativeAssetsInsert) =
129+instance GoogleRequest
130+ (MediaUpload CreativeAssetsInsert) where
131+ type Rs (MediaUpload CreativeAssetsInsert) =
132132 CreativeAssetMetadata
133− requestClient (Upload CreativeAssetsInsert{..} body)
133+ requestClient
134+ (MediaUpload CreativeAssetsInsert{..} body)
134135 = go _caiProFileId _caiAdvertiserId (Just AltJSON)
135136 (Just AltMedia)
136137 _caiPayload
gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Files/Get.hs+3−3
@@ -103,9 +103,9 @@ instance GoogleRequest FilesGet where
103103 = buildClient (Proxy :: Proxy FilesGetResource)
104104 mempty
105105
106−instance GoogleRequest (Download FilesGet) where
107− type Rs (Download FilesGet) = Stream
108− requestClient (Download FilesGet{..})
106+instance GoogleRequest (MediaDownload FilesGet) where
107+ type Rs (MediaDownload FilesGet) = Stream
108+ requestClient (MediaDownload FilesGet{..})
109109 = go _fgReportId _fgFileId (Just AltMedia)
110110 dFAReportingService
111111 where _ :<|> go
gogol-dfareporting/gen/Network/Google/Resource/DFAReporting/Reports/Files/Get.hs+4−4
@@ -121,10 +121,10 @@ instance GoogleRequest ReportsFilesGet where
121121 (Proxy :: Proxy ReportsFilesGetResource)
122122 mempty
123123
124−instance GoogleRequest (Download ReportsFilesGet)
125− where
126− type Rs (Download ReportsFilesGet) = Stream
127− requestClient (Download ReportsFilesGet{..})
124+instance GoogleRequest
125+ (MediaDownload ReportsFilesGet) where
126+ type Rs (MediaDownload ReportsFilesGet) = Stream
127+ requestClient (MediaDownload ReportsFilesGet{..})
128128 = go _rfgProFileId _rfgReportId _rfgFileId
129129 (Just AltMedia)
130130 dFAReportingService
gogol-doubleclick-search/gen/Network/Google/Resource/DoubleClickSearch/Reports/GetFile.hs+3−3
@@ -105,10 +105,10 @@ instance GoogleRequest ReportsGetFile where
105105 = buildClient (Proxy :: Proxy ReportsGetFileResource)
106106 mempty
107107
108−instance GoogleRequest (Download ReportsGetFile)
108+instance GoogleRequest (MediaDownload ReportsGetFile)
109109 where
110− type Rs (Download ReportsGetFile) = Stream
111− requestClient (Download ReportsGetFile{..})
110+ type Rs (MediaDownload ReportsGetFile) = Stream
111+ requestClient (MediaDownload ReportsGetFile{..})
112112 = go _rgfReportId _rgfReportFragment (Just AltMedia)
113113 doubleClickSearchService
114114 where _ :<|> go
gogol-drive/gen/Network/Google/Resource/Drive/Files/Get.hs+3−3
@@ -145,9 +145,9 @@ instance GoogleRequest FilesGet where
145145 = buildClient (Proxy :: Proxy FilesGetResource)
146146 mempty
147147
148−instance GoogleRequest (Download FilesGet) where
149− type Rs (Download FilesGet) = Stream
150− requestClient (Download FilesGet{..})
148+instance GoogleRequest (MediaDownload FilesGet) where
149+ type Rs (MediaDownload FilesGet) = Stream
150+ requestClient (MediaDownload FilesGet{..})
151151 = go _fgFileId (Just _fgUpdateViewedDate)
152152 _fgProjection
153153 (Just _fgAcknowledgeAbuse)
gogol-drive/gen/Network/Google/Resource/Drive/Files/Insert.hs+4−3
@@ -200,9 +200,10 @@ instance GoogleRequest FilesInsert where
200200 = buildClient (Proxy :: Proxy FilesInsertResource)
201201 mempty
202202
203−instance GoogleRequest (Upload FilesInsert) where
204− type Rs (Upload FilesInsert) = File
205− requestClient (Upload FilesInsert{..} body)
203+instance GoogleRequest (MediaUpload FilesInsert)
204+ where
205+ type Rs (MediaUpload FilesInsert) = File
206+ requestClient (MediaUpload FilesInsert{..} body)
206207 = go (Just _fiPinned) (Just _fiVisibility)
207208 _fiTimedTextLanguage
208209 (Just _fiUseContentAsIndexableText)
gogol-drive/gen/Network/Google/Resource/Drive/Files/Update.hs+4−3
@@ -294,9 +294,10 @@ instance GoogleRequest FilesUpdate where
294294 = buildClient (Proxy :: Proxy FilesUpdateResource)
295295 mempty
296296
297−instance GoogleRequest (Upload FilesUpdate) where
298− type Rs (Upload FilesUpdate) = File
299− requestClient (Upload FilesUpdate{..} body)
297+instance GoogleRequest (MediaUpload FilesUpdate)
298+ where
299+ type Rs (MediaUpload FilesUpdate) = File
300+ requestClient (MediaUpload FilesUpdate{..} body)
300301 = go _fuFileId (Just _fuNewRevision) (Just _fuPinned)
301302 _fuTimedTextLanguage
302303 (Just _fuUpdateViewedDate)
gogol-drive/gen/Network/Google/Resource/Drive/Files/Watch.hs+4−3
@@ -160,9 +160,10 @@ instance GoogleRequest FilesWatch where
160160 = buildClient (Proxy :: Proxy FilesWatchResource)
161161 mempty
162162
163−instance GoogleRequest (Download FilesWatch) where
164− type Rs (Download FilesWatch) = Stream
165− requestClient (Download FilesWatch{..})
163+instance GoogleRequest (MediaDownload FilesWatch)
164+ where
165+ type Rs (MediaDownload FilesWatch) = Stream
166+ requestClient (MediaDownload FilesWatch{..})
166167 = go _fwFileId (Just _fwUpdateViewedDate)
167168 _fwProjection
168169 (Just _fwAcknowledgeAbuse)
gogol-drive/gen/Network/Google/Resource/Drive/Realtime/Get.hs+4−3
@@ -107,9 +107,10 @@ instance GoogleRequest RealtimeGet where
107107 = buildClient (Proxy :: Proxy RealtimeGetResource)
108108 mempty
109109
110−instance GoogleRequest (Download RealtimeGet) where
111− type Rs (Download RealtimeGet) = Stream
112− requestClient (Download RealtimeGet{..})
110+instance GoogleRequest (MediaDownload RealtimeGet)
111+ where
112+ type Rs (MediaDownload RealtimeGet) = Stream
113+ requestClient (MediaDownload RealtimeGet{..})
113114 = go _rrFileId _rrRevision (Just AltMedia)
114115 driveService
115116 where _ :<|> go
gogol-drive/gen/Network/Google/Resource/Drive/Realtime/Update.hs+4−4
@@ -112,12 +112,12 @@ instance GoogleRequest RealtimeUpdate where
112112 = buildClient (Proxy :: Proxy RealtimeUpdateResource)
113113 mempty
114114
115−instance GoogleRequest (Upload RealtimeUpdate) where
116− type Rs (Upload RealtimeUpdate) = ()
117− requestClient (Upload RealtimeUpdate{..} body)
115+instance GoogleRequest (MediaUpload RealtimeUpdate)
116+ where
117+ type Rs (MediaUpload RealtimeUpdate) = ()
118+ requestClient (MediaUpload RealtimeUpdate{..} body)
118119 = go _reaFileId _reaBaseRevision (Just AltJSON)
119120 (Just AltMedia)
120− _reaPayload
121121 body
122122 driveService
123123 where _ :<|> go
gogol-freebasesearch/gen/Network/Google/Method/Freebase/Search.hs+3−3
@@ -391,9 +391,9 @@ instance GoogleRequest Search where
391391 where go :<|> _
392392 = buildClient (Proxy :: Proxy SearchMethod) mempty
393393
394−instance GoogleRequest (Download Search) where
395− type Rs (Download Search) = Stream
396− requestClient (Download Search{..})
394+instance GoogleRequest (MediaDownload Search) where
395+ type Rs (MediaDownload Search) = Stream
396+ requestClient (MediaDownload Search{..})
397397 = go (_sWithout ^. _Default) _sCursor
398398 (_sWith ^. _Default)
399399 (_sDomain ^. _Default)
gogol-fusiontables/gen/Network/Google/Resource/FusionTables/Query/SQL.hs+3−3
@@ -116,9 +116,9 @@ instance GoogleRequest QuerySQL where
116116 = buildClient (Proxy :: Proxy QuerySQLResource)
117117 mempty
118118
119−instance GoogleRequest (Download QuerySQL) where
120− type Rs (Download QuerySQL) = Stream
121− requestClient (Download QuerySQL{..})
119+instance GoogleRequest (MediaDownload QuerySQL) where
120+ type Rs (MediaDownload QuerySQL) = Stream
121+ requestClient (MediaDownload QuerySQL{..})
122122 = go (Just _qsqlSQL) _qsqlTyped _qsqlHdrs
123123 (Just AltMedia)
124124 fusionTablesService
gogol-fusiontables/gen/Network/Google/Resource/FusionTables/Query/SQLGet.hs+4−3
@@ -114,9 +114,10 @@ instance GoogleRequest QuerySQLGet where
114114 = buildClient (Proxy :: Proxy QuerySQLGetResource)
115115 mempty
116116
117−instance GoogleRequest (Download QuerySQLGet) where
118− type Rs (Download QuerySQLGet) = Stream
119− requestClient (Download QuerySQLGet{..})
117+instance GoogleRequest (MediaDownload QuerySQLGet)
118+ where
119+ type Rs (MediaDownload QuerySQLGet) = Stream
120+ requestClient (MediaDownload QuerySQLGet{..})
120121 = go (Just _qsqlgSQL) _qsqlgTyped _qsqlgHdrs
121122 (Just AltMedia)
122123 fusionTablesService
gogol-fusiontables/gen/Network/Google/Resource/FusionTables/Table/ImportRows.hs+4−4
@@ -167,16 +167,16 @@ instance GoogleRequest TableImportRows where
167167 (Proxy :: Proxy TableImportRowsResource)
168168 mempty
169169
170−instance GoogleRequest (Upload TableImportRows) where
171− type Rs (Upload TableImportRows) = Import
172− requestClient (Upload TableImportRows{..} body)
170+instance GoogleRequest (MediaUpload TableImportRows)
171+ where
172+ type Rs (MediaUpload TableImportRows) = Import
173+ requestClient (MediaUpload TableImportRows{..} body)
173174 = go _tirTableId _tirStartLine _tirEndLine
174175 _tirDelimiter
175176 _tirEncoding
176177 _tirIsStrict
177178 (Just AltJSON)
178179 (Just AltMedia)
179− _tirPayload
180180 body
181181 fusionTablesService
182182 where _ :<|> go
gogol-fusiontables/gen/Network/Google/Resource/FusionTables/Table/ImportTable.hs+3−4
@@ -121,14 +121,13 @@ instance GoogleRequest TableImportTable where
121121 (Proxy :: Proxy TableImportTableResource)
122122 mempty
123123
124−instance GoogleRequest (Upload TableImportTable)
124+instance GoogleRequest (MediaUpload TableImportTable)
125125 where
126− type Rs (Upload TableImportTable) = Table
127− requestClient (Upload TableImportTable{..} body)
126+ type Rs (MediaUpload TableImportTable) = Table
127+ requestClient (MediaUpload TableImportTable{..} body)
128128 = go (Just _titName) _titDelimiter _titEncoding
129129 (Just AltJSON)
130130 (Just AltMedia)
131− _titPayload
132131 body
133132 fusionTablesService
134133 where _ :<|> go
gogol-fusiontables/gen/Network/Google/Resource/FusionTables/Table/ReplaceRows.hs+3−4
@@ -170,17 +170,16 @@ instance GoogleRequest TableReplaceRows where
170170 (Proxy :: Proxy TableReplaceRowsResource)
171171 mempty
172172
173−instance GoogleRequest (Upload TableReplaceRows)
173+instance GoogleRequest (MediaUpload TableReplaceRows)
174174 where
175− type Rs (Upload TableReplaceRows) = Task
176− requestClient (Upload TableReplaceRows{..} body)
175+ type Rs (MediaUpload TableReplaceRows) = Task
176+ requestClient (MediaUpload TableReplaceRows{..} body)
177177 = go _trrTableId _trrStartLine _trrEndLine
178178 _trrDelimiter
179179 _trrEncoding
180180 _trrIsStrict
181181 (Just AltJSON)
182182 (Just AltMedia)
183− _trrPayload
184183 body
185184 fusionTablesService
186185 where _ :<|> go
gogol-games-configuration/gen/Network/Google/Resource/GamesConfiguration/ImageConfigurations/Upload.hs+3−4
@@ -117,14 +117,13 @@ instance GoogleRequest ImageConfigurationsUpload
117117 mempty
118118
119119instance GoogleRequest
120− (Upload ImageConfigurationsUpload) where
121− type Rs (Upload ImageConfigurationsUpload) =
120+ (MediaUpload ImageConfigurationsUpload) where
121+ type Rs (MediaUpload ImageConfigurationsUpload) =
122122 ImageConfiguration
123123 requestClient
124− (Upload ImageConfigurationsUpload{..} body)
124+ (MediaUpload ImageConfigurationsUpload{..} body)
125125 = go _icuResourceId _icuImageType (Just AltJSON)
126126 (Just AltMedia)
127− _icuPayload
128127 body
129128 gamesConfigurationService
130129 where _ :<|> go
gogol-gmail/gen/Network/Google/Resource/Gmail/Users/Drafts/Create.hs+5−4
@@ -108,10 +108,11 @@ instance GoogleRequest UsersDraftsCreate where
108108 (Proxy :: Proxy UsersDraftsCreateResource)
109109 mempty
110110
111−instance GoogleRequest (Upload UsersDraftsCreate)
112− where
113− type Rs (Upload UsersDraftsCreate) = Draft
114− requestClient (Upload UsersDraftsCreate{..} body)
111+instance GoogleRequest
112+ (MediaUpload UsersDraftsCreate) where
113+ type Rs (MediaUpload UsersDraftsCreate) = Draft
114+ requestClient
115+ (MediaUpload UsersDraftsCreate{..} body)
115116 = go _udcUserId (Just AltJSON) (Just AltMedia)
116117 _udcPayload
117118 body
gogol-gmail/gen/Network/Google/Resource/Gmail/Users/Drafts/Send.hs+4−3
@@ -112,9 +112,10 @@ instance GoogleRequest UsersDraftsSend where
112112 (Proxy :: Proxy UsersDraftsSendResource)
113113 mempty
114114
115−instance GoogleRequest (Upload UsersDraftsSend) where
116− type Rs (Upload UsersDraftsSend) = Message
117− requestClient (Upload UsersDraftsSend{..} body)
115+instance GoogleRequest (MediaUpload UsersDraftsSend)
116+ where
117+ type Rs (MediaUpload UsersDraftsSend) = Message
118+ requestClient (MediaUpload UsersDraftsSend{..} body)
118119 = go _udsUserId (Just AltJSON) (Just AltMedia)
119120 _udsPayload
120121 body
gogol-gmail/gen/Network/Google/Resource/Gmail/Users/Drafts/Update.hs+5−4
@@ -120,10 +120,11 @@ instance GoogleRequest UsersDraftsUpdate where
120120 (Proxy :: Proxy UsersDraftsUpdateResource)
121121 mempty
122122
123−instance GoogleRequest (Upload UsersDraftsUpdate)
124− where
125− type Rs (Upload UsersDraftsUpdate) = Draft
126− requestClient (Upload UsersDraftsUpdate{..} body)
123+instance GoogleRequest
124+ (MediaUpload UsersDraftsUpdate) where
125+ type Rs (MediaUpload UsersDraftsUpdate) = Draft
126+ requestClient
127+ (MediaUpload UsersDraftsUpdate{..} body)
127128 = go _uduUserId _uduId (Just AltJSON) (Just AltMedia)
128129 _uduPayload
129130 body
gogol-gmail/gen/Network/Google/Resource/Gmail/Users/Messages/Import.hs+5−4
@@ -178,10 +178,11 @@ instance GoogleRequest UsersMessagesImport where
178178 (Proxy :: Proxy UsersMessagesImportResource)
179179 mempty
180180
181−instance GoogleRequest (Upload UsersMessagesImport)
182− where
183− type Rs (Upload UsersMessagesImport) = Message
184− requestClient (Upload UsersMessagesImport{..} body)
181+instance GoogleRequest
182+ (MediaUpload UsersMessagesImport) where
183+ type Rs (MediaUpload UsersMessagesImport) = Message
184+ requestClient
185+ (MediaUpload UsersMessagesImport{..} body)
185186 = go _umiUserId (Just _umiProcessForCalendar)
186187 (Just _umiDeleted)
187188 (Just _umiNeverMarkSpam)
gogol-gmail/gen/Network/Google/Resource/Gmail/Users/Messages/Insert.hs+5−4
@@ -143,10 +143,11 @@ instance GoogleRequest UsersMessagesInsert where
143143 (Proxy :: Proxy UsersMessagesInsertResource)
144144 mempty
145145
146−instance GoogleRequest (Upload UsersMessagesInsert)
147− where
148− type Rs (Upload UsersMessagesInsert) = Message
149− requestClient (Upload UsersMessagesInsert{..} body)
146+instance GoogleRequest
147+ (MediaUpload UsersMessagesInsert) where
148+ type Rs (MediaUpload UsersMessagesInsert) = Message
149+ requestClient
150+ (MediaUpload UsersMessagesInsert{..} body)
150151 = go _uUserId (Just _uDeleted)
151152 (Just _uInternalDateSource)
152153 (Just AltJSON)
gogol-gmail/gen/Network/Google/Resource/Gmail/Users/Messages/Send.hs+5−4
@@ -112,10 +112,11 @@ instance GoogleRequest UsersMessagesSend where
112112 (Proxy :: Proxy UsersMessagesSendResource)
113113 mempty
114114
115−instance GoogleRequest (Upload UsersMessagesSend)
116− where
117− type Rs (Upload UsersMessagesSend) = Message
118− requestClient (Upload UsersMessagesSend{..} body)
115+instance GoogleRequest
116+ (MediaUpload UsersMessagesSend) where
117+ type Rs (MediaUpload UsersMessagesSend) = Message
118+ requestClient
119+ (MediaUpload UsersMessagesSend{..} body)
119120 = go _umsUserId (Just AltJSON) (Just AltMedia)
120121 _umsPayload
121122 body
gogol-groups-migration/gen/Network/Google/Resource/GroupsMigration/Archive/Insert.hs+5−6
@@ -93,12 +93,11 @@ instance GoogleRequest ArchiveInsert where
9393 = buildClient (Proxy :: Proxy ArchiveInsertResource)
9494 mempty
9595
96−instance GoogleRequest (Upload ArchiveInsert) where
97− type Rs (Upload ArchiveInsert) = Groups
98− requestClient (Upload ArchiveInsert{..} body)
99− = go _aiGroupId (Just AltJSON) (Just AltMedia)
100− _aiPayload
101− body
96+instance GoogleRequest (MediaUpload ArchiveInsert)
97+ where
98+ type Rs (MediaUpload ArchiveInsert) = Groups
99+ requestClient (MediaUpload ArchiveInsert{..} body)
100+ = go _aiGroupId (Just AltJSON) (Just AltMedia) body
102101 groupsMigrationService
103102 where _ :<|> go
104103 = buildClient (Proxy :: Proxy ArchiveInsertResource)
gogol-maps-engine/gen/Network/Google/Resource/MapsEngine/Projects/Icons/Create.hs+5−4
@@ -107,10 +107,11 @@ instance GoogleRequest ProjectsIconsCreate where
107107 (Proxy :: Proxy ProjectsIconsCreateResource)
108108 mempty
109109
110−instance GoogleRequest (Upload ProjectsIconsCreate)
111− where
112− type Rs (Upload ProjectsIconsCreate) = Icon
113− requestClient (Upload ProjectsIconsCreate{..} body)
110+instance GoogleRequest
111+ (MediaUpload ProjectsIconsCreate) where
112+ type Rs (MediaUpload ProjectsIconsCreate) = Icon
113+ requestClient
114+ (MediaUpload ProjectsIconsCreate{..} body)
114115 = go _picProjectId (Just AltJSON) (Just AltMedia)
115116 _picPayload
116117 body
gogol-maps-engine/gen/Network/Google/Resource/MapsEngine/Projects/Icons/Get.hs+4−4
@@ -104,10 +104,10 @@ instance GoogleRequest ProjectsIconsGet where
104104 (Proxy :: Proxy ProjectsIconsGetResource)
105105 mempty
106106
107−instance GoogleRequest (Download ProjectsIconsGet)
108− where
109− type Rs (Download ProjectsIconsGet) = Stream
110− requestClient (Download ProjectsIconsGet{..})
107+instance GoogleRequest
108+ (MediaDownload ProjectsIconsGet) where
109+ type Rs (MediaDownload ProjectsIconsGet) = Stream
110+ requestClient (MediaDownload ProjectsIconsGet{..})
111111 = go _pigProjectId _pigId (Just AltMedia)
112112 mapsEngineService
113113 where _ :<|> go
gogol-maps-engine/gen/Network/Google/Resource/MapsEngine/Rasters/Files/Insert.hs+5−5
@@ -106,13 +106,13 @@ instance GoogleRequest RastersFilesInsert where
106106 (Proxy :: Proxy RastersFilesInsertResource)
107107 mempty
108108
109−instance GoogleRequest (Upload RastersFilesInsert)
110− where
111− type Rs (Upload RastersFilesInsert) = ()
112− requestClient (Upload RastersFilesInsert{..} body)
109+instance GoogleRequest
110+ (MediaUpload RastersFilesInsert) where
111+ type Rs (MediaUpload RastersFilesInsert) = ()
112+ requestClient
113+ (MediaUpload RastersFilesInsert{..} body)
113114 = go _rfiId (Just _rfiFilename) (Just AltJSON)
114115 (Just AltMedia)
115− _rfiPayload
116116 body
117117 mapsEngineService
118118 where _ :<|> go
gogol-maps-engine/gen/Network/Google/Resource/MapsEngine/Tables/Files/Insert.hs+5−5
@@ -112,13 +112,13 @@ instance GoogleRequest TablesFilesInsert where
112112 (Proxy :: Proxy TablesFilesInsertResource)
113113 mempty
114114
115−instance GoogleRequest (Upload TablesFilesInsert)
116− where
117− type Rs (Upload TablesFilesInsert) = ()
118− requestClient (Upload TablesFilesInsert{..} body)
115+instance GoogleRequest
116+ (MediaUpload TablesFilesInsert) where
117+ type Rs (MediaUpload TablesFilesInsert) = ()
118+ requestClient
119+ (MediaUpload TablesFilesInsert{..} body)
119120 = go _tfiId (Just _tfiFilename) (Just AltJSON)
120121 (Just AltMedia)
121− _tfiPayload
122122 body
123123 mapsEngineService
124124 where _ :<|> go
gogol-mirror/gen/Network/Google/Resource/Mirror/Timeline/Attachments/Get.hs+5−3
@@ -107,9 +107,11 @@ instance GoogleRequest TimelineAttachmentsGet where
107107 mempty
108108
109109instance GoogleRequest
110− (Download TimelineAttachmentsGet) where
111− type Rs (Download TimelineAttachmentsGet) = Stream
112− requestClient (Download TimelineAttachmentsGet{..})
110+ (MediaDownload TimelineAttachmentsGet) where
111+ type Rs (MediaDownload TimelineAttachmentsGet) =
112+ Stream
113+ requestClient
114+ (MediaDownload TimelineAttachmentsGet{..})
113115 = go _tagItemId _tagAttachmentId (Just AltMedia)
114116 mirrorService
115117 where _ :<|> go
gogol-mirror/gen/Network/Google/Resource/Mirror/Timeline/Attachments/Insert.hs+4−6
@@ -96,14 +96,12 @@ instance GoogleRequest TimelineAttachmentsInsert
9696 mempty
9797
9898instance GoogleRequest
99− (Upload TimelineAttachmentsInsert) where
100− type Rs (Upload TimelineAttachmentsInsert) =
99+ (MediaUpload TimelineAttachmentsInsert) where
100+ type Rs (MediaUpload TimelineAttachmentsInsert) =
101101 Attachment
102102 requestClient
103− (Upload TimelineAttachmentsInsert{..} body)
104− = go _taiItemId (Just AltJSON) (Just AltMedia)
105− _taiPayload
106− body
103+ (MediaUpload TimelineAttachmentsInsert{..} body)
104+ = go _taiItemId (Just AltJSON) (Just AltMedia) body
107105 mirrorService
108106 where _ :<|> go
109107 = buildClient
gogol-mirror/gen/Network/Google/Resource/Mirror/Timeline/Insert.hs+4−3
@@ -91,9 +91,10 @@ instance GoogleRequest TimelineInsert where
9191 = buildClient (Proxy :: Proxy TimelineInsertResource)
9292 mempty
9393
94−instance GoogleRequest (Upload TimelineInsert) where
95− type Rs (Upload TimelineInsert) = TimelineItem
96− requestClient (Upload TimelineInsert{..} body)
94+instance GoogleRequest (MediaUpload TimelineInsert)
95+ where
96+ type Rs (MediaUpload TimelineInsert) = TimelineItem
97+ requestClient (MediaUpload TimelineInsert{..} body)
9798 = go (Just AltJSON) (Just AltMedia) _tiPayload body
9899 mirrorService
99100 where _ :<|> go
gogol-mirror/gen/Network/Google/Resource/Mirror/Timeline/Update.hs+4−3
@@ -103,9 +103,10 @@ instance GoogleRequest TimelineUpdate where
103103 = buildClient (Proxy :: Proxy TimelineUpdateResource)
104104 mempty
105105
106−instance GoogleRequest (Upload TimelineUpdate) where
107− type Rs (Upload TimelineUpdate) = TimelineItem
108− requestClient (Upload TimelineUpdate{..} body)
106+instance GoogleRequest (MediaUpload TimelineUpdate)
107+ where
108+ type Rs (MediaUpload TimelineUpdate) = TimelineItem
109+ requestClient (MediaUpload TimelineUpdate{..} body)
109110 = go _tuId (Just AltJSON) (Just AltMedia) _tuPayload
110111 body
111112 mirrorService
gogol-plus-domains/gen/Network/Google/Resource/PlusDomains/Media/Insert.hs+4−3
@@ -124,9 +124,10 @@ instance GoogleRequest MediaInsert where
124124 = buildClient (Proxy :: Proxy MediaInsertResource)
125125 mempty
126126
127−instance GoogleRequest (Upload MediaInsert) where
128− type Rs (Upload MediaInsert) = Media
129− requestClient (Upload MediaInsert{..} body)
127+instance GoogleRequest (MediaUpload MediaInsert)
128+ where
129+ type Rs (MediaUpload MediaInsert) = Media
130+ requestClient (MediaUpload MediaInsert{..} body)
130131 = go _miUserId _miCollection (Just AltJSON)
131132 (Just AltMedia)
132133 _miPayload
gogol-storage/gen/Network/Google/Resource/Storage/Objects/Compose.hs+3−3
@@ -172,10 +172,10 @@ instance GoogleRequest ObjectsCompose where
172172 = buildClient (Proxy :: Proxy ObjectsComposeResource)
173173 mempty
174174
175−instance GoogleRequest (Download ObjectsCompose)
175+instance GoogleRequest (MediaDownload ObjectsCompose)
176176 where
177− type Rs (Download ObjectsCompose) = Stream
178− requestClient (Download ObjectsCompose{..})
177+ type Rs (MediaDownload ObjectsCompose) = Stream
178+ requestClient (MediaDownload ObjectsCompose{..})
179179 = go _oDestinationBucket _oDestinationObject
180180 _oDestinationPredefinedACL
181181 _oIfMetagenerationMatch
gogol-storage/gen/Network/Google/Resource/Storage/Objects/Copy.hs+4−3
@@ -357,9 +357,10 @@ instance GoogleRequest ObjectsCopy where
357357 = buildClient (Proxy :: Proxy ObjectsCopyResource)
358358 mempty
359359
360−instance GoogleRequest (Download ObjectsCopy) where
361− type Rs (Download ObjectsCopy) = Stream
362− requestClient (Download ObjectsCopy{..})
360+instance GoogleRequest (MediaDownload ObjectsCopy)
361+ where
362+ type Rs (MediaDownload ObjectsCopy) = Stream
363+ requestClient (MediaDownload ObjectsCopy{..})
363364 = go _ocSourceBucket _ocSourceObject
364365 _ocDestinationBucket
365366 _ocDestinationObject
gogol-storage/gen/Network/Google/Resource/Storage/Objects/Get.hs+4−3
@@ -190,9 +190,10 @@ instance GoogleRequest ObjectsGet where
190190 = buildClient (Proxy :: Proxy ObjectsGetResource)
191191 mempty
192192
193−instance GoogleRequest (Download ObjectsGet) where
194− type Rs (Download ObjectsGet) = Stream
195− requestClient (Download ObjectsGet{..})
193+instance GoogleRequest (MediaDownload ObjectsGet)
194+ where
195+ type Rs (MediaDownload ObjectsGet) = Stream
196+ requestClient (MediaDownload ObjectsGet{..})
196197 = go _ogBucket _ogObject _ogIfMetagenerationMatch
197198 _ogIfGenerationNotMatch
198199 _ogIfGenerationMatch
gogol-storage/gen/Network/Google/Resource/Storage/Objects/Insert.hs+8−6
@@ -250,9 +250,10 @@ instance GoogleRequest ObjectsInsert where
250250 = buildClient (Proxy :: Proxy ObjectsInsertResource)
251251 mempty
252252
253−instance GoogleRequest (Download ObjectsInsert) where
254− type Rs (Download ObjectsInsert) = Stream
255− requestClient (Download ObjectsInsert{..})
253+instance GoogleRequest (MediaDownload ObjectsInsert)
254+ where
255+ type Rs (MediaDownload ObjectsInsert) = Stream
256+ requestClient (MediaDownload ObjectsInsert{..})
256257 = go _oiBucket _oiIfMetagenerationMatch
257258 _oiIfGenerationNotMatch
258259 _oiIfGenerationMatch
@@ -267,9 +268,10 @@ instance GoogleRequest (Download ObjectsInsert) where
267268 = buildClient (Proxy :: Proxy ObjectsInsertResource)
268269 mempty
269270
270−instance GoogleRequest (Upload ObjectsInsert) where
271− type Rs (Upload ObjectsInsert) = Object
272− requestClient (Upload ObjectsInsert{..} body)
271+instance GoogleRequest (MediaUpload ObjectsInsert)
272+ where
273+ type Rs (MediaUpload ObjectsInsert) = Object
274+ requestClient (MediaUpload ObjectsInsert{..} body)
273275 = go _oiBucket _oiIfMetagenerationMatch
274276 _oiIfGenerationNotMatch
275277 _oiIfGenerationMatch
gogol-storage/gen/Network/Google/Resource/Storage/Objects/Update.hs+4−3
@@ -219,9 +219,10 @@ instance GoogleRequest ObjectsUpdate where
219219 = buildClient (Proxy :: Proxy ObjectsUpdateResource)
220220 mempty
221221
222−instance GoogleRequest (Download ObjectsUpdate) where
223− type Rs (Download ObjectsUpdate) = Stream
224− requestClient (Download ObjectsUpdate{..})
222+instance GoogleRequest (MediaDownload ObjectsUpdate)
223+ where
224+ type Rs (MediaDownload ObjectsUpdate) = Stream
225+ requestClient (MediaDownload ObjectsUpdate{..})
225226 = go _ouBucket _ouObject _ouIfMetagenerationMatch
226227 _ouIfGenerationNotMatch
227228 _ouIfGenerationMatch
gogol-youtube-reporting/gen/Network/Google/Resource/YouTubeReporting/Media/Download.hs+4−3
@@ -182,9 +182,10 @@ instance GoogleRequest MediaDownload where
182182 = buildClient (Proxy :: Proxy MediaDownloadResource)
183183 mempty
184184
185−instance GoogleRequest (Download MediaDownload) where
186− type Rs (Download MediaDownload) = Stream
187− requestClient (Download MediaDownload{..})
185+instance GoogleRequest (MediaDownload MediaDownload)
186+ where
187+ type Rs (MediaDownload MediaDownload) = Stream
188+ requestClient (MediaDownload MediaDownload{..})
188189 = go _mdResourceName _mdXgafv _mdUploadProtocol
189190 (Just _mdPp)
190191 _mdAccessToken
gogol-youtube/gen/Network/Google/Resource/YouTube/Captions/Download.hs+4−4
@@ -165,10 +165,10 @@ instance GoogleRequest CaptionsDownload where
165165 (Proxy :: Proxy CaptionsDownloadResource)
166166 mempty
167167
168−instance GoogleRequest (Download CaptionsDownload)
169− where
170− type Rs (Download CaptionsDownload) = Stream
171− requestClient (Download CaptionsDownload{..})
168+instance GoogleRequest
169+ (MediaDownload CaptionsDownload) where
170+ type Rs (MediaDownload CaptionsDownload) = Stream
171+ requestClient (MediaDownload CaptionsDownload{..})
172172 = go _capaId _capaOnBehalfOf _capaTlang
173173 _capaOnBehalfOfContentOwner
174174 _capaTfmt
gogol-youtube/gen/Network/Google/Resource/YouTube/Captions/Insert.hs+4−3
@@ -160,9 +160,10 @@ instance GoogleRequest CaptionsInsert where
160160 = buildClient (Proxy :: Proxy CaptionsInsertResource)
161161 mempty
162162
163−instance GoogleRequest (Upload CaptionsInsert) where
164− type Rs (Upload CaptionsInsert) = Caption
165− requestClient (Upload CaptionsInsert{..} body)
163+instance GoogleRequest (MediaUpload CaptionsInsert)
164+ where
165+ type Rs (MediaUpload CaptionsInsert) = Caption
166+ requestClient (MediaUpload CaptionsInsert{..} body)
166167 = go (Just _ciPart) _ciOnBehalfOf
167168 _ciOnBehalfOfContentOwner
168169 _ciSync
gogol-youtube/gen/Network/Google/Resource/YouTube/Captions/Update.hs+4−3
@@ -166,9 +166,10 @@ instance GoogleRequest CaptionsUpdate where
166166 = buildClient (Proxy :: Proxy CaptionsUpdateResource)
167167 mempty
168168
169−instance GoogleRequest (Upload CaptionsUpdate) where
170− type Rs (Upload CaptionsUpdate) = Caption
171− requestClient (Upload CaptionsUpdate{..} body)
169+instance GoogleRequest (MediaUpload CaptionsUpdate)
170+ where
171+ type Rs (MediaUpload CaptionsUpdate) = Caption
172+ requestClient (MediaUpload CaptionsUpdate{..} body)
172173 = go (Just _capPart) _capOnBehalfOf
173174 _capOnBehalfOfContentOwner
174175 _capSync
gogol-youtube/gen/Network/Google/Resource/YouTube/ChannelBanners/Insert.hs+5−4
@@ -135,11 +135,12 @@ instance GoogleRequest ChannelBannersInsert where
135135 (Proxy :: Proxy ChannelBannersInsertResource)
136136 mempty
137137
138−instance GoogleRequest (Upload ChannelBannersInsert)
139− where
140− type Rs (Upload ChannelBannersInsert) =
138+instance GoogleRequest
139+ (MediaUpload ChannelBannersInsert) where
140+ type Rs (MediaUpload ChannelBannersInsert) =
141141 ChannelBannerResource
142− requestClient (Upload ChannelBannersInsert{..} body)
142+ requestClient
143+ (MediaUpload ChannelBannersInsert{..} body)
143144 = go _cbiOnBehalfOfContentOwner (Just AltJSON)
144145 (Just AltMedia)
145146 _cbiPayload
gogol-youtube/gen/Network/Google/Resource/YouTube/Thumbnails/Set.hs+5−4
@@ -119,13 +119,14 @@ instance GoogleRequest ThumbnailsSet where
119119 = buildClient (Proxy :: Proxy ThumbnailsSetResource)
120120 mempty
121121
122−instance GoogleRequest (Upload ThumbnailsSet) where
123− type Rs (Upload ThumbnailsSet) = ThumbnailSetResponse
124− requestClient (Upload ThumbnailsSet{..} body)
122+instance GoogleRequest (MediaUpload ThumbnailsSet)
123+ where
124+ type Rs (MediaUpload ThumbnailsSet) =
125+ ThumbnailSetResponse
126+ requestClient (MediaUpload ThumbnailsSet{..} body)
125127 = go (Just _tsVideoId) _tsOnBehalfOfContentOwner
126128 (Just AltJSON)
127129 (Just AltMedia)
128− _tsPayload
129130 body
130131 youTubeService
131132 where _ :<|> go
gogol-youtube/gen/Network/Google/Resource/YouTube/Videos/Insert.hs+4−3
@@ -211,9 +211,10 @@ instance GoogleRequest VideosInsert where
211211 = buildClient (Proxy :: Proxy VideosInsertResource)
212212 mempty
213213
214−instance GoogleRequest (Upload VideosInsert) where
215− type Rs (Upload VideosInsert) = Video
216− requestClient (Upload VideosInsert{..} body)
214+instance GoogleRequest (MediaUpload VideosInsert)
215+ where
216+ type Rs (MediaUpload VideosInsert) = Video
217+ requestClient (MediaUpload VideosInsert{..} body)
217218 = go (Just _viPart) _viStabilize
218219 _viOnBehalfOfContentOwner
219220 _viOnBehalfOfContentOwnerChannel
gogol-youtube/gen/Network/Google/Resource/YouTube/Watermarks/Set.hs+4−3
@@ -131,9 +131,10 @@ instance GoogleRequest WatermarksSet where
131131 = buildClient (Proxy :: Proxy WatermarksSetResource)
132132 mempty
133133
134−instance GoogleRequest (Upload WatermarksSet) where
135− type Rs (Upload WatermarksSet) = ()
136− requestClient (Upload WatermarksSet{..} body)
134+instance GoogleRequest (MediaUpload WatermarksSet)
135+ where
136+ type Rs (MediaUpload WatermarksSet) = ()
137+ requestClient (MediaUpload WatermarksSet{..} body)
137138 = go (Just _wsChannelId) _wsOnBehalfOfContentOwner
138139 (Just AltJSON)
139140 (Just AltMedia)