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
$msg->continuous_analysis()/$msg->continuous_analysis($value)Type:
Enum(Grafeas::V1::DiscoveryOccurrence::ContinuousAnalysis)Whether the resource is continuously analyzed.
$msg->analysis_status()/$msg->analysis_status($value)Type:
Enum(Grafeas::V1::DiscoveryOccurrence::AnalysisStatus)The status of discovery for the resource.
$msg->analysis_completed()/$msg->analysis_completed($value)Type:
Message(Grafeas::V1::Discovery::DiscoveryOccurrence::AnalysisCompleted)$msg->analysis_error()/$msg->analysis_error($value)Type:
Message(Google::Rpc::Status::Status)Indicates any errors encountered during analysis of a resource. There could be 0 or more of these errors.
$msg->analysis_status_error()/$msg->analysis_status_error($value)Type:
Message(Google::Rpc::Status::Status)When an error is encountered this will contain a LocalizedMessage under details to show to the user. The LocalizedMessage is output only and populated by the API.
$msg->cpe()/$msg->cpe($value)Type:
StringThe CPE of the resource being scanned.
$msg->last_scan_time()/$msg->last_scan_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The last time this resource was scanned.
$msg->archive_time()/$msg->archive_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The time occurrences related to this discovery occurrence were archived.
$msg->sbom_status()/$msg->sbom_status($value)Type:
Message(Grafeas::V1::Discovery::DiscoveryOccurrence::SBOMStatus)The status of an SBOM generation.
$msg->vulnerability_attestation()/$msg->vulnerability_attestation($value)Type:
Message(Grafeas::V1::Discovery::DiscoveryOccurrence::VulnerabilityAttestation)The status of an vulnerability attestation generation.
$msg->files()/$msg->files($value)Type:
Message(Grafeas::V1::Discovery::DiscoveryOccurrence::File)Files that make up the resource described by the occurrence.
$msg->last_vulnerability_update_time()/$msg->last_vulnerability_update_time($value)Type:
Message(Google::Protobuf::Timestamp::Timestamp)The last time vulnerability scan results changed.
Enum: DiscoveryOccurrence::ContinuousAnalysis
CONTINUOUS_ANALYSIS_UNSPECIFIED=>0ACTIVE=>1INACTIVE=>2
Enum: DiscoveryOccurrence::AnalysisStatus
ANALYSIS_STATUS_UNSPECIFIED=>0PENDING=>1SCANNING=>2FINISHED_SUCCESS=>3COMPLETE=>3FINISHED_FAILED=>4FINISHED_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.