Class: Google::Apis::CloudbuildV1::Results

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/cloudbuild_v1/classes.rb,
generated/google/apis/cloudbuild_v1/representations.rb,
generated/google/apis/cloudbuild_v1/representations.rb

Overview

Results describes the artifacts created by the build pipeline.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Results

Returns a new instance of Results



155
156
157
# File 'generated/google/apis/cloudbuild_v1/classes.rb', line 155

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

Instance Attribute Details

#build_step_imagesArray<String>

List of build step digests, in order corresponding to build step indices. Corresponds to the JSON property buildStepImages

Returns:

  • (Array<String>)


148
149
150
# File 'generated/google/apis/cloudbuild_v1/classes.rb', line 148

def build_step_images
  @build_step_images
end

#imagesArray<Google::Apis::CloudbuildV1::BuiltImage>

Images that were built as a part of the build. Corresponds to the JSON property images



153
154
155
# File 'generated/google/apis/cloudbuild_v1/classes.rb', line 153

def images
  @images
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



160
161
162
163
# File 'generated/google/apis/cloudbuild_v1/classes.rb', line 160

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