class Google::Apis::RunV2::GoogleCloudRunV2Condition
Defines a status condition for a resource.
Attributes
A reason for the domain mapping condition. Corresponds to the JSON property ‘domainMappingReason` @return [String]
A reason for the execution condition. Corresponds to the JSON property ‘executionReason` @return [String]
A reason for the internal condition. Corresponds to the JSON property ‘internalReason` @return [String]
Last time the condition transitioned from one status to another. Corresponds to the JSON property ‘lastTransitionTime` @return [String]
Human readable message indicating details about the current status. Corresponds to the JSON property ‘message` @return [String]
A common (service-level) reason for this condition. Corresponds to the JSON property ‘reason` @return [String]
A reason for the revision condition. Corresponds to the JSON property ‘revisionReason` @return [String]
How to interpret failures of this condition, one of Error, Warning, Info Corresponds to the JSON property ‘severity` @return [String]
State of the condition. Corresponds to the JSON property ‘state` @return [String]
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 common to all resources include: * “Ready”: True when the Resource is ready. Corresponds to the JSON property ‘type` @return [String]
Public Class Methods
# File lib/google/apis/run_v2/classes.rb, line 141 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/run_v2/classes.rb, line 146 def update!(**args) @domain_mapping_reason = args[:domain_mapping_reason] if args.key?(:domain_mapping_reason) @execution_reason = args[:execution_reason] if args.key?(:execution_reason) @internal_reason = args[:internal_reason] if args.key?(:internal_reason) @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) @revision_reason = args[:revision_reason] if args.key?(:revision_reason) @severity = args[:severity] if args.key?(:severity) @state = args[:state] if args.key?(:state) @type = args[:type] if args.key?(:type) end