public sealed class Profile : IMessage<Profile>, IEquatable<Profile>, IDeepCloneable<Profile>, IBufferMessage, IMessage
Profile resource.
Implements
Google.Protobuf.IMessage<Profile>, IEquatable<Profile>, Google.Protobuf.IDeepCloneable<Profile>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessageNamespace
Google.Cloud.Profiler.V2Assembly
Google.Cloud.Profiler.V2.dll
Constructors
Profile()
public Profile()
Profile(Profile)
public Profile(Profile other)
Parameter | |
---|---|
Name | Description |
other | Profile |
Properties
Deployment
public Deployment Deployment { get; set; }
Deployment this profile corresponds to.
Property Value | |
---|---|
Type | Description |
Deployment |
Duration
public Duration Duration { get; set; }
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).
Property Value | |
---|---|
Type | Description |
Google.Protobuf.WellKnownTypes.Duration |
Labels
public MapField<string, string> Labels { get; }
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.
Property Value | |
---|---|
Type | Description |
Google.Protobuf.Collections.MapField<String, String> |
Name
public string Name { get; set; }
Output only. Opaque, server-assigned, unique ID for this profile.
Property Value | |
---|---|
Type | Description |
String |
ProfileBytes
public ByteString ProfileBytes { get; set; }
Input only. Profile bytes, as a gzip compressed serialized proto, the format is https://github.com/google/pprof/blob/master/proto/profile.proto.
Property Value | |
---|---|
Type | Description |
Google.Protobuf.ByteString |
ProfileType
public ProfileType ProfileType { get; set; }
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.
Property Value | |
---|---|
Type | Description |
ProfileType |