Skip to main content

@swamp/gcp/cloudprofiler

v2026.04.23.1

Google Cloud cloudprofiler infrastructure models

Repository

https://github.com/systeminit/swamp-extensions

Labels

gcpgoogle-cloudcloudprofilercloudinfrastructure

Contents

Quality score

Verified by Swamp

How well-documented and verifiable this extension is.

100%

Grade A

  • Has README or module doc2/2earned
  • README has a code example1/1earned
  • README is substantive1/1earned
  • Most symbols documented1/1earned
  • No slow types1/1earned
  • Has description1/1earned
  • At least one platform tag (or universal)1/1earned
  • Two or more platform tags (or universal)1/1earned
  • License declared1/1earned
  • Verified public repository2/2earned

Install

$ swamp extension pull @swamp/gcp/cloudprofiler

@swamp/gcp/cloudprofiler/profilesv2026.04.23.1profiles.ts

Global Arguments

ArgumentTypeDescription
deployment?objectDeployment contains the deployment identification information.
profileType?enumType of profile. For offline mode, this must be specified when creating the profile. For online mode it is assigned and returned by the server.
duration?stringDuration of the profiling session. Input (for the offline mode) or output (for the online mode). The field represents requested profiling duration. It may slightly differ from the effective profiling duration, which is recorded in the profile data, in case the profiling can't be stopped immediately (e.g. in case stopping the profiling is handled asynchronously).
labels?recordInput only. Labels associated to this specific profile. These labels will get merged with the deployment labels for the final data set. See documentation on deployment labels for validation rules and limits.
name?stringOutput only. Opaque, server-assigned, unique ID for this profile.
profileBytes?stringInput only. Profile bytes, as a gzip compressed serialized proto, the format is https://github.com/google/pprof/blob/master/proto/profile.proto.
startTime?stringOutput only. Start time for the profile. This output is only present in response from the ListProfiles method.
location?stringThe location for this resource (e.g., 'us', 'us-central1', 'europe-west1')
createCreate a profiles
getGet a profiles
ArgumentTypeDescription
identifierstringThe name of the profiles
updateUpdate profiles attributes
syncSync profiles state from GCP
create_offlinecreate offline
ArgumentTypeDescription
deployment?any
duration?any
labels?any
name?any
profileBytes?any
profileType?any
startTime?any

Resources

state(infinite)— Profile resource.