Create Profile

cloud_profiler.create_profile
ActionGoogle Cloudconnection required

Calls cloudprofiler v2 POST /v2/projects/{projectsId}/profiles.

CreateProfile creates a new profile resource in the online mode.

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

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

FieldTypeRequiredDefaultConstraintsExample
body
The CreateProfileRequest resource, as the API defines it.
objectYes———

Output

One shape.

result

Extra keys beyond the ones listed can appear.

FieldTypeExample
deployment
object—
duration
string—
labels
object—
name
string—
profileBytes
string—
profileType
string—
startTime
string—
{
  "deployment": {},
  "duration": "",
  "labels": {},
  "name": "",
  "profileBytes": "",
  "profileType": "",
  "startTime": ""
}

Related Google Cloud Profiler nodes

See Create Profile 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.