Class: Google::Apis::CloudbuildV2::PipelineResult

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

A value produced by a Pipeline.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#descriptionString

Output only. Description of the result. Corresponds to the JSON property description

Returns:

  • (String)


1620
1621
1622
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 1620

def description
  @description
end

#nameString

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

Returns:

  • (String)


1625
1626
1627
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 1625

def name
  @name
end

#typeString

Output only. The type of data that the result holds. Corresponds to the JSON property type

Returns:

  • (String)


1630
1631
1632
# File 'lib/google/apis/cloudbuild_v2/classes.rb', line 1630

def type
  @type
end

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