@@ -161,6 +161,13 @@ fuAddParents
162instance GoogleRequest FilesUpdate where
162instance GoogleRequest FilesUpdate where
163 type Rs FilesUpdate = File
163 type Rs FilesUpdate = File
164+ type Scopes FilesUpdate =
165+ '["https://www.googleapis.com/auth/drive",
166+ "https://www.googleapis.com/auth/drive.appdata",
167+ "https://www.googleapis.com/auth/drive.apps.readonly",
168+ "https://www.googleapis.com/auth/drive.file",
169+ "https://www.googleapis.com/auth/drive.metadata",
170+ "https://www.googleapis.com/auth/drive.scripts"]
164 requestClient FilesUpdate{..}
171 requestClient FilesUpdate{..}
165 = go _fuFileId _fuRemoveParents
172 = go _fuFileId _fuRemoveParents
166 (Just _fuUseContentAsIndexableText)
173 (Just _fuUseContentAsIndexableText)
@@ -177,6 +184,8 @@ instance GoogleRequest FilesUpdate where
177instance GoogleRequest (MediaUpload FilesUpdate)
184instance GoogleRequest (MediaUpload FilesUpdate)
179 type Rs (MediaUpload FilesUpdate) = File
186 type Rs (MediaUpload FilesUpdate) = File
187+ type Scopes (MediaUpload FilesUpdate) =
180 requestClient (MediaUpload FilesUpdate{..} body)
189 requestClient (MediaUpload FilesUpdate{..} body)
181 = go _fuFileId _fuRemoveParents
190 = go _fuFileId _fuRemoveParents
182 (Just _fuUseContentAsIndexableText)
191 (Just _fuUseContentAsIndexableText)