StorageApi
getFilePath
For GCP cloud storage bucket Get the file path based on the file ID.
StorageApi.getFilePath(fileId)Parameters
fileId: stringReturns
The file path for the input File ID.getFileIdByPath
For GCP cloud storage bucket Get the file ID based on the absolute file path.
StorageApi.getFileIdByPath(absoluteFilePath)Parameters
absoluteFilePath: stringReturns
The File ID using file path.getFolderPath
For GCP cloud storage bucket Get the folder path based on the folder ID.
Parameters
Returns
getSignedUrl
For GCP cloud storage bucket Get a signed URL for accessing a file.
Parameters
Returns
copyFileToBucket
For GCP cloud storage bucket Copy a file to the specified bucket.
Parameters
Returns
copyFileFromBucket
For GCP cloud storage bucket Copy a file from the specified bucket.
Parameters
Returns
copyFileWithinBucket
For GCP cloud storage bucket Copy a file within the same bucket.
Parameters
Returns
writeToBucket
For GCP cloud storage bucket Write data to a file in the specified bucket.
Parameters
Returns
readFromBucket
For GCP cloud storage bucket Read the content of a file from the specified bucket.
Parameters
Returns
listFiles
For GCP cloud storage bucket List files in the specified path.
Parameters
Returns
saveFileObject
For GCP cloud storage bucket Save a file object.
Parameters
Returns
exists
Check if file exists.
Parameters
Returns
getFileList
Get list of files in folder
Parameters
Returns
getFilesPages
Get files pages
Parameters
Returns
getBucketName
Get default bucket name.
Parameters
Returns
shareWithTenants
For GCP cloud storage bucket Share a file with tenants.
Parameters
Returns
copyLargeFileToBucket
For GCP cloud storage bucket Copy a large file to the specified bucket
Parameters
Returns
makePublic
make a file public
Parameters
Returns
getContent
Get content of a doc
Parameters
Returns
getBucketPath
Get bucket path using file object
Parameters
Returns
getBucketPath
Get path using fileId
Parameters
Returns
Last updated