Skip to content
Proud to collaborate with Microsoft for Startups

gcp.gke.operation.wait ​

Poll a GKE long-running operation until it reaches DONE or times out.

Overview ​

PropertyValue
Workflow typeLinear
LibraryBase-gcp
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidYes—GCP CloudConnection UUID.
project_idstringNo—GCP project override; defaults to the connection project.
locationstringYes—GKE operation region
operation_namestringYes—Operation name or full operation resource path.
timeout_secondsintegerNo—Maximum wait duration; implementation default 1800.
poll_interval_secondsintegerNo—Poll interval; implementation default 15.
fail_on_operation_errorbooleanNo—Fail when the operation reaches DONE with error details.

Output Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidNo—GCP CloudConnection UUID echoed from input.
project_idstringNo—Effective GCP project.
authenticated_project_idstringNo—Project resolved by credential validation.
auth_validationbooleanNo—True when credential validation succeeded.
locationstringNo—GKE operation location.
operation_namestringNo—Operation name or resource path.
timeout_secondsintegerNo—Maximum wait duration; implementation default 1800.
poll_interval_secondsintegerNo—Poll interval; implementation default 15.
fail_on_operation_errorbooleanNo—Fail when the operation reaches DONE with error details.
started_atstringNo—ISO timestamp for the first poll.
last_polled_atstringNo—ISO timestamp for the latest poll.
donebooleanNo—True when the operation reached DONE.
operation_statusstringNo—Provider operation status.
status_messagestringNo—Provider status message
error_codestringNo—Provider operation error code.
error_messagestringNo—Provider operation error message.
target_linkstringNo—Provider target resource link.
operationjsonNo—Sanitized final provider operation response.
attemptsintegerNo—Number of poll attempts.
elapsed_secondsintegerNo—Total wait time.
timed_outbooleanNo—True when timeout was reached before DONE.
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.
failed_atstringNo—ISO failure timestamp.

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—preflight—
preflightingNoNo—start_wait—
waitingNoNo———
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingpreflightpreflighting—
preflightingstart_waitwaiting—
waitingpollwaiting—
waitingcompletecompleted—
* (any state)failfailed—

API Usage ​

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

{
  "workflow_type": "gcp.gke.operation.wait",
  "initial_data": {
    "connection_uuid": "value",
    "location": "value",
    "operation_name": "value"
  }
}