Skip to content
Proud to collaborate with Microsoft for Startups

gcp.storage.object.upload ​

Upload one object to GCS with cache and content metadata.

Overview ​

PropertyValue
Workflow typeLinear
LibraryBase-gcp
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidYes—GCP CloudConnection UUID.
project_idstringNo—GCP project override.
bucketstringYes—Destination bucket.
keystringYes—Destination object key.
body_base64stringNo—Base64 body for small direct uploads.
source_uristringNo—Internal artifact URI for server-side streaming.
content_typestringNo—Object content type.
cache_controlstringNo—Cache-Control metadata.
content_encodingstringNo—Optional content encoding.
metadatajsonNo—Custom object metadata.

Output Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidNo—Echoed connection UUID.
project_idstringNo—Effective project id.
bucketstringNo—Destination bucket.
keystringNo—Destination object key.
object_uristringNo—gs:// object URI.
generationstringNo—GCS object generation.
etagstringNo—Object etag.
size_bytesintegerNo—Uploaded size.
sha256stringNo—SHA-256 digest when calculated.
failure_reasonstringNo—Human-readable failure reason.
failed_stepstringNo—Failed logical step.
failed_layerjsonNo—Engine failed layer envelope.
failed_at_statestringNo—State where failure occurred.
errorstringNo—Error message.
error_typestringNo—Error class.

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—preflight—
preflightingNoNo—execute—
uploadingNoNo—complete—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingpreflightpreflighting—
preflightingexecuteuploading—
uploadingcompletecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "gcp.storage.object.upload",
  "initial_data": {
    "connection_uuid": "value",
    "bucket": "value",
    "key": "value"
  }
}