Show / Hide Table of Contents

Class Job

The Cloud Batch Job description.

Inheritance
object
Job
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Batch.v1.Data
Assembly: Google.Apis.Batch.v1.dll
Syntax
public class Job : IDirectResponseSchema

Properties

AllocationPolicy

Compute resource allocation for all TaskGroups in the Job.

Declaration
[JsonProperty("allocationPolicy")]
public virtual AllocationPolicy AllocationPolicy { get; set; }
Property Value
Type Description
AllocationPolicy

CreateTime

object representation of CreateTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type Description
object

CreateTimeDateTimeOffset

DateTimeOffset representation of CreateTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

CreateTimeRaw

Output only. When the Job was created.

Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

Labels

Custom labels to apply to the job and any Cloud Logging LogEntry that it generates. Use labels to group and describe the resources they are applied to. Batch automatically applies predefined labels and supports multiple labels fields for each job, which each let you apply custom labels to various resources. Label names that start with "goog-" or "google-" are reserved for predefined labels. For more information about labels with Batch, see Organize resources using labels.

Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
Type Description
IDictionary<string, string>

LogsPolicy

Log preservation policy for the Job.

Declaration
[JsonProperty("logsPolicy")]
public virtual LogsPolicy LogsPolicy { get; set; }
Property Value
Type Description
LogsPolicy

Name

Output only. Job name. For example: "projects/123456/locations/us-central1/jobs/job01".

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

Notifications

Notification configurations.

Declaration
[JsonProperty("notifications")]
public virtual IList<JobNotification> Notifications { get; set; }
Property Value
Type Description
IList<JobNotification>

Priority

Priority of the Job. The valid value range is [0, 100). Default value is 0. Higher value indicates higher priority. A job with higher priority value is more likely to run earlier if all other requirements are satisfied.

Declaration
[JsonProperty("priority")]
public virtual long? Priority { get; set; }
Property Value
Type Description
long?

Status

Output only. Job status. It is read only for users.

Declaration
[JsonProperty("status")]
public virtual JobStatus Status { get; set; }
Property Value
Type Description
JobStatus

TaskGroups

Required. TaskGroups in the Job. Only one TaskGroup is supported now.

Declaration
[JsonProperty("taskGroups")]
public virtual IList<TaskGroup> TaskGroups { get; set; }
Property Value
Type Description
IList<TaskGroup>

Uid

Output only. A system generated unique ID for the Job.

Declaration
[JsonProperty("uid")]
public virtual string Uid { get; set; }
Property Value
Type Description
string

UpdateTime

object representation of UpdateTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
Type Description
object

UpdateTimeDateTimeOffset

DateTimeOffset representation of UpdateTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

UpdateTimeRaw

Output only. The last time the Job was updated.

Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX