Skip to content
Proud to collaborate with Microsoft for Startups

gcp.sql.operation.get ​

Single non-blocking GET of a Cloud SQL operation status (done flag); for async poll loops.

Return a Cloud SQL operation's current status without waiting (for async poll loops).

Overview ​

PropertyValue
Workflow typeLinear
LibraryBase-gcp
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidYes—GCP CloudConnection UUID.
project_idstringNo—GCP project override.
operation_namestringYes—Cloud SQL operation name/id.

Output Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidNo—Echoed connection UUID.
project_idstringNo—Effective project.
operation_namestringNo—Operation id.
statusstringNo—Operation status (PENDING/RUNNING/DONE).
donebooleanNo—True when the operation is DONE.
operation_typestringNo—Operation type.
error_detailsjsonNo—Operation error payload when failed.
failure_reasonstringNo—Human-readable failure reason.
failed_stepstringNo—Failed logical step.
failed_layerjsonNo—Engine failed layer.
failed_at_statestringNo—State where failure occurred.
errorstringNo—Error message.
error_typestringNo—Error class.

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
gettingNoNo—complete—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecutegetting—
gettingcompletecompleted—
* (any state)failfailed—

API Usage ​

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

{
  "workflow_type": "gcp.sql.operation.get",
  "initial_data": {
    "connection_uuid": "value",
    "operation_name": "value"
  }
}