NAME

Grafeas::V1::Image - Compiled Protocol Buffers messages for grafeas/v1/image.proto

SYNOPSIS

use Grafeas::V1::Image;

my $msg = Grafeas::V1::Image::Layer->new({
    directive => $directive,
    arguments => $arguments,
});

# Read or update a field
my $val = $msg->directive();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Grafeas::V1::Image::Layer->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from grafeas/v1/image.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Grafeas::V1::Image::Layer

Layer holds metadata specific to a layer of a Docker image.

Inherits from Protobuf::Message.

Accessors

  • $msg->directive() / $msg->directive($value)

    Type: String

    Required. The recovered Dockerfile directive used to construct this layer. See https://docs.docker.com/engine/reference/builder/ for more information.

  • $msg->arguments() / $msg->arguments($value)

    Type: String

    The recovered arguments to the Dockerfile directive.

Grafeas::V1::Image::Fingerprint

A set of properties that uniquely identify a given Docker image.

Inherits from Protobuf::Message.

Accessors

  • $msg->v1_name() / $msg->v1_name($value)

    Type: String

    Required. The layer ID of the final layer in the Docker image's v1 representation.

  • $msg->v2_blob() / $msg->v2_blob($value)

    Type: String

    Required. The ordered list of v2 blobs that represent a given image.

  • $msg->v2_name() / $msg->v2_name($value)

    Type: String

    Output only. The name of the image's v2 blobs computed via: [bottom] := v2_blob[bottom] [N] := sha256(v2_blob[N] + " " + v2_name[N+1]) Only the name of the final blob is kept.

Grafeas::V1::Image::ImageNote

Basis describes the base image portion (Note) of the DockerImage relationship. Linked occurrences are derived from this or an equivalent image via: FROM <Basis.resource_url> Or an equivalent reference, e.g., a tag of the resource_url.

Inherits from Protobuf::Message.

Accessors

  • $msg->resource_url() / $msg->resource_url($value)

    Type: String

    Required. Immutable. The resource_url for the resource representing the basis of associated occurrence images.

  • $msg->fingerprint() / $msg->fingerprint($value)

    Type: Message (Grafeas::V1::Image::Fingerprint)

    Required. Immutable. The fingerprint of the base image.

Grafeas::V1::Image::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>.

Inherits from Protobuf::Message.

Accessors

  • $msg->fingerprint() / $msg->fingerprint($value)

    Type: Message (Grafeas::V1::Image::Fingerprint)

    Required. The fingerprint of the derived image.

  • $msg->distance() / $msg->distance($value)

    Type: Int32

    Output only. The number of layers by which this image differs from the associated image basis.

  • $msg->layer_info() / $msg->layer_info($value)

    Type: Message (Grafeas::V1::Image::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.

  • $msg->base_resource_url() / $msg->base_resource_url($value)

    Type: String

    Output only. This contains the base image URL for the derived image occurrence.

SEE ALSO

Protobuf, Protobuf::Message, Grafeas::V1::Image::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.