Condition(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Defines a status condition for a resource.
This message has oneof
_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes | |
---|---|
Name | Description |
type_ |
str
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. |
state |
google.cloud.run_v2.types.Condition.State
State of the condition. |
message |
str
Human readable message indicating details about the current status. |
last_transition_time |
google.protobuf.timestamp_pb2.Timestamp
Last time the condition transitioned from one status to another. |
severity |
google.cloud.run_v2.types.Condition.Severity
How to interpret failures of this condition, one of Error, Warning, Info |
reason |
google.cloud.run_v2.types.Condition.CommonReason
A common (service-level) reason for this condition. This field is a member of oneof _ reasons .
|
internal_reason |
google.cloud.run_v2.types.Condition.InternalReason
A reason for the internal condition. This field is a member of oneof _ reasons .
|
domain_mapping_reason |
google.cloud.run_v2.types.Condition.DomainMappingReason
A reason for the domain mapping condition. This field is a member of oneof _ reasons .
|
revision_reason |
google.cloud.run_v2.types.Condition.RevisionReason
A reason for the revision condition. This field is a member of oneof _ reasons .
|
execution_reason |
google.cloud.run_v2.types.Condition.ExecutionReason
A reason for the execution condition. This field is a member of oneof _ reasons .
|
Classes
CommonReason
CommonReason(value)
Reasons common to all types of conditions.
DomainMappingReason
DomainMappingReason(value)
Reasons specific to DomainMapping resource.
ExecutionReason
ExecutionReason(value)
Reasons specific to Execution resource.
InternalReason
InternalReason(value)
Reasons applicable to internal resources not exposed to users. These will surface in Service.conditions, and could be useful for further diagnosis.
RevisionReason
RevisionReason(value)
Reasons specific to Revision resource.
Severity
Severity(value)
Represents the severity of the condition failures.
State
State(value)
Represents the possible Condition states.