View Source GoogleApi.CloudProfiler.V2.Model.CreateProfileRequest (google_api_cloud_profiler v0.7.1)

CreateProfileRequest describes a profile resource online creation request. The deployment field must be populated. The profile_type specifies the list of profile types supported by the agent. The creation call will hang until a profile of one of these types needs to be collected.

Attributes

  • deployment (type: GoogleApi.CloudProfiler.V2.Model.Deployment.t, default: nil) - Deployment details.
  • profileType (type: list(String.t), default: nil) - One or more profile types that the agent is capable of providing.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudProfiler.V2.Model.CreateProfileRequest{
  deployment: GoogleApi.CloudProfiler.V2.Model.Deployment.t() | nil,
  profileType: [String.t()] | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.