Class: Grafeas::V1::Artifact

Inherits:
Object
  • Object
show all
Extended by:
Google::Protobuf::MessageExts::ClassMethods
Includes:
Google::Protobuf::MessageExts
Defined in:
proto_docs/grafeas/v1/provenance.rb

Overview

Artifact describes a build product.

Instance Attribute Summary collapse

Instance Attribute Details

#checksum::String

Returns Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container.

Returns:

  • (::String)

    Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container.



183
184
185
186
# File 'proto_docs/grafeas/v1/provenance.rb', line 183

class Artifact
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#id::String

Returns Artifact ID, if any; for container images, this will be a URL by digest like gcr.io/projectID/imagename@sha256:123456.

Returns:

  • (::String)

    Artifact ID, if any; for container images, this will be a URL by digest like gcr.io/projectID/imagename@sha256:123456.



183
184
185
186
# File 'proto_docs/grafeas/v1/provenance.rb', line 183

class Artifact
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#names::Array<::String>

Returns Related artifact names. This may be the path to a binary or jar file, or in the case of a container build, the name used to push the container image to Google Container Registry, as presented to docker push. Note that a single Artifact ID can have multiple names, for example if two tags are applied to one image.

Returns:

  • (::Array<::String>)

    Related artifact names. This may be the path to a binary or jar file, or in the case of a container build, the name used to push the container image to Google Container Registry, as presented to docker push. Note that a single Artifact ID can have multiple names, for example if two tags are applied to one image.



183
184
185
186
# File 'proto_docs/grafeas/v1/provenance.rb', line 183

class Artifact
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end