Class: Google::Apis::RunV1alpha1::CloudSchedulerSourceStatus
- Inherits:
-
Object
- Object
- Google::Apis::RunV1alpha1::CloudSchedulerSourceStatus
- 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
CloudSchedulerSourceStatus represents the current state of a CloudSchedulerSource.
Instance Attribute Summary collapse
-
#conditions ⇒ Array<Google::Apis::RunV1alpha1::Condition>
Array of observed CloudSchedulerSourceConditions, indicating the current state of the CloudSchedulerSource.
-
#observed_generation ⇒ Fixnum
ObservedGeneration is the 'Generation' of the CloudSchedulerSource 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) ⇒ CloudSchedulerSourceStatus
constructor
A new instance of CloudSchedulerSourceStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloudSchedulerSourceStatus
Returns a new instance of CloudSchedulerSourceStatus.
701 702 703 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 701 def initialize(**args) update!(**args) end |
Instance Attribute Details
#conditions ⇒ Array<Google::Apis::RunV1alpha1::Condition>
Array of observed CloudSchedulerSourceConditions, indicating the current state
of the CloudSchedulerSource.
Corresponds to the JSON property conditions
688 689 690 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 688 def conditions @conditions end |
#observed_generation ⇒ Fixnum
ObservedGeneration is the 'Generation' of the CloudSchedulerSource that was
last processed by the controller.
Corresponds to the JSON property observedGeneration
694 695 696 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 694 def observed_generation @observed_generation end |
#sink_uri ⇒ String
SinkURI is the current active sink URI that has been configured for the Source.
Corresponds to the JSON property sinkUri
699 700 701 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 699 def sink_uri @sink_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
706 707 708 709 710 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 706 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 |