Class: Google::Apis::RunV1alpha1::RouteCondition
- Inherits:
-
Object
- Object
- Google::Apis::RunV1alpha1::RouteCondition
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/run_v1alpha1/classes.rb,
generated/google/apis/run_v1alpha1/representations.rb,
generated/google/apis/run_v1alpha1/representations.rb
Overview
RouteCondition defines a readiness condition for a Route.
Instance Attribute Summary collapse
-
#last_transition_time ⇒ String
Last time the condition transitioned from one status to another.
-
#message ⇒ String
Human-readable message indicating details about last transition.
-
#reason ⇒ String
One-word CamelCase reason for the condition's last transition.
-
#status ⇒ String
Status of the condition, one of "True", "False", "Unknown".
-
#type ⇒ String
RouteConditionType is used to communicate the status of the reconciliation process.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RouteCondition
constructor
A new instance of RouteCondition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ RouteCondition
Returns a new instance of RouteCondition
2576 2577 2578 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 2576 def initialize(**args) update!(**args) end |
Instance Attribute Details
#last_transition_time ⇒ String
Last time the condition transitioned from one status to another.
+optional
Corresponds to the JSON property lastTransitionTime
2548 2549 2550 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 2548 def last_transition_time @last_transition_time end |
#message ⇒ String
Human-readable message indicating details about last transition.
+optional
Corresponds to the JSON property message
2554 2555 2556 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 2554 def @message end |
#reason ⇒ String
One-word CamelCase reason for the condition's last transition.
+optional
Corresponds to the JSON property reason
2560 2561 2562 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 2560 def reason @reason end |
#status ⇒ String
Status of the condition, one of "True", "False", "Unknown".
Corresponds to the JSON property status
2565 2566 2567 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 2565 def status @status end |
#type ⇒ String
RouteConditionType is used to communicate the status of the reconciliation
process. See also:
https://github.com/knative/serving/blob/master/docs/spec/errors.md#error-
conditions-and-reporting
Types include: "Ready".
Corresponds to the JSON property type
2574 2575 2576 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 2574 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2581 2582 2583 2584 2585 2586 2587 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 2581 def update!(**args) @last_transition_time = args[:last_transition_time] if args.key?(:last_transition_time) @message = args[:message] if args.key?(:message) @reason = args[:reason] if args.key?(:reason) @status = args[:status] if args.key?(:status) @type = args[:type] if args.key?(:type) end |