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.



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

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

Instance Attribute Details

#nameString

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

Returns:

  • (String)


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

def name
  @name
end

#valueGoogle::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