Class: Google::Apis::CloudbuildV2::PipelineRunResult

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PipelineRunResult

Returns a new instance of PipelineRunResult.



1855
1856
1857
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 1855

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

Instance Attribute Details

#nameString

Output only. Name of the TaskRun Corresponds to the JSON property name

Returns:

  • (String)


1848
1849
1850
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 1848

def name
  @name
end

#valueGoogle::Apis::CloudbuildV2::ResultValue

ResultValue holds different types of data for a single result. Corresponds to the JSON property value



1853
1854
1855
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 1853

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1860
1861
1862
1863
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 1860

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