public sealed class CreateJobRequest : IMessage<CreateJobRequest>, IEquatable<CreateJobRequest>, IDeepCloneable<CreateJobRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Run Admin v2 API class CreateJobRequest.
Required. The location and project in which this Job should be created.
Format: projects/{project}/locations/{location}, where {project} can be
project id or number.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-08 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eCreateJobRequest\u003c/code\u003e class is used to send a request to create a Job in the Cloud Run Admin v2 API.\u003c/p\u003e\n"],["\u003cp\u003eThis class is part of the \u003ccode\u003eGoogle.Cloud.Run.V2\u003c/code\u003e namespace and is implemented in the \u003ccode\u003eGoogle.Cloud.Run.V2.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eIt requires a \u003ccode\u003eJob\u003c/code\u003e instance, a unique \u003ccode\u003eJobId\u003c/code\u003e, and the \u003ccode\u003eParent\u003c/code\u003e location and project for the creation of the Job, and it provides an option to validate the request using \u003ccode\u003eValidateOnly\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eCreateJobRequest\u003c/code\u003e is version 2.13.0, while the documentation provides links to other versions ranging from 1.0.0-beta02 to 2.12.0.\u003c/p\u003e\n"]]],[],null,["# Cloud Run Admin v2 API - Class CreateJobRequest (2.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.16.0 (latest)](/dotnet/docs/reference/Google.Cloud.Run.V2/latest/Google.Cloud.Run.V2.CreateJobRequest)\n- [2.15.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.15.0/Google.Cloud.Run.V2.CreateJobRequest)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.14.0/Google.Cloud.Run.V2.CreateJobRequest)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.13.0/Google.Cloud.Run.V2.CreateJobRequest)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.12.0/Google.Cloud.Run.V2.CreateJobRequest)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.11.0/Google.Cloud.Run.V2.CreateJobRequest)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.10.0/Google.Cloud.Run.V2.CreateJobRequest)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.9.0/Google.Cloud.Run.V2.CreateJobRequest)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.8.0/Google.Cloud.Run.V2.CreateJobRequest)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.7.0/Google.Cloud.Run.V2.CreateJobRequest)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.6.0/Google.Cloud.Run.V2.CreateJobRequest)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.5.0/Google.Cloud.Run.V2.CreateJobRequest)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.4.0/Google.Cloud.Run.V2.CreateJobRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.3.0/Google.Cloud.Run.V2.CreateJobRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.2.0/Google.Cloud.Run.V2.CreateJobRequest)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.1.0/Google.Cloud.Run.V2.CreateJobRequest)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.0.0/Google.Cloud.Run.V2.CreateJobRequest)\n- [1.0.0-beta02](/dotnet/docs/reference/Google.Cloud.Run.V2/1.0.0-beta02/Google.Cloud.Run.V2.CreateJobRequest) \n\n public sealed class CreateJobRequest : IMessage\u003cCreateJobRequest\u003e, IEquatable\u003cCreateJobRequest\u003e, IDeepCloneable\u003cCreateJobRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Run Admin v2 API class CreateJobRequest.\n\nRequest message for creating a Job. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CreateJobRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CreateJobRequest](/dotnet/docs/reference/Google.Cloud.Run.V2/latest/Google.Cloud.Run.V2.CreateJobRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateJobRequest](/dotnet/docs/reference/Google.Cloud.Run.V2/latest/Google.Cloud.Run.V2.CreateJobRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CreateJobRequest](/dotnet/docs/reference/Google.Cloud.Run.V2/latest/Google.Cloud.Run.V2.CreateJobRequest), [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.Run.V2](/dotnet/docs/reference/Google.Cloud.Run.V2/latest/Google.Cloud.Run.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.Run.V2.dll\n\nConstructors\n------------\n\n### CreateJobRequest()\n\n public CreateJobRequest()\n\n### CreateJobRequest(CreateJobRequest)\n\n public CreateJobRequest(CreateJobRequest other)\n\nProperties\n----------\n\n### Job\n\n public Job Job { get; set; }\n\nRequired. The Job instance to create.\n\n### JobId\n\n public string JobId { get; set; }\n\nRequired. The unique identifier for the Job. The name of the job becomes\n{parent}/jobs/{job_id}.\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. The location and project in which this Job should be created.\nFormat: projects/{project}/locations/{location}, where {project} can be\nproject id or number.\n\n### ParentAsLocationName\n\n public LocationName ParentAsLocationName { get; set; }\n\n[LocationName](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.LocationName.html)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.Run.V2/latest/Google.Cloud.Run.V2.CreateJobRequest#Google_Cloud_Run_V2_CreateJobRequest_Parent) resource name property.\n\n### ValidateOnly\n\n public bool ValidateOnly { get; set; }\n\nIndicates that the request should be validated and default values\npopulated, without persisting the request or creating any resources."]]