class Google::Apis::CloudbuildV1::Artifacts

Artifacts produced by a build that should be uploaded upon successful completion of all build steps.

Attributes

images[RW]

A list of images to be pushed upon the successful completion of all build steps. The images will be pushed using the builder service account's credentials. The digests of the pushed images will be stored in the Build resource's results field. If any of the images fail to be pushed, the build is marked FAILURE. Corresponds to the JSON property `images` @return [Array<String>]

objects[RW]

Files in the workspace to upload to Cloud Storage upon successful completion of all build steps. Corresponds to the JSON property `objects` @return [Google::Apis::CloudbuildV1::ArtifactObjects]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudbuild_v1/classes.rb, line 196
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudbuild_v1/classes.rb, line 201
def update!(**args)
  @images = args[:images] if args.key?(:images)
  @objects = args[:objects] if args.key?(:objects)
end