public sealed class CreateJobRequest : IMessage<CreateJobRequest>, IEquatable<CreateJobRequest>, IDeepCloneable<CreateJobRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Scheduler v1 API class CreateJobRequest.
Request message for
[CreateJob][google.cloud.scheduler.v1.CloudScheduler.CreateJob].
Required. The job to add. The user can optionally specify a name for the
job in [name][google.cloud.scheduler.v1.Job.name].
[name][google.cloud.scheduler.v1.Job.name] cannot be the same as an
existing job. If a name is not specified then the system will
generate a random unique name that will be returned
([name][google.cloud.scheduler.v1.Job.name]) in the response.
[[["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-09-04 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eCreateJobRequest\u003c/code\u003e class within the Google Cloud Scheduler v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateJobRequest\u003c/code\u003e class is used to create a request message for the \u003ccode\u003eCreateJob\u003c/code\u003e method in the CloudScheduler API.\u003c/p\u003e\n"],["\u003cp\u003eThis class includes properties for setting the job details, such as \u003ccode\u003eJob\u003c/code\u003e, \u003ccode\u003eParent\u003c/code\u003e, and \u003ccode\u003eParentAsLocationName\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt has different versions such as the latest (3.5.0) and going as far back as 2.2.0.\u003c/p\u003e\n"],["\u003cp\u003eThis \u003ccode\u003eCreateJobRequest\u003c/code\u003e 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.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Scheduler v1 API - Class CreateJobRequest (3.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.5.0 (latest)](/dotnet/docs/reference/Google.Cloud.Scheduler.V1/latest/Google.Cloud.Scheduler.V1.CreateJobRequest)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Scheduler.V1/3.4.0/Google.Cloud.Scheduler.V1.CreateJobRequest)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Scheduler.V1/3.3.0/Google.Cloud.Scheduler.V1.CreateJobRequest)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Scheduler.V1/3.2.0/Google.Cloud.Scheduler.V1.CreateJobRequest)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Scheduler.V1/3.1.0/Google.Cloud.Scheduler.V1.CreateJobRequest)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Scheduler.V1/3.0.0/Google.Cloud.Scheduler.V1.CreateJobRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Scheduler.V1/2.3.0/Google.Cloud.Scheduler.V1.CreateJobRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Scheduler.V1/2.2.0/Google.Cloud.Scheduler.V1.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 Google Cloud Scheduler v1 API class CreateJobRequest.\n\nRequest message for\n\\[CreateJob\\]\\[google.cloud.scheduler.v1.CloudScheduler.CreateJob\\]. \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.Scheduler.V1/latest/Google.Cloud.Scheduler.V1.CreateJobRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateJobRequest](/dotnet/docs/reference/Google.Cloud.Scheduler.V1/latest/Google.Cloud.Scheduler.V1.CreateJobRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CreateJobRequest](/dotnet/docs/reference/Google.Cloud.Scheduler.V1/latest/Google.Cloud.Scheduler.V1.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.Scheduler.V1](/dotnet/docs/reference/Google.Cloud.Scheduler.V1/latest/Google.Cloud.Scheduler.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Scheduler.V1.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 to add. The user can optionally specify a name for the\njob in \\[name\\]\\[google.cloud.scheduler.v1.Job.name\\].\n\\[name\\]\\[google.cloud.scheduler.v1.Job.name\\] cannot be the same as an\nexisting job. If a name is not specified then the system will\ngenerate a random unique name that will be returned\n(\\[name\\]\\[google.cloud.scheduler.v1.Job.name\\]) in the response.\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. The location name. For example:\n`projects/PROJECT_ID/locations/LOCATION_ID`.\n\n### ParentAsLocationName\n\n public LocationName ParentAsLocationName { get; set; }\n\n[LocationName](https://github.com/googleapis/gax-dotnet/blob/83f42b5edc4529818dbdb34d9ea9ecc3c04f7b6e/Google.Api.Gax/ResourceNames/LocationName.cs)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.Scheduler.V1/latest/Google.Cloud.Scheduler.V1.CreateJobRequest#Google_Cloud_Scheduler_V1_CreateJobRequest_Parent) resource name property."]]