Cmdlets for Google Drive

Build 24.0.9060

UpdateResource

Updates a resource in the user's Google Drive.

Input

Name Type Description
Id String The Id of the resource to be updated.
Name String The NewName parameter defines the name of the updated file.
Description String A short description of the file or folder.
MIMEType String The MIME type of the file.
Starred String This field sets whether or not the resource is starred.
LocalFile String The local file path, including file name, of the file to be uploaded. Required when FileData is not specified.
FileData String If the LocalFile input is empty, file data will be output in the format specified by the Encoding input.
Encoding String The FileData input encoding type. Used only for inserting and updating a file.

The allowed values are NONE, BASE64.

The default value is BASE64.

CopyRequiresWriterPermission Boolean Whether the options to copy, print, or download this file, should be disabled for readers and commenters.

The default value is FALSE.

Result Set Columns

Name Type Description
Success String This value shows a boolean indication of whether the operation was successful or not.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060