GoogleApi.CloudProfiler.V2.Model.Profile (google_api_cloud_profiler v0.6.1) View Source

Profile resource.

Attributes

  • deployment (type: GoogleApi.CloudProfiler.V2.Model.Deployment.t, default: nil) - Deployment this profile corresponds to.
  • duration (type: String.t, default: nil) - Duration 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 (type: map(), default: nil) - Input 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 (type: String.t, default: nil) - Output only. Opaque, server-assigned, unique ID for this profile.
  • profileBytes (type: String.t, default: nil) - Input only. Profile bytes, as a gzip compressed serialized proto, the format is https://github.com/google/pprof/blob/master/proto/profile.proto.
  • profileType (type: String.t, default: nil) - Type of profile. For offline mode, this must be specified when creating the profile. For online mode it is assigned and returned by the server.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.CloudProfiler.V2.Model.Profile{
  deployment: GoogleApi.CloudProfiler.V2.Model.Deployment.t() | nil,
  duration: String.t() | nil,
  labels: map() | nil,
  name: String.t() | nil,
  profileBytes: String.t() | nil,
  profileType: String.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.