ADO.NET Provider for Google Drive

Build 25.0.9434

UpdateResource

Modifies metadata, content, or sharing settings for an existing file or folder in Google Drive.

Input

Name Type Description
Id String The unique identifier of the file or folder in Google Drive that you want to update.
Name String Specifies the new name for the file or folder being updated.
Description String A brief user-defined summary describing the purpose or contents of the file or folder.
Starred String If the value is 'true', the resource will be marked as starred for easy access in Google Drive.
LocalFile String The path to the file on your local system, including the file name. Required if FileData is not specified.
FileData String The encoded file content used for updating the resource if LocalFile is not provided. The format must match the specified Encoding.
Encoding String Specifies the encoding type for the FileData input when uploading or updating a file, such as base64. The default value is BASE64.
CopyRequiresWriterPermission Boolean If the value is 'true', readers and commenters will not be allowed to copy, print, or download the file unless they are also writers.

Result Set Columns

Name Type Description
Success Boolean If the value is 'true', the update operation completed successfully. If 'false', an error occurred.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434