class Google::Apis::RunV1::GoogleCloudRunV1Condition

Condition defines a generic condition for a Resource

Attributes

last_transition_time[RW]

Optional. Last time the condition transitioned from one status to another. Corresponds to the JSON property `lastTransitionTime` @return [String]

message[RW]

Optional. Human readable message indicating details about the current status. Corresponds to the JSON property `message` @return [String]

reason[RW]

Optional. One-word CamelCase reason for the condition's last transition. Corresponds to the JSON property `reason` @return [String]

severity[RW]

Optional. How to interpret failures of this condition, one of Error, Warning, Info Corresponds to the JSON property `severity` @return [String]

status[RW]

Status of the condition, one of True, False, Unknown. Corresponds to the JSON property `status` @return [String]

type[RW]

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

new(**args) click to toggle source
# File lib/google/apis/run_v1/classes.rb, line 994
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/run_v1/classes.rb, line 999
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