Class: Google::Apis::ClouddeployV1::TargetsTypeCondition
- Inherits:
-
Object
- Object
- Google::Apis::ClouddeployV1::TargetsTypeCondition
- 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
TargetsTypeCondition contains information on whether the Targets defined in the Delivery Pipeline are of the same type.
Instance Attribute Summary collapse
-
#error_details ⇒ String
Human readable error message.
-
#status ⇒ Boolean
(also: #status?)
True if the targets are all a comparable type.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TargetsTypeCondition
constructor
A new instance of TargetsTypeCondition.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TargetsTypeCondition
Returns a new instance of TargetsTypeCondition.
3621 3622 3623 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3621 def initialize(**args) update!(**args) end |
Instance Attribute Details
#error_details ⇒ String
Human readable error message.
Corresponds to the JSON property errorDetails
3611 3612 3613 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3611 def error_details @error_details end |
#status ⇒ Boolean Also known as: status?
True if the targets are all a comparable type. For example this is true if all
targets are GKE clusters. This is false if some targets are Cloud Run targets
and others are GKE clusters.
Corresponds to the JSON property status
3618 3619 3620 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3618 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3626 3627 3628 3629 |
# File 'lib/google/apis/clouddeploy_v1/classes.rb', line 3626 def update!(**args) @error_details = args[:error_details] if args.key?(:error_details) @status = args[:status] if args.key?(:status) end |