Struct google_cloudprofiler2::Profile[][src]

pub struct Profile {
    pub profile_bytes: Option<String>,
    pub profile_type: Option<String>,
    pub name: Option<String>,
    pub deployment: Option<Deployment>,
    pub duration: Option<String>,
    pub labels: Option<HashMap<String, String>>,
}

Profile resource.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

Input only. Profile bytes, as a gzip compressed serialized proto, the format is https://github.com/google/pprof/blob/master/proto/profile.proto.

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.

Output only. Opaque, server-assigned, unique ID for this profile.

Deployment this profile corresponds to.

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).

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.

Trait Implementations

impl Default for Profile
[src]

Returns the "default value" for a type. Read more

impl Clone for Profile
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Profile
[src]

Formats the value using the given formatter. Read more

impl RequestValue for Profile
[src]

impl ResponseResult for Profile
[src]

Auto Trait Implementations

impl Send for Profile

impl Sync for Profile