Class Condition (1.0.0-beta02)

public sealed class Condition : IMessage<Condition>, IEquatable<Condition>, IDeepCloneable<Condition>, IBufferMessage, IMessage

Defines a status condition for a resource.

Inheritance

Object > Condition

Namespace

Google.Cloud.Run.V2

Assembly

Google.Cloud.Run.V2.dll

Constructors

Condition()

public Condition()

Condition(Condition)

public Condition(Condition other)
Parameter
NameDescription
otherCondition

Properties

ExecutionReason

public Condition.Types.ExecutionReason ExecutionReason { get; set; }

A reason for the execution condition.

Property Value
TypeDescription
Condition.Types.ExecutionReason

LastTransitionTime

public Timestamp LastTransitionTime { get; set; }

Last time the condition transitioned from one status to another.

Property Value
TypeDescription
Timestamp

Message

public string Message { get; set; }

Human readable message indicating details about the current status.

Property Value
TypeDescription
String

Reason

public Condition.Types.CommonReason Reason { get; set; }

A common (service-level) reason for this condition.

Property Value
TypeDescription
Condition.Types.CommonReason

ReasonsCase

public Condition.ReasonsOneofCase ReasonsCase { get; }
Property Value
TypeDescription
Condition.ReasonsOneofCase

RevisionReason

public Condition.Types.RevisionReason RevisionReason { get; set; }

A reason for the revision condition.

Property Value
TypeDescription
Condition.Types.RevisionReason

Severity

public Condition.Types.Severity Severity { get; set; }

How to interpret failures of this condition, one of Error, Warning, Info

Property Value
TypeDescription
Condition.Types.Severity

State

public Condition.Types.State State { get; set; }

State of the condition.

Property Value
TypeDescription
Condition.Types.State

Type

public string Type { get; set; }

type is used to communicate the status of the reconciliation process. See also: https://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.
Property Value
TypeDescription
String