Class: Google::Apis::RunV1alpha1::TriggerStatus

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ TriggerStatus

Returns a new instance of TriggerStatus



4137
4138
4139
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4137

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#conditionsArray<Google::Apis::RunV1alpha1::TriggerCondition>

Array of observed TriggerConditions, indicating the current state of the Trigger. Corresponds to the JSON property conditions



4124
4125
4126
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4124

def conditions
  @conditions
end

#observed_generationFixnum

ObservedGeneration is the 'Generation' of the Trigger that was last processed by the controller. Corresponds to the JSON property observedGeneration

Returns:

  • (Fixnum)


4130
4131
4132
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4130

def observed_generation
  @observed_generation
end

#subscriber_uriString

SubscriberURI is the resolved URI of the receiver for this Trigger. Corresponds to the JSON property subscriberUri

Returns:

  • (String)


4135
4136
4137
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4135

def subscriber_uri
  @subscriber_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4142
4143
4144
4145
4146
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 4142

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