NAME

Grafeas::V1::Discovery - Compiled Protocol Buffers messages for grafeas/v1/discovery.proto

SYNOPSIS

use Grafeas::V1::Discovery;

my $msg = Grafeas::V1::Discovery::DiscoveryNote->new({
    analysis_kind => $analysis_kind,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from grafeas/v1/discovery.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::Discovery::DiscoveryNote

A note that indicates a type of analysis a provider would perform. This note exists in a provider's project. A `Discovery` occurrence is created in a consumer's project at the start of analysis.

Inherits from Protobuf::Message.

Accessors

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

    Type: Enum (Grafeas::V1::NoteKind)

    Required. Immutable. The kind of analysis that is handled by this discovery.

Grafeas::V1::Discovery::DiscoveryOccurrence

Provides information about the analysis status of a discovered resource.

Inherits from Protobuf::Message.

Accessors

Enum: DiscoveryOccurrence::ContinuousAnalysis

  • CONTINUOUS_ANALYSIS_UNSPECIFIED => 0

  • ACTIVE => 1

  • INACTIVE => 2

Enum: DiscoveryOccurrence::AnalysisStatus

  • ANALYSIS_STATUS_UNSPECIFIED => 0

  • PENDING => 1

  • SCANNING => 2

  • FINISHED_SUCCESS => 3

  • COMPLETE => 3

  • FINISHED_FAILED => 4

  • FINISHED_UNSUPPORTED => 5

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.