Class: Google::Apis::CloudbuildV2::PipelineResult
- Inherits:
-
Object
- Object
- Google::Apis::CloudbuildV2::PipelineResult
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudbuild_v2/classes.rb,
lib/google/apis/cloudbuild_v2/representations.rb,
lib/google/apis/cloudbuild_v2/representations.rb
Overview
A value produced by a Pipeline.
Instance Attribute Summary collapse
-
#description ⇒ String
Output only.
-
#name ⇒ String
Output only.
-
#type ⇒ String
Output only.
-
#value ⇒ Google::Apis::CloudbuildV2::ResultValue
ResultValue holds different types of data for a single result.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PipelineResult
constructor
A new instance of PipelineResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PipelineResult
Returns a new instance of PipelineResult.
1637 1638 1639 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 1637 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Output only. Description of the result.
Corresponds to the JSON property description
1620 1621 1622 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 1620 def description @description end |
#name ⇒ String
Output only. Name of the result.
Corresponds to the JSON property name
1625 1626 1627 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 1625 def name @name end |
#type ⇒ String
Output only. The type of data that the result holds.
Corresponds to the JSON property type
1630 1631 1632 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 1630 def type @type end |
#value ⇒ Google::Apis::CloudbuildV2::ResultValue
ResultValue holds different types of data for a single result.
Corresponds to the JSON property value
1635 1636 1637 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 1635 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1642 1643 1644 1645 1646 1647 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 1642 def update!(**args) @description = args[:description] if args.key?(:description) @name = args[:name] if args.key?(:name) @type = args[:type] if args.key?(:type) @value = args[:value] if args.key?(:value) end |