Class: Google::Apis::RunV1alpha1::TriggerStatus
- Inherits:
-
Object
- Object
- Google::Apis::RunV1alpha1::TriggerStatus
- 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
TriggerStatus represents the current state of a Trigger.
Instance Attribute Summary collapse
-
#conditions ⇒ Array<Google::Apis::RunV1alpha1::TriggerCondition>
Array of observed TriggerConditions, indicating the current state of the Trigger.
-
#observed_generation ⇒ Fixnum
ObservedGeneration is the 'Generation' of the Trigger that was last processed by the controller.
-
#subscriber_uri ⇒ String
SubscriberURI is the resolved URI of the receiver for this Trigger.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TriggerStatus
constructor
A new instance of TriggerStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TriggerStatus
Returns a new instance of TriggerStatus.
4931 4932 4933 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4931 def initialize(**args) update!(**args) end |
Instance Attribute Details
#conditions ⇒ Array<Google::Apis::RunV1alpha1::TriggerCondition>
Array of observed TriggerConditions, indicating the current state
of the Trigger.
Corresponds to the JSON property conditions
4918 4919 4920 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4918 def conditions @conditions end |
#observed_generation ⇒ Fixnum
ObservedGeneration is the 'Generation' of the Trigger that
was last processed by the controller.
Corresponds to the JSON property observedGeneration
4924 4925 4926 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4924 def observed_generation @observed_generation end |
#subscriber_uri ⇒ String
SubscriberURI is the resolved URI of the receiver for this Trigger.
Corresponds to the JSON property subscriberUri
4929 4930 4931 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4929 def subscriber_uri @subscriber_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4936 4937 4938 4939 4940 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4936 def update!(**args) @conditions = args[:conditions] if args.key?(:conditions) @observed_generation = args[:observed_generation] if args.key?(:observed_generation) @subscriber_uri = args[:subscriber_uri] if args.key?(:subscriber_uri) end |