Reference documentation and code samples for the Cloud Build V1 API class Google::Cloud::Build::V1::ArtifactResult.
An artifact that was uploaded during a build. This is a single record in the artifact manifest JSON file.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#file_hash
def file_hash() -> ::Array<::Google::Cloud::Build::V1::FileHashes>
Returns
- (::Array<::Google::Cloud::Build::V1::FileHashes>) — The file hash of the artifact.
#file_hash=
def file_hash=(value) -> ::Array<::Google::Cloud::Build::V1::FileHashes>
Parameter
- value (::Array<::Google::Cloud::Build::V1::FileHashes>) — The file hash of the artifact.
Returns
- (::Array<::Google::Cloud::Build::V1::FileHashes>) — The file hash of the artifact.
#location
def location() -> ::String
Returns
-
(::String) — The path of an artifact in a Cloud Storage bucket, with the
generation number. For example,
gs://mybucket/path/to/output.jar#generation
.
#location=
def location=(value) -> ::String
Parameter
-
value (::String) — The path of an artifact in a Cloud Storage bucket, with the
generation number. For example,
gs://mybucket/path/to/output.jar#generation
.
Returns
-
(::String) — The path of an artifact in a Cloud Storage bucket, with the
generation number. For example,
gs://mybucket/path/to/output.jar#generation
.