Excel Add-In for Google Drive

Build 24.0.9060

CopyResource

Copies a resource from the user's Google Drive to a specified location.

Input

Name Type Description
Id String The Id of the resource to be copied.
NewName String The NewName parameter defines the name of the copied file.
ParentIDs String The ParentIds parameter should be a comma-separated list of existing folder Ids to use as parents for the copied file. If left blank, the copied file will inherit the same parents of the original.
IgnoreDefaultVisibility Boolean Whether to ignore the domain's default visibility settings for the created file. Domain administrators can choose to make all uploaded files visible to the domain by default; this parameter bypasses that behavior for the request. Permissions are still inherited from parent folders.

The default value is false.

IncludeLabels String A comma-separated list of IDs of labels to include in the labelInfo part of the response
IncludePermissionsForView String Specifies which additional view's permissions to include in the response. Only 'published' is supported.
KeepRevisionForever Boolean Whether to set the 'keepForever' field in the new head revision. This is only applicable to files with binary content in Google Drive. Only 200 revisions for the file can be kept forever. If the limit is reached, try deleting pinned revisions.

The default value is false.

OCRLanguage String A language hint for OCR processing during image import (ISO 639-1 code).
SupportsAllDrives Boolean Whether the requesting application supports both My Drives and shared drives.

The default value is false.

Result Set Columns

Name Type Description
CopiedFileID String The id of the copied file
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