Class: Google::Apis::RunV1alpha1::CloudStorageSourceStatus

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

CloudStorageSourceStatus represents the current state of a CloudStorageSource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloudStorageSourceStatus

Returns a new instance of CloudStorageSourceStatus.



859
860
861
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 859

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

Instance Attribute Details

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

Array of observed CloudStorageSourceConditions, indicating the current state of the CloudStorageSource. Corresponds to the JSON property conditions



846
847
848
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 846

def conditions
  @conditions
end

#observed_generationFixnum

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

Returns:

  • (Fixnum)


852
853
854
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 852

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)


857
858
859
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 857

def sink_uri
  @sink_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



864
865
866
867
868
# File 'generated/google/apis/run_v1alpha1/classes.rb', line 864

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