Reference documentation and code samples for the Grafeas V1 Client class ImageOccurrence.
Details of the derived image portion of the DockerImage relationship. This image would be produced from a Dockerfile with FROM <DockerImage.Basis in attached Note>.
Generated from protobuf message grafeas.v1.ImageOccurrence
Namespace
Grafeas \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ fingerprint
↳ distance
int
Output only. The number of layers by which this image differs from the associated image basis.
↳ layer_info
array< Grafeas\V1\Layer
>
This contains layer-specific metadata, if populated it has length "distance" and is ordered with [distance] being the layer immediately following the base image and [1] being the final layer.
↳ base_resource_url
string
Output only. This contains the base image URL for the derived image occurrence.
getFingerprint
Required. The fingerprint of the derived image.
hasFingerprint
clearFingerprint
setFingerprint
Required. The fingerprint of the derived image.
$this
getDistance
Output only. The number of layers by which this image differs from the associated image basis.
int
setDistance
Output only. The number of layers by which this image differs from the associated image basis.
var
int
$this
getLayerInfo
This contains layer-specific metadata, if populated it has length "distance" and is ordered with [distance] being the layer immediately following the base image and [1] being the final layer.
setLayerInfo
This contains layer-specific metadata, if populated it has length "distance" and is ordered with [distance] being the layer immediately following the base image and [1] being the final layer.
$this
getBaseResourceUrl
Output only. This contains the base image URL for the derived image occurrence.
string
setBaseResourceUrl
Output only. This contains the base image URL for the derived image occurrence.
var
string
$this