Class: Google::Apis::CloudbuildV1::ArtifactResult
- Inherits:
-
Object
- Object
- Google::Apis::CloudbuildV1::ArtifactResult
- Defined in:
- generated/google/apis/cloudbuild_v1/classes.rb,
generated/google/apis/cloudbuild_v1/representations.rb,
generated/google/apis/cloudbuild_v1/representations.rb
Overview
An artifact that was uploaded during a build. This is a single record in the artifact manifest JSON file.
Instance Attribute Summary collapse
-
#file_hash ⇒ Array<Google::Apis::CloudbuildV1::FileHashes>
The file hash of the artifact.
-
#location ⇒ String
The path of an artifact in a Google Cloud Storage bucket, with the generation number.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ArtifactResult
constructor
A new instance of ArtifactResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ ArtifactResult
Returns a new instance of ArtifactResult
79 80 81 |
# File 'generated/google/apis/cloudbuild_v1/classes.rb', line 79 def initialize(**args) update!(**args) end |
Instance Attribute Details
#file_hash ⇒ Array<Google::Apis::CloudbuildV1::FileHashes>
The file hash of the artifact.
Corresponds to the JSON property fileHash
70 71 72 |
# File 'generated/google/apis/cloudbuild_v1/classes.rb', line 70 def file_hash @file_hash end |
#location ⇒ String
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
77 78 79 |
# File 'generated/google/apis/cloudbuild_v1/classes.rb', line 77 def location @location end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
84 85 86 87 |
# File 'generated/google/apis/cloudbuild_v1/classes.rb', line 84 def update!(**args) @file_hash = args[:file_hash] if args.key?(:file_hash) @location = args[:location] if args.key?(:location) end |