Skip to content
Proud to collaborate with Microsoft for Startups

gcp.billing.project-info.set ​

Link, relink, or unlink a GCP project to a billing account.

Overview ​

PropertyValue
Workflow typeLinear
LibraryBase-gcp
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidYes—GCP CloudConnection UUID.
project_idstringNo—Target project id; defaults to the connection's project.
billing_account_idstringNo—Billing account id or billingAccounts/* name used to link or relink the project.
unlinkbooleanNo—Set true to explicitly unlink billing from the project.

Output Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidNo—Echoed connection UUID.
project_idstringNo—Effective project id.
billing_account_idstringNo—Billing account id or billingAccounts/* name used to link or relink the project.
unlinkbooleanNo—Whether billing unlink was explicitly requested.
billing_account_namestringNo—Resulting billingAccounts/* name after the operation.
billing_enabledbooleanNo—Whether billing is enabled for the project after the operation.
billing_infojsonNo—Sanitized ProjectBillingInfo 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—preflight—
preflightingNoNo—execute—
settingNoNo—complete—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingpreflightpreflighting—
preflightingexecutesetting—
settingcompletecompleted—
* (any state)failfailed—

API Usage ​

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

{
  "workflow_type": "gcp.billing.project-info.set",
  "initial_data": {
    "connection_uuid": "value"
  }
}