Class: Google::Apis::RunV1alpha1::PubSubStatus
- Inherits:
-
Object
- Object
- Google::Apis::RunV1alpha1::PubSubStatus
- 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
PubSubStatus represents the current state of a PubSub.
Instance Attribute Summary collapse
-
#conditions ⇒ Array<Google::Apis::RunV1alpha1::Condition>
Array of observed PubSubConditions, indicating the current state of the PubSub.
-
#observed_generation ⇒ Fixnum
ObservedGeneration is the 'Generation' of the PubSub that was last processed by the controller.
-
#sink_uri ⇒ String
SinkURI is the current active sink URI that has been configured for the Source.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PubSubStatus
constructor
A new instance of PubSubStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ PubSubStatus
Returns a new instance of PubSubStatus
2984 2985 2986 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 2984 def initialize(**args) update!(**args) end |
Instance Attribute Details
#conditions ⇒ Array<Google::Apis::RunV1alpha1::Condition>
Array of observed PubSubConditions, indicating the current state
of the PubSub.
Corresponds to the JSON property conditions
2969 2970 2971 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 2969 def conditions @conditions end |
#observed_generation ⇒ Fixnum
ObservedGeneration is the 'Generation' of the PubSub that
was last processed by the controller.
Corresponds to the JSON property observedGeneration
2975 2976 2977 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 2975 def observed_generation @observed_generation end |
#sink_uri ⇒ String
SinkURI is the current active sink URI that has been configured for the
Source.
+optional
Corresponds to the JSON property sinkUri
2982 2983 2984 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 2982 def sink_uri @sink_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2989 2990 2991 2992 2993 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 2989 def update!(**args) @conditions = args[:conditions] if args.key?(:conditions) @observed_generation = args[:observed_generation] if args.key?(:observed_generation) @sink_uri = args[:sink_uri] if args.key?(:sink_uri) end |