Class: Google::Apis::RunV1alpha1::TriggerCondition
- Inherits:
-
Object
- Object
- Google::Apis::RunV1alpha1::TriggerCondition
- 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
TriggerCondition contains state information for an Trigger.
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 the current status.
-
#reason ⇒ String
One-word CamelCase reason for the condition's current status.
-
#severity ⇒ String
How to interpret failures of this condition, one of Error, Warning, Info +optional Corresponds to the JSON property
severity
. -
#status ⇒ String
Status of the condition, one of True, False, Unknown.
-
#type ⇒ String
Type of Trigger condition.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TriggerCondition
constructor
A new instance of TriggerCondition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TriggerCondition
Returns a new instance of TriggerCondition
4593 4594 4595 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4593 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
4563 4564 4565 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4563 def last_transition_time @last_transition_time end |
#message ⇒ String
Human readable message indicating details about the current status.
+optional
Corresponds to the JSON property message
4569 4570 4571 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4569 def @message end |
#reason ⇒ String
One-word CamelCase reason for the condition's current status.
+optional
Corresponds to the JSON property reason
4575 4576 4577 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4575 def reason @reason end |
#severity ⇒ String
How to interpret failures of this condition, one of Error, Warning, Info
+optional
Corresponds to the JSON property severity
4581 4582 4583 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4581 def severity @severity end |
#status ⇒ String
Status of the condition, one of True, False, Unknown.
Corresponds to the JSON property status
4586 4587 4588 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4586 def status @status end |
#type ⇒ String
Type of Trigger condition.
Corresponds to the JSON property type
4591 4592 4593 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4591 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4598 4599 4600 4601 4602 4603 4604 4605 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4598 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) @severity = args[:severity] if args.key?(:severity) @status = args[:status] if args.key?(:status) @type = args[:type] if args.key?(:type) end |