ODBC Driver for Google Drive

Build 23.0.8839

UploadFileStorage

Uploads a file to the Google Storage.

Input

Name Type Description
Bucket String Name of the bucket in which to store the new object.
ProjectId String API project identifier.
Name String The object's name that will be saved in Storage. If it is used with LocalFile, it will overwrite the name of the original file, if it is used with FileData then it is mandatory.
Acl String Apply a predefined set of access controls to this object.

The allowed values are PRIVATE, PUBLIC_READ, PUBLIC_READ_WRITE, AUTHENTICATED_READ, BUCKET_OWNER_READ, BUCKET_OWNER_FULL_CONTROL.

The default value is PRIVATE.

MIMEType String This parameter explicitly sets the MIME type for the document. If left empty, it will be determined automatically.
ContentDisposition String A request and response header that specifies presentational information about the data being transmitted.
LocalFile String The local file path including the file name of the file to be uploaded. A value for this field is required when FileData is not specified.
FileData String If the LocalFile input is empty, the file data will be output to a file in the format specified by the Encoding parameter.
Encoding String The FileData input encoding type.

The allowed values are NONE, BASE64.

The default value is BASE64.

Result Set Columns

Name Type Description
Success String This parameter sets whether the operation was successful or not.

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