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.


470
471
472
# File 'generated/google/apis/cloudbuild_v1/classes.rb', line 470

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

468
469
470
# File 'generated/google/apis/cloudbuild_v1/classes.rb', line 468

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


463
464
465
# File 'generated/google/apis/cloudbuild_v1/classes.rb', line 463

def images
  @images
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


475
476
477
478
# File 'generated/google/apis/cloudbuild_v1/classes.rb', line 475

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