class Google::Apis::CloudbuildV1alpha1::ArtifactObjects

Files in the workspace to upload to Cloud Storage upon successful completion of all build steps.

Attributes

location[RW]

Cloud Storage bucket and optional object path, in the form “gs://bucket/path/ to/somewhere/”. (see [Bucket Name Requirements](cloud.google.com/ storage/docs/bucket-naming#requirements)). Files in the workspace matching any path pattern will be uploaded to Cloud Storage with this location as a prefix. Corresponds to the JSON property `location` @return [String]

paths[RW]

Path globs used to match files in the build's workspace. Corresponds to the JSON property `paths` @return [Array<String>]

timing[RW]

Start and end times for a build execution phase. Corresponds to the JSON property `timing` @return [Google::Apis::CloudbuildV1alpha1::TimeSpan]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudbuild_v1alpha1/classes.rb, line 117
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_v1alpha1/classes.rb, line 122
def update!(**args)
  @location = args[:location] if args.key?(:location)
  @paths = args[:paths] if args.key?(:paths)
  @timing = args[:timing] if args.key?(:timing)
end