Help Desk

Submit a ticket My Tickets
Welcome
Login

Google Cloud Storage Command Reference

A connector to interact with the Google Cloud Storage APIs

Connections

Google Cloud Storage

Connection for the Google Cloud Storage APIs

Inputs

Input Type Detail Notes
Default Bucket TextField The default bucket to use if one is not provided

Commands

Create Folder

Create a directory

Inputs

Input Type Detail Notes
Bucket TextField The bucket to use. This will default to the Bucket in the connection.
Object Name TextField The name of the directory to create
Overwrite BooleanField If this is checked, an existing object with the same name will be overwritten

Outputs

Output Output Type Notes
Object Attributes File

Exit Codes

Code Type Detail
0 Success Success
1 Error Command failed to execute
2 Error Error authenticating
3 Warning The file downloaded is empty

Delete Object(s)

Delete Object(s) in a Bucket

Inputs

Input Type Detail Notes
Bucket TextField The bucket the file is in. This will default to the Bucket in the connection.
Object Name TextField The name of the Object(s) to delete.
Delete All Matching Objects BooleanField If this is checked, all objects with a prefix that matches the Object Name will be deleted

Outputs

Output Output Type Notes
Objects Deleted File

Exit Codes

Code Type Detail
0 Success Success
1 Error Command failed to execute
2 Error Error authenticating
3 Warning The file downloaded is empty

Download File

Download the contents of an Object

Inputs

Input Type Detail Notes
Bucket TextField The bucket the file is in. This will default to the Bucket in the connection.
Object Name TextField The name of the Object to download.

Outputs

Output Output Type Notes
Object File File
Object Size (bytes) Integer

Exit Codes

Code Type Detail
0 Success Success
1 Error Command failed to execute
2 Error Error authenticating
3 Warning The file downloaded is empty

List Objects

List all Objects that match the specified prefix

Inputs

Input Type Detail Notes
Bucket TextField The bucket the file is in. This will default to the Bucket in the connection.
Object(s) Prefix TextField The prefix of the Object(s) to list.

Outputs

Output Output Type Notes
Objects File
Number of Objects Integer

Exit Codes

Code Type Detail
0 Success Success
1 Error Command failed to execute
2 Error Error authenticating
3 Warning The file downloaded is empty

Move/Copy Object

Moves or copies an object to another location in the bucket

Inputs

Input Type Detail Notes
Bucket TextField The bucket to use. This will default to the Bucket in the connection.
From Object Name TextField The name of the object to move or copy
To Object Name TextField The name of the new location of the copied/moved object
Keep Original (Copy) BooleanField If this is checked, the From Object will not be deleted

Outputs

Output Output Type Notes
Object Attributes File

Exit Codes

Code Type Detail
0 Success Success
1 Error Command failed to execute
2 Error Error authenticating
3 Warning The file downloaded is empty

Upload File

Upload a file to the specified location

Inputs

Input Type Detail Notes
Bucket TextField The bucket to use. This will default to the Bucket in the connection.
Object Name TextField The name of the directory to create
Overwrite BooleanField If this is checked, an existing object with the same name will be overwritten
File Contents FileField A file or text to upload to the specified Object Name

Outputs

Output Output Type Notes
Object Attributes File

Exit Codes

Code Type Detail
0 Success Success
1 Error Command failed to execute
2 Error Error authenticating
3 Warning The file downloaded is empty
B
Brian is the author of this solution article.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.