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.



439
440
441
# File 'generated/google/apis/cloudbuild_v1/classes.rb', line 439

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>)


437
438
439
# File 'generated/google/apis/cloudbuild_v1/classes.rb', line 437

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



432
433
434
# File 'generated/google/apis/cloudbuild_v1/classes.rb', line 432

def images
  @images
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



444
445
446
447
# File 'generated/google/apis/cloudbuild_v1/classes.rb', line 444

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