Required. Fully qualified name of the Application to create Workload in.
Expected format:
projects/{project}/locations/{location}/applications/{application}.
Optional. An optional request ID to identify requests. Specify a unique
request ID so that if you must retry your request, the server will know to
ignore the request if it has already been completed. The server will
guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the
request times out. If you make the request again with the same request
ID, the server can check if original operation with the same request ID
was received, and if so, will ignore the second request. This prevents
clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000).
Required. The Workload identifier.
Must contain only lowercase letters, numbers
or hyphens, with the first character a letter, the last a letter or a
number, and a 63 character maximum.
[[["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 \u003ccode\u003eCreateWorkloadRequest\u003c/code\u003e class is used to request the creation of a workload within the App Hub v1 API, and it is found in the Google.Cloud.AppHub.V1 namespace.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the \u003ccode\u003eobject\u003c/code\u003e class, with members such as \u003ccode\u003eGetHashCode()\u003c/code\u003e, \u003ccode\u003eGetType()\u003c/code\u003e, and \u003ccode\u003eToString()\u003c/code\u003e being inherited.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateWorkloadRequest\u003c/code\u003e class has constructors that allow it to be initialized as an empty object or using an existing \u003ccode\u003eCreateWorkloadRequest\u003c/code\u003e object for parameter values.\u003c/p\u003e\n"],["\u003cp\u003eKey properties within \u003ccode\u003eCreateWorkloadRequest\u003c/code\u003e include \u003ccode\u003eParent\u003c/code\u003e (the application's fully qualified name), \u003ccode\u003eRequestId\u003c/code\u003e (for request identification), \u003ccode\u003eWorkload\u003c/code\u003e (the workload resource being created), and \u003ccode\u003eWorkloadId\u003c/code\u003e (a unique identifier for the workload).\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eParent\u003c/code\u003e property also has a corresponding \u003ccode\u003eParentAsApplicationName\u003c/code\u003e property, allowing for a \u003ccode\u003eApplicationName\u003c/code\u003e-typed view of the parent resource name.\u003c/p\u003e\n"]]],[],null,["# App Hub v1 API - Class CreateWorkloadRequest (1.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.1.0 (latest)](/dotnet/docs/reference/Google.Cloud.AppHub.V1/latest/Google.Cloud.AppHub.V1.CreateWorkloadRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.AppHub.V1/1.0.0/Google.Cloud.AppHub.V1.CreateWorkloadRequest) \n\n public sealed class CreateWorkloadRequest : IMessage\u003cCreateWorkloadRequest\u003e, IEquatable\u003cCreateWorkloadRequest\u003e, IDeepCloneable\u003cCreateWorkloadRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the App Hub v1 API class CreateWorkloadRequest.\n\nRequest for CreateWorkload. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CreateWorkloadRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CreateWorkloadRequest](/dotnet/docs/reference/Google.Cloud.AppHub.V1/latest/Google.Cloud.AppHub.V1.CreateWorkloadRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateWorkloadRequest](/dotnet/docs/reference/Google.Cloud.AppHub.V1/latest/Google.Cloud.AppHub.V1.CreateWorkloadRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CreateWorkloadRequest](/dotnet/docs/reference/Google.Cloud.AppHub.V1/latest/Google.Cloud.AppHub.V1.CreateWorkloadRequest), [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.AppHub.V1](/dotnet/docs/reference/Google.Cloud.AppHub.V1/latest/Google.Cloud.AppHub.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.AppHub.V1.dll\n\nConstructors\n------------\n\n### CreateWorkloadRequest()\n\n public CreateWorkloadRequest()\n\n### CreateWorkloadRequest(CreateWorkloadRequest)\n\n public CreateWorkloadRequest(CreateWorkloadRequest other)\n\nProperties\n----------\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. Fully qualified name of the Application to create Workload in.\nExpected format:\n`projects/{project}/locations/{location}/applications/{application}`.\n\n### ParentAsApplicationName\n\n public ApplicationName ParentAsApplicationName { get; set; }\n\n[ApplicationName](/dotnet/docs/reference/Google.Cloud.AppHub.V1/latest/Google.Cloud.AppHub.V1.ApplicationName)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.AppHub.V1/latest/Google.Cloud.AppHub.V1.CreateWorkloadRequest#Google_Cloud_AppHub_V1_CreateWorkloadRequest_Parent) resource name property.\n\n### RequestId\n\n public string RequestId { get; set; }\n\nOptional. An optional request ID to identify requests. Specify a unique\nrequest ID so that if you must retry your request, the server will know to\nignore the request if it has already been completed. The server will\nguarantee that for at least 60 minutes since the first request.\n\nFor example, consider a situation where you make an initial request and the\nrequest times out. If you make the request again with the same request\nID, the server can check if original operation with the same request ID\nwas received, and if so, will ignore the second request. This prevents\nclients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is\nnot supported (00000000-0000-0000-0000-000000000000).\n\n### Workload\n\n public Workload Workload { get; set; }\n\nRequired. The resource being created.\n\n### WorkloadId\n\n public string WorkloadId { get; set; }\n\nRequired. The Workload identifier.\nMust contain only lowercase letters, numbers\nor hyphens, with the first character a letter, the last a letter or a\nnumber, and a 63 character maximum."]]