class Google::Apis::RunV1alpha1::JobStatus
Attributes
Optional. The number of actively running instances. +optional Corresponds to the JSON property `active` @return [Fixnum]
Optional. Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. +optional Corresponds to the JSON property `completionTime` @return [String]
Optional. The latest available observations of a job's current state. More info: kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to- completion/ +optional Corresponds to the JSON property `conditions` @return [Array<Google::Apis::RunV1alpha1::JobCondition>]
Optional. The number of instances which reached phase Failed. +optional Corresponds to the JSON property `failed` @return [Fixnum]
Optional. ImageDigest holds the resolved digest for the image specified within .Spec.Template.Spec.Container.Image. The digest is resolved during the creation of the Job
. This field holds the digest value regardless of whether a tag or digest was originally specified in the Container
object. Corresponds to the JSON property `imageDigest` @return [String]
Optional. Status of completed, failed, and running instances. +optional Corresponds to the JSON property `instances` @return [Array<Google::Apis::RunV1alpha1::InstanceStatus>]
Optional. The 'generation' of the job that was last processed by the controller. Corresponds to the JSON property `observedGeneration` @return [Fixnum]
Optional. Represents time when the job was acknowledged by the job controller. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. +optional Corresponds to the JSON property `startTime` @return [String]
Optional. The number of instances which reached phase Succeeded. +optional Corresponds to the JSON property `succeeded` @return [Fixnum]
Public Class Methods
# File lib/google/apis/run_v1alpha1/classes.rb, line 928 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/run_v1alpha1/classes.rb, line 933 def update!(**args) @active = args[:active] if args.key?(:active) @completion_time = args[:completion_time] if args.key?(:completion_time) @conditions = args[:conditions] if args.key?(:conditions) @failed = args[:failed] if args.key?(:failed) @image_digest = args[:image_digest] if args.key?(:image_digest) @instances = args[:instances] if args.key?(:instances) @observed_generation = args[:observed_generation] if args.key?(:observed_generation) @start_time = args[:start_time] if args.key?(:start_time) @succeeded = args[:succeeded] if args.key?(:succeeded) end