Cloud Profiler v2 API - Class CreateProfileRequest (2.1.0)

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

Reference documentation and code samples for the Cloud Profiler v2 API class CreateProfileRequest.

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.

Inheritance

Object > CreateProfileRequest

Namespace

Google.Cloud.Profiler.V2

Assembly

Google.Cloud.Profiler.V2.dll

Constructors

CreateProfileRequest()

public CreateProfileRequest()

CreateProfileRequest(CreateProfileRequest)

public CreateProfileRequest(CreateProfileRequest other)
Parameter
NameDescription
otherCreateProfileRequest

Properties

Deployment

public Deployment Deployment { get; set; }

Deployment details.

Property Value
TypeDescription
Deployment

Parent

public string Parent { get; set; }

Parent project to create the profile in.

Property Value
TypeDescription
String

ProfileType

public RepeatedField<ProfileType> ProfileType { get; }

One or more profile types that the agent is capable of providing.

Property Value
TypeDescription
RepeatedField<ProfileType>