Skip to content
Proud to collaborate with Microsoft for Startups

gcp.billing.subaccount.create ​

Create a billing subaccount under a reseller master account.

Overview ​

PropertyValue
Workflow typeLinear
LibraryBase-gcp
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidYes—GCP CloudConnection UUID.
project_idstringNo—GCP project override for auth; defaults to the connection's project.
display_namestringYes—Display name for the new subaccount.
master_billing_account_idstringYes—Master/reseller billing account id or billingAccounts/* name.

Output Schema ​

FieldTypeRequiredDefaultDescription
connection_uuiduuidNo—Echoed connection UUID.
project_idstringNo—Effective project.
master_billing_account_idstringNo—Master/reseller billing account id or billingAccounts/* name.
billing_account_namestringNo—Resource name of the created billing subaccount.
display_namestringNo—Display name of the created subaccount.
master_billing_accountstringNo—Master billing account resource name.
openbooleanNo—Whether the subaccount is open.
accountjsonNo—Sanitized billing account 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—
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.billing.subaccount.create",
  "initial_data": {
    "connection_uuid": "value",
    "display_name": "value",
    "master_billing_account_id": "value"
  }
}