Class Profile
Profile resource.
Implements
Inherited Members
Namespace: Google.Apis.CloudProfiler.v2.Data
Assembly: Google.Apis.CloudProfiler.v2.dll
Syntax
public class Profile : IDirectResponseSchema
Properties
Deployment
Deployment this profile corresponds to.
Declaration
[JsonProperty("deployment")]
public virtual Deployment Deployment { get; set; }
Property Value
Type | Description |
---|---|
Deployment |
Duration
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).
Declaration
[JsonProperty("duration")]
public virtual object Duration { get; set; }
Property Value
Type | Description |
---|---|
object |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Labels
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.
Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |
Name
Output only. Opaque, server-assigned, unique ID for this profile.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
ProfileBytes
Input only. Profile bytes, as a gzip compressed serialized proto, the format is https://github.com/google/pprof/blob/master/proto/profile.proto.
Declaration
[JsonProperty("profileBytes")]
public virtual string ProfileBytes { get; set; }
Property Value
Type | Description |
---|---|
string |
ProfileType
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.
Declaration
[JsonProperty("profileType")]
public virtual string ProfileType { get; set; }
Property Value
Type | Description |
---|---|
string |
StartTime
object representation of StartTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use StartTimeDateTimeOffset instead.")]
public virtual object StartTime { get; set; }
Property Value
Type | Description |
---|---|
object |
StartTimeDateTimeOffset
DateTimeOffset representation of StartTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? StartTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
StartTimeRaw
Output only. Start time for the profile. This output is only present in response from the ListProfiles method.
Declaration
[JsonProperty("startTime")]
public virtual string StartTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |