Class: Google::Apis::RunV1alpha1::CloudSchedulerSourceStatus

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

CloudSchedulerSourceStatus represents the current state of a CloudSchedulerSource.

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) ⇒ CloudSchedulerSourceStatus

Returns a new instance of CloudSchedulerSourceStatus.



775
776
777
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 775

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

Instance Attribute Details

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

Array of observed CloudSchedulerSourceConditions, indicating the current state of the CloudSchedulerSource. Corresponds to the JSON property conditions



761
762
763
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 761

def conditions
  @conditions
end

#observed_generationFixnum

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

Returns:

  • (Fixnum)


767
768
769
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 767

def observed_generation
  @observed_generation
end

#sink_uriString

SinkURI is the current active sink URI that has been configured for the Source. Corresponds to the JSON property sinkUri

Returns:

  • (String)


773
774
775
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 773

def sink_uri
  @sink_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



780
781
782
783
784
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 780

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