Skip to content
Proud to collaborate with Microsoft for Startups

gcp.run.domain-mapping.upsert ​

Create or update a Cloud Run domain mapping for a custom hostname.

Overview ​

PropertyValue
Workflow typeLinear
LibraryBase-gcp
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidYes—GCP CloudConnection UUID.
project_idstringNo—GCP project override.
regionstringYes—Cloud Run region.
service_namestringYes—Target Cloud Run service id.
domainstringYes—Custom hostname.
certificate_modestringNo—Automatic or none; defaults to automatic.

Output Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidNo—Echoed connection UUID.
project_idstringNo—Effective project.
regionstringNo—Cloud Run region.
service_namestringNo—Target service id.
domainstringNo—Custom hostname.
certificate_modestringNo—Automatic or none; defaults to automatic.
resource_namestringNo—Domain mapping resource name.
recordsjsonNo—DNS records required by Cloud Run domain mapping.
readybooleanNo—True when domain mapping is ready.
mappingjsonNo—Sanitized provider mapping response.
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—
upsertingNoNo—complete—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecuteupserting—
upsertingcompletecompleted—
* (any state)failfailed—

API Usage ​

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

{
  "workflow_type": "gcp.run.domain-mapping.upsert",
  "initial_data": {
    "connection_uuid": "value",
    "region": "value",
    "service_name": "value",
    "domain": "value"
  }
}