Cloud Run Admin v2 API - Class Condition (2.6.0)

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

Reference documentation and code samples for the Cloud Run Admin v2 API class Condition.

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
ConditionTypesExecutionReason

HasExecutionReason

public bool HasExecutionReason { get; }

Gets whether the "execution_reason" field is set

Property Value
TypeDescription
bool

HasReason

public bool HasReason { get; }

Gets whether the "reason" field is set

Property Value
TypeDescription
bool

HasRevisionReason

public bool HasRevisionReason { get; }

Gets whether the "revision_reason" field is set

Property Value
TypeDescription
bool

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
ConditionTypesCommonReason

ReasonsCase

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

RevisionReason

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

A reason for the revision condition.

Property Value
TypeDescription
ConditionTypesRevisionReason

Severity

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

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

Property Value
TypeDescription
ConditionTypesSeverity

State

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

State of the condition.

Property Value
TypeDescription
ConditionTypesState

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