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.
Request message for creating a Job.
Implements
IMessageCreateJobRequest, IEquatableCreateJobRequest, IDeepCloneableCreateJobRequest, IBufferMessage, IMessageNamespace
GoogleCloudGoogle.Cloud.RunV2Assembly
Google.Cloud.Run.V2.dll
Constructors
CreateJobRequest()
public CreateJobRequest()
CreateJobRequest(CreateJobRequest)
public CreateJobRequest(CreateJobRequest other)
Parameter | |
---|---|
Name | Description |
other | CreateJobRequest |
Properties
Job
public Job Job { get; set; }
Required. The Job instance to create.
Property Value | |
---|---|
Type | Description |
Job |
JobId
public string JobId { get; set; }
Required. The unique identifier for the Job. The name of the job becomes {parent}/jobs/{job_id}.
Property Value | |
---|---|
Type | Description |
string |
Parent
public string Parent { get; set; }
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.
Property Value | |
---|---|
Type | Description |
string |
ParentAsLocationName
public LocationName ParentAsLocationName { get; set; }
LocationName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
LocationName |
ValidateOnly
public bool ValidateOnly { get; set; }
Indicates that the request should be validated and default values populated, without persisting the request or creating any resources.
Property Value | |
---|---|
Type | Description |
bool |