Cloud Run Admin v2 API - Class CreateJobRequest (2.7.0)

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.

Inheritance

object > CreateJobRequest

Namespace

Google.Cloud.Run.V2

Assembly

Google.Cloud.Run.V2.dll

Constructors

CreateJobRequest()

public CreateJobRequest()

CreateJobRequest(CreateJobRequest)

public CreateJobRequest(CreateJobRequest other)
Parameter
NameDescription
otherCreateJobRequest

Properties

Job

public Job Job { get; set; }

Required. The Job instance to create.

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
string

ParentAsLocationName

public LocationName ParentAsLocationName { get; set; }

LocationName-typed view over the Parent resource name property.

Property Value
TypeDescription
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
TypeDescription
bool