Skip to content
Proud to collaborate with Microsoft for Startups

gcp.compute.serverless_neg.create ​

Create a regional serverless NEG that targets a Cloud Run service for L7 load balancing.

Create a regional SERVERLESS network endpoint group pointing at a Cloud Run service.

Overview ​

PropertyValue
Workflow typeLinear
LibraryBase-gcp
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidYes—GCP CloudConnection UUID.
project_idstringNo—Explicit GCP project override.
regionstringYes—Region for the serverless NEG.
namestringYes—Serverless NEG name.
cloud_run_servicestringNo—Target Cloud Run service name.
cloud_run_tagstringNo—Cloud Run traffic tag to route to.
cloud_run_url_maskstringNo—Cloud Run URL mask for multi-service NEGs.
networkstringNo—Optional VPC network self link.
subnetworkstringNo—Optional subnetwork self link.

Output Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidNo—Echoed connection UUID.
project_idstringNo—Resolved GCP project.
regionstringNo—Region of the serverless NEG.
namestringNo—Serverless NEG name.
cloud_run_servicestringNo—Target Cloud Run service name.
cloud_run_tagstringNo—Cloud Run traffic tag.
cloud_run_url_maskstringNo—Cloud Run URL mask.
networkstringNo—VPC network self link.
subnetworkstringNo—Subnetwork self link.
self_linkstringNo—Self link of the serverless NEG.
operation_namestringNo—Compute operation name when created.
createdbooleanNo—True when the NEG was created this run.
negjsonNo—Sanitized provider NEG or operation object.
failure_reasonstringNo—Human-readable failure reason.
failed_stepstringNo—Failed logical step.
failed_layerjsonNo—Engine failed layer if applicable.
failed_at_statestringNo—State where failure occurred.
errorstringNo—Error message.
error_typestringNo—Error class.

States ​

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

State Diagram ​

Transitions ​

FromActionToDescription
pendingpreflightpreflighting—
preflightingexecutecreating—
creatingcompletecompleted—
* (any state)failfailed—

API Usage ​

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

{
  "workflow_type": "gcp.compute.serverless_neg.create",
  "initial_data": {
    "connection_uuid": "value",
    "region": "value",
    "name": "value"
  }
}