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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eCreateProfileRequest\u003c/code\u003e class is used to request the online creation of a profile resource within the Cloud Profiler v2 API.\u003c/p\u003e\n"],["\u003cp\u003eThis request requires the \u003ccode\u003edeployment\u003c/code\u003e field to be populated and includes the supported \u003ccode\u003eprofile_type\u003c/code\u003e options for the agent.\u003c/p\u003e\n"],["\u003cp\u003eThe class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, to provide core functionality and data handling.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties like \u003ccode\u003eDeployment\u003c/code\u003e, \u003ccode\u003eParent\u003c/code\u003e, \u003ccode\u003eParentAsProjectName\u003c/code\u003e, and \u003ccode\u003eProfileType\u003c/code\u003e to specify the details of the profile being created.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of the API, with the latest being version 2.6.0, and older versions ranging from 2.5.0 all the way back to version 1.0.0.\u003c/p\u003e\n"]]],[],null,[]]