UploadFileStorage
Uploads a file to the Google Storage.
Input
Name | Type | Accepts Input Streams | Description |
Bucket | String | False | Name of the bucket in which to store the new object. |
ProjectId | String | False | API project identifier. |
Name | String | False | 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 | False | 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 | False | This parameter explicitly sets the MIME type for the document. If left empty, it will be determined automatically. |
ContentDisposition | String | False | A request and response header that specifies presentational information about the data being transmitted. |
LocalFile | String | False | 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 | False | 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 | False | The FileData input encoding type.
The allowed values are NONE, BASE64. The default value is BASE64. |
Content | String | True | The content as InputStream to be uploaded when LocalFilePath or FolderPath is not specified. |
Result Set Columns
Name | Type | Description |
Success | String | This parameter sets whether the operation was successful or not. |