class Google::Apis::CloudbuildV1alpha1::ArtifactResult
An artifact that was uploaded during a build. This is a single record in the artifact manifest JSON file.
Attributes
file_hash[RW]
The file hash of the artifact. Corresponds to the JSON property `fileHash` @return [Array<Google::Apis::CloudbuildV1alpha1::FileHashes>]
location[RW]
The path of an artifact in a Google
Cloud Storage bucket, with the generation number. For example, `gs://mybucket/path/to/output.jar#generation`. Corresponds to the JSON property `location` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/cloudbuild_v1alpha1/classes.rb, line 145 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 150 def update!(**args) @file_hash = args[:file_hash] if args.key?(:file_hash) @location = args[:location] if args.key?(:location) end