public sealed class CreateOfflineProfileRequest : IMessage<CreateOfflineProfileRequest>, IEquatable<CreateOfflineProfileRequest>, IDeepCloneable<CreateOfflineProfileRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Profiler v2 API class CreateOfflineProfileRequest.
CreateOfflineProfileRequest describes a profile resource offline creation
request.
[[["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-28 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eCreateOfflineProfileRequest\u003c/code\u003e class is 2.6.0, part of the Google Cloud Profiler V2 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class is used to describe a request for the offline creation of a profile resource within the Cloud Profiler service.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCreateOfflineProfileRequest\u003c/code\u003e inherits from the \u003ccode\u003eobject\u003c/code\u003e class and 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.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties for \u003ccode\u003eParent\u003c/code\u003e (the project to create the profile in), \u003ccode\u003eParentAsProjectName\u003c/code\u003e (a typed view of the parent resource name), and \u003ccode\u003eProfile\u003c/code\u003e (the contents of the profile to be created).\u003c/p\u003e\n"],["\u003cp\u003eMultiple versions of this class are available, ranging from version 1.0.0 to the latest 2.6.0.\u003c/p\u003e\n"]]],[],null,["# Cloud Profiler v2 API - Class CreateOfflineProfileRequest (2.6.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.6.0 (latest)](/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.CreateOfflineProfileRequest)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Profiler.V2/2.5.0/Google.Cloud.Profiler.V2.CreateOfflineProfileRequest)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Profiler.V2/2.4.0/Google.Cloud.Profiler.V2.CreateOfflineProfileRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Profiler.V2/2.3.0/Google.Cloud.Profiler.V2.CreateOfflineProfileRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Profiler.V2/2.2.0/Google.Cloud.Profiler.V2.CreateOfflineProfileRequest)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Profiler.V2/2.1.0/Google.Cloud.Profiler.V2.CreateOfflineProfileRequest)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Profiler.V2/2.0.0/Google.Cloud.Profiler.V2.CreateOfflineProfileRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Profiler.V2/1.2.0/Google.Cloud.Profiler.V2.CreateOfflineProfileRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Profiler.V2/1.1.0/Google.Cloud.Profiler.V2.CreateOfflineProfileRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Profiler.V2/1.0.0/Google.Cloud.Profiler.V2.CreateOfflineProfileRequest) \n\n public sealed class CreateOfflineProfileRequest : IMessage\u003cCreateOfflineProfileRequest\u003e, IEquatable\u003cCreateOfflineProfileRequest\u003e, IDeepCloneable\u003cCreateOfflineProfileRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Profiler v2 API class CreateOfflineProfileRequest.\n\nCreateOfflineProfileRequest describes a profile resource offline creation\nrequest. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CreateOfflineProfileRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CreateOfflineProfileRequest](/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.CreateOfflineProfileRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateOfflineProfileRequest](/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.CreateOfflineProfileRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CreateOfflineProfileRequest](/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.CreateOfflineProfileRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Profiler.V2](/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.Profiler.V2.dll\n\nConstructors\n------------\n\n### CreateOfflineProfileRequest()\n\n public CreateOfflineProfileRequest()\n\n### CreateOfflineProfileRequest(CreateOfflineProfileRequest)\n\n public CreateOfflineProfileRequest(CreateOfflineProfileRequest other)\n\nProperties\n----------\n\n### Parent\n\n public string Parent { get; set; }\n\nParent project to create the profile in.\n\n### ParentAsProjectName\n\n public ProjectName ParentAsProjectName { get; set; }\n\n[ProjectName](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax/ResourceNames/ProjectName.cs)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.Profiler.V2/latest/Google.Cloud.Profiler.V2.CreateOfflineProfileRequest#Google_Cloud_Profiler_V2_CreateOfflineProfileRequest_Parent) resource name property.\n\n### Profile\n\n public Profile Profile { get; set; }\n\nContents of the profile to create."]]