Reference documentation and code samples for the Google Cloud Run V2 Client class Condition.
Defines a status condition for a resource.
Generated from protobuf message google.cloud.run.v2.Condition
Namespace
Google \ Cloud \ Run \ V2Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ type
string
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
int
State of the condition.
↳ message
string
Human readable message indicating details about the current status.
↳ last_transition_time
↳ severity
int
How to interpret failures of this condition, one of Error, Warning, Info
↳ reason
int
A common (service-level) reason for this condition.
↳ revision_reason
int
A reason for the revision condition.
↳ execution_reason
int
A reason for the execution condition.
getType
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.
string
setType
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.
var
string
$this
getState
State of the condition.
int
setState
State of the condition.
var
int
$this
getMessage
Human readable message indicating details about the current status.
string
setMessage
Human readable message indicating details about the current status.
var
string
$this
getLastTransitionTime
Last time the condition transitioned from one status to another.
hasLastTransitionTime
clearLastTransitionTime
setLastTransitionTime
Last time the condition transitioned from one status to another.
$this
getSeverity
How to interpret failures of this condition, one of Error, Warning, Info
int
setSeverity
How to interpret failures of this condition, one of Error, Warning, Info
var
int
$this
getReason
A common (service-level) reason for this condition.
int
hasReason
setReason
A common (service-level) reason for this condition.
var
int
$this
getRevisionReason
A reason for the revision condition.
int
hasRevisionReason
setRevisionReason
A reason for the revision condition.
var
int
$this
getExecutionReason
A reason for the execution condition.
int
hasExecutionReason
setExecutionReason
A reason for the execution condition.
var
int
$this
getReasons
string