Class: Google::Apis::RunV1alpha1::CloudPubSubSourceStatus
- Inherits:
-
Object
- Object
- Google::Apis::RunV1alpha1::CloudPubSubSourceStatus
- 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
CloudPubSubSourceStatus represents the current state of a CloudPubSubSource.
Instance Attribute Summary collapse
-
#conditions ⇒ Array<Google::Apis::RunV1alpha1::Condition>
Array of observed CloudPubSubSourceConditions, indicating the current state of the CloudPubSubSource.
-
#observed_generation ⇒ Fixnum
ObservedGeneration is the 'Generation' of the CloudPubSubSource 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) ⇒ CloudPubSubSourceStatus
constructor
A new instance of CloudPubSubSourceStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloudPubSubSourceStatus
Returns a new instance of CloudPubSubSourceStatus.
556 557 558 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 556 def initialize(**args) update!(**args) end |
Instance Attribute Details
#conditions ⇒ Array<Google::Apis::RunV1alpha1::Condition>
Array of observed CloudPubSubSourceConditions, indicating the current state of
the CloudPubSubSource.
Corresponds to the JSON property conditions
542 543 544 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 542 def conditions @conditions end |
#observed_generation ⇒ Fixnum
ObservedGeneration is the 'Generation' of the CloudPubSubSource that was last
processed by the controller.
Corresponds to the JSON property observedGeneration
548 549 550 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 548 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
554 555 556 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 554 def sink_uri @sink_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
561 562 563 564 565 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 561 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 |