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.
Implements
IMessageCondition, IEquatableCondition, IDeepCloneableCondition, IBufferMessage, IMessageNamespace
Google.Cloud.Run.V2Assembly
Google.Cloud.Run.V2.dll
Constructors
Condition()
public Condition()
Condition(Condition)
public Condition(Condition other)
Parameter | |
---|---|
Name | Description |
other |
Condition |
Properties
ExecutionReason
public Condition.Types.ExecutionReason ExecutionReason { get; set; }
Output only. A reason for the execution condition.
Property Value | |
---|---|
Type | Description |
ConditionTypesExecutionReason |
HasExecutionReason
public bool HasExecutionReason { get; }
Gets whether the "execution_reason" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasReason
public bool HasReason { get; }
Gets whether the "reason" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasRevisionReason
public bool HasRevisionReason { get; }
Gets whether the "revision_reason" field is set
Property Value | |
---|---|
Type | Description |
bool |
LastTransitionTime
public Timestamp LastTransitionTime { get; set; }
Last time the condition transitioned from one status to another.
Property Value | |
---|---|
Type | Description |
Timestamp |
Message
public string Message { get; set; }
Human readable message indicating details about the current status.
Property Value | |
---|---|
Type | Description |
string |
Reason
public Condition.Types.CommonReason Reason { get; set; }
Output only. A common (service-level) reason for this condition.
Property Value | |
---|---|
Type | Description |
ConditionTypesCommonReason |
ReasonsCase
public Condition.ReasonsOneofCase ReasonsCase { get; }
Property Value | |
---|---|
Type | Description |
ConditionReasonsOneofCase |
RevisionReason
public Condition.Types.RevisionReason RevisionReason { get; set; }
Output only. A reason for the revision condition.
Property Value | |
---|---|
Type | Description |
ConditionTypesRevisionReason |
Severity
public Condition.Types.Severity Severity { get; set; }
How to interpret failures of this condition, one of Error, Warning, Info
Property Value | |
---|---|
Type | Description |
ConditionTypesSeverity |
State
public Condition.Types.State State { get; set; }
State of the condition.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
string |