class Google::Apis::RunV1alpha1::JobCondition
JobCondition
defines a readiness condition for a Revision.
Attributes
Optional. Last time the condition transitioned from one status to another. Corresponds to the JSON property `lastTransitionTime` @return [String]
Optional. Human readable message indicating details about the current status. Corresponds to the JSON property `message` @return [String]
Optional. One-word CamelCase reason for the condition's last transition. Corresponds to the JSON property `reason` @return [String]
Optional. How to interpret failures of this condition, one of Error, Warning, Info Corresponds to the JSON property `severity` @return [String]
Required. Status of the condition, one of True, False, Unknown. Corresponds to the JSON property `status` @return [String]
Required. Type is used to communicate the status of the reconciliation process. See also: github.com/knative/serving/blob/main/docs/spec/errors.md# error-conditions-and-reporting Types include: * “Completed”: True when the Job
has successfully completed. * “Started”: True when the Job
has successfully started running. * “ResourcesAvailable”: True when underlying resources have been provisioned. Corresponds to the JSON property `type` @return [String]
Public Class Methods
# File lib/google/apis/run_v1alpha1/classes.rb, line 786 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/run_v1alpha1/classes.rb, line 791 def update!(**args) @last_transition_time = args[:last_transition_time] if args.key?(:last_transition_time) @message = args[:message] if args.key?(:message) @reason = args[:reason] if args.key?(:reason) @severity = args[:severity] if args.key?(:severity) @status = args[:status] if args.key?(:status) @type = args[:type] if args.key?(:type) end