Class Profile (1.0.0)

public sealed class Profile : IMessage<Profile>, IEquatable<Profile>, IDeepCloneable<Profile>, IBufferMessage, IMessage

Profile resource.

Inheritance

Object > Profile

Implements

Google.Protobuf.IMessage<Profile>, IEquatable<Profile>, Google.Protobuf.IDeepCloneable<Profile>, Google.Protobuf.IBufferMessage, Google.Protobuf.IMessage

Namespace

Google.Cloud.Profiler.V2

Assembly

Google.Cloud.Profiler.V2.dll

Constructors

Profile()

public Profile()

Profile(Profile)

public Profile(Profile other)
Parameter
NameDescription
otherProfile

Properties

Deployment

public Deployment Deployment { get; set; }

Deployment this profile corresponds to.

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
Google.Protobuf.Collections.MapField<String, String>

Name

public string Name { get; set; }

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

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
ProfileType