Create Offline

cloud_profiler.create_offline
ActionGoogle Cloudconnection required

Calls Cloud Profiler POST /v2/projects/{projectsId}/profiles:createOffline.

CreateOfflineProfile creates a new profile resource in the offline mode. The client provides the profile to create along with the profile bytes, the server records it.

Connection

Required
Yes — the node will not save without one
Auth type
OAuth 2.0
Providers
Google Cloud Profiler
Secret shape
{"client_id", "client_secret", "refresh_token"}
Config it needs
project_id
Resolved by
config.connection_id, else node.connection_id

Configuration

2 fields, none required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
project_id
GCP project id (overrides connection).
stringNo———
body
Request body (Profile) as JSON.
objectNo———

Output

One shape.

result

FieldTypeExample
ok
boolean—
name
string—
startTime
string—
profileBytes
string—
deployment
object—
labels
object—
profileType
string—
{
  "deployment": {},
  "labels": {},
  "name": "",
  "ok": false,
  "profileBytes": "",
  "profileType": "",
  "startTime": ""
}

Related Google Cloud Profiler nodes

See Create Offline run in a workflow.

In a technical demo we add the Google Cloud Profiler connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.