Class: Google::Apis::CloudbuildV2::PipelineRunResult
- Inherits:
-
Object
- Object
- Google::Apis::CloudbuildV2::PipelineRunResult
- 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
PipelineRunResult used to describe the results of a pipeline
Instance Attribute Summary collapse
-
#name ⇒ String
Output only.
-
#value ⇒ Google::Apis::CloudbuildV2::ResultValue
ResultValue holds different types of data for a single result.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PipelineRunResult
constructor
A new instance of PipelineRunResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PipelineRunResult
Returns a new instance of PipelineRunResult.
1861 1862 1863 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 1861 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
Output only. Name of the TaskRun
Corresponds to the JSON property name
1854 1855 1856 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 1854 def name @name end |
#value ⇒ Google::Apis::CloudbuildV2::ResultValue
ResultValue holds different types of data for a single result.
Corresponds to the JSON property value
1859 1860 1861 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 1859 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1866 1867 1868 1869 |
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 1866 def update!(**args) @name = args[:name] if args.key?(:name) @value = args[:value] if args.key?(:value) end |