Class: Google::Apis::ClouddeployV1::PipelineReadyCondition

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/clouddeploy_v1/classes.rb,
lib/google/apis/clouddeploy_v1/representations.rb,
lib/google/apis/clouddeploy_v1/representations.rb

Overview

PipelineReadyCondition contains information around the status of the Pipeline.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PipelineReadyCondition

Returns a new instance of PipelineReadyCondition.



2083
2084
2085
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2083

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

Instance Attribute Details

#statusBoolean Also known as: status?

True if the Pipeline is in a valid state. Otherwise at least one condition in PipelineCondition is in an invalid state. Iterate over those conditions and see which condition(s) has status = false to find out what is wrong with the Pipeline. Corresponds to the JSON property status

Returns:

  • (Boolean)


2075
2076
2077
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2075

def status
  @status
end

#update_timeString

Last time the condition was updated. Corresponds to the JSON property updateTime

Returns:

  • (String)


2081
2082
2083
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2081

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2088
2089
2090
2091
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 2088

def update!(**args)
  @status = args[:status] if args.key?(:status)
  @update_time = args[:update_time] if args.key?(:update_time)
end