Class: Google::Apis::RunV1alpha1::CloudStorageSourceStatus
- Inherits:
-
Object
- Object
- Google::Apis::RunV1alpha1::CloudStorageSourceStatus
- 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
CloudStorageSourceStatus represents the current state of a CloudStorageSource.
Instance Attribute Summary collapse
-
#conditions ⇒ Array<Google::Apis::RunV1alpha1::Condition>
Array of observed CloudStorageSourceConditions, indicating the current state of the CloudStorageSource.
-
#observed_generation ⇒ Fixnum
ObservedGeneration is the 'Generation' of the CloudStorageSource 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) ⇒ CloudStorageSourceStatus
constructor
A new instance of CloudStorageSourceStatus.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CloudStorageSourceStatus
Returns a new instance of CloudStorageSourceStatus.
939 940 941 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 939 def initialize(**args) update!(**args) end |
Instance Attribute Details
#conditions ⇒ Array<Google::Apis::RunV1alpha1::Condition>
Array of observed CloudStorageSourceConditions, indicating the current
state of the CloudStorageSource.
Corresponds to the JSON property conditions
925 926 927 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 925 def conditions @conditions end |
#observed_generation ⇒ Fixnum
ObservedGeneration is the 'Generation' of the CloudStorageSource that
was last processed by the controller.
Corresponds to the JSON property observedGeneration
931 932 933 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 931 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
937 938 939 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 937 def sink_uri @sink_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
944 945 946 947 948 |
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 944 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 |